{
  "id": "CVE-2025-38485",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-38485",
  "published_at": "2025-07-28T11:21:49.624Z",
  "title": "iio: accel: fxls8962af: Fix use after free in fxls8962af_fifo_flush",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\niio: accel: fxls8962af: Fix use after free in fxls8962af_fifo_flush\n\nfxls8962af_fifo_flush() uses indio_dev-\u003eactive_scan_mask (with\niio_for_each_active_channel()) without making sure the indio_dev\nstays in buffer mode.\nThere is a race if indio_dev exits buffer mode in the middle of the\ninterrupt that flushes the fifo. Fix this by calling\nsynchronize_irq() to ensure that no interrupt is currently running when\ndisabling buffer mode.\n\nUnable to handle kernel NULL pointer dereference at virtual address 00000000 when read\n[...]\n_find_first_bit_le from fxls8962af_fifo_flush+0x17c/0x290\nfxls8962af_fifo_flush from fxls8962af_interrupt+0x80/0x178\nfxls8962af_interrupt from irq_thread_fn+0x1c/0x7c\nirq_thread_fn from irq_thread+0x110/0x1f4\nirq_thread from kthread+0xe0/0xfc\nkthread from ret_from_fork+0x14/0x2c",
  "cwe": "CWE-416",
  "cpes": [
    "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc5:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc6:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8,
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 79e3a5bdd9efbdf4e1069793d7735b432d641e7c, \u003c 6ecd61c201b27ad2760b3975437ad2b97d725b98",
          "\u003e= 79e3a5bdd9efbdf4e1069793d7735b432d641e7c, \u003c dda42f23a8f5439eaac9521ce0531547d880cc54",
          "\u003e= 79e3a5bdd9efbdf4e1069793d7735b432d641e7c, \u003c bfcda3e1015791b3a63fb4d3aad408da9cf76e8f",
          "\u003e= 79e3a5bdd9efbdf4e1069793d7735b432d641e7c, \u003c 1803d372460aaa9ae0188a30c9421d3f157f2f04",
          "\u003e= 79e3a5bdd9efbdf4e1069793d7735b432d641e7c, \u003c 1fe16dc1a2f5057772e5391ec042ed7442966c9a"
        ],
        "fixed_in": [
          "6ecd61c201b27ad2760b3975437ad2b97d725b98",
          "dda42f23a8f5439eaac9521ce0531547d880cc54",
          "bfcda3e1015791b3a63fb4d3aad408da9cf76e8f",
          "1803d372460aaa9ae0188a30c9421d3f157f2f04",
          "1fe16dc1a2f5057772e5391ec042ed7442966c9a"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.14"
        ],
        "fixed_in": [
          "0",
          "6.1.147",
          "6.6.100",
          "6.12.40",
          "6.15.8",
          "6.16"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 6ecd61c201b27ad2760b3975437ad2b97d725b98 or dda42f23a8f5439eaac9521ce0531547d880cc54 or bfcda3e1015791b3a63fb4d3aad408da9cf76e8f or 1803d372460aaa9ae0188a30c9421d3f157f2f04 or 1fe16dc1a2f5057772e5391ec042ed7442966c9a or later.",
      "Upgrade Linux to 0 or 6.1.147 or 6.6.100 or 6.12.40 or 6.15.8 or 6.16 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
