# CVE-2026-99511: media: cx23885: Fix use-after-free in cx23885\_finidev due to race condition

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-28)
- **Published:** 2026-11-19T14:44:07.569Z
- **Modified:** 2026-11-23T08:17:53.720Z

## Who should check

- Anyone running Linux \>= e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29, \< bdcd99f5d47bdc0104cc816dd1885121321803a8; \>= e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29, \< 094e57f65751c99b5e7a88b9d6f199b3c11ef134; \>= e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29, \< 58dba8af3a48e5c9799941194fcb022192e6702d; \>= e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29, \< a791e659029244c94d16bb662884cab832231e62; \>= e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29, \< 4c28161c8893bf7a396bda1ba9d8fa6e528c1a21; \>= e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29, \< 2344922abe2ad811003794092931bf454b556109; \>= e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29, \< 544b575ba44d566cfd4f82e3d8faee5db01addf5; \>= e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29, \< 75016a992d9b03f5cc6df1414d1da35840d4feeb
- Anyone running Linux 2.6.36

## Description

In the Linux kernel, the following vulnerability has been resolved:

media: cx23885: Fix use-after-free in cx23885\_finidev due to race condition

In cx23885\_v4l2\_dev\_notify\_init, &dev-\>cx25840\_work is bound with
cx23885\_av\_work\_handler, and &dev-\>ir\_rx\_work and &dev-\>ir\_tx\_work
are bound with cx23885\_ir\_rx\_work\_handler and
cx23885\_ir\_tx\_work\_handler. cx23885\_irq can schedule these works on
system\_wq when an AV\_CORE interrupt is received, and the IR subdevice
can also schedule the IR works from its interrupt service routine via
the v4l2\_device notify callback.

If we remove the device, cx23885\_finidev makes cleanup and the memory
allocated for dev is released by kfree(dev), while the works mentioned
above may still be pending or running. The sequence of operations that
may lead to a UAF bug is as follows:

CPU0                                      CPU1

                                          \| cx23885\_irq
                                          \| schedule\_work(&dev-\>cx25840\_work)
cx23885\_finidev                           \|
cx23885\_input\_fini(dev)                   \|
cx23885\_ir\_fini(dev)                      \|
cx23885\_shutdown(dev)                     \|
free\_irq(pci\_dev-\>irq, dev)               \|
pci\_disable\_device(pci\_dev)               \|
cx23885\_dev\_unregister(dev)               \|
v4l2\_device\_unregister(v4l2\_dev)          \|
kfree(dev)                                \|
// dev is freed                           \|
                                          \| cx23885\_av\_work\_handler
                                          \| // use dev (use-after-free)

Fix it by canceling the works after the IRQ handler that can schedule
them has been stopped, and before proceeding with the remaining
cleanup in cx23885\_finidev.

Note that the flush\_work() calls in cx23885\_input\_ir\_stop() do not
close this race: they only wait for works that are already queued or
running at that moment, they do not prevent the IRQ handler, which is
still registered at that point, from scheduling the works again
afterwards, and they are skipped entirely when dev-\>sd\_ir is NULL.
The cancel\_work\_sync() calls are therefore placed after free\_irq(),
the only point at which no new work can be scheduled.

## Affected and fixed versions

- Linux: \>= e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29, \< bdcd99f5d47bdc0104cc816dd1885121321803a8; \>= e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29, \< 094e57f65751c99b5e7a88b9d6f199b3c11ef134; \>= e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29, \< 58dba8af3a48e5c9799941194fcb022192e6702d; \>= e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29, \< a791e659029244c94d16bb662884cab832231e62; \>= e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29, \< 4c28161c8893bf7a396bda1ba9d8fa6e528c1a21; \>= e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29, \< 2344922abe2ad811003794092931bf454b556109; \>= e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29, \< 544b575ba44d566cfd4f82e3d8faee5db01addf5; \>= e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29, \< 75016a992d9b03f5cc6df1414d1da35840d4feeb (cvelist)
- Linux: 2.6.36 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 75016a992d9b03f5cc6df1414d1da35840d4feeb or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-99511. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99511.md
Affected: Linux >= e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29, < bdcd99f5d47bdc0104cc816dd1885121321803a8; >= e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29, < 094e57f65751c99b5e7a88b9d6f199b3c11ef134; >= e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29, < 58dba8af3a48e5c9799941194fcb022192e6702d; >= e5514f104d875b3d28cbcd5…
Fixed in: Linux 094e57f65751c99b5e7a88b9d6f199b3c11ef134, Linux 58dba8af3a48e5c9799941194fcb022192e6702d, Linux 4c28161c8893bf7a396bda1ba9d8fa6e528c1a21, Linux 2344922abe2ad811003794092931bf454b556109, Linux 544b575ba44d566cfd4f82e3d8faee5db01addf5, Linux 75016a992d9b03f5cc6df1414d1da35840d4feeb

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-99511 being exploited?

There is no confirmed exploitation: CVE-2026-99511 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-99511?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-99511?

Linux \>= e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29, \< bdcd99f5d47bdc0104cc816dd1885121321803a8; \>= e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29, \< 094e57f65751c99b5e7a88b9d6f199b3c11ef134; \>= e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29, \< 58dba8af3a48e5c9799941194fcb022192e6702d; \>= e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29, \< a791e659029244c94d16bb662884cab832231e62; \>= e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29, \< 4c28161c8893bf7a396bda1ba9d8fa6e528c1a21; \>= e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29, \< 2344922abe2ad811003794092931bf454b556109; \>= e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29, \< 544b575ba44d566cfd4f82e3d8faee5db01addf5; \>= e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29, \< 75016a992d9b03f5cc6df1414d1da35840d4feeb; Linux 2.6.36.

### Is there a fix for CVE-2026-99511?

Yes. Fixed in Linux 094e57f65751c99b5e7a88b9d6f199b3c11ef134, Linux 58dba8af3a48e5c9799941194fcb022192e6702d, Linux 4c28161c8893bf7a396bda1ba9d8fa6e528c1a21, Linux 2344922abe2ad811003794092931bf454b556109, Linux 544b575ba44d566cfd4f82e3d8faee5db01addf5, Linux 75016a992d9b03f5cc6df1414d1da35840d4feeb. Upgrade Linux to 75016a992d9b03f5cc6df1414d1da35840d4feeb or later.

### How do I check if I'm affected by CVE-2026-99511?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/bdcd99f5d47bdc0104cc816dd1885121321803a8>
- other: <https://git.kernel.org/stable/c/094e57f65751c99b5e7a88b9d6f199b3c11ef134>
- other: <https://git.kernel.org/stable/c/58dba8af3a48e5c9799941194fcb022192e6702d>
- other: <https://git.kernel.org/stable/c/a791e659029244c94d16bb662884cab832231e62>
- other: <https://git.kernel.org/stable/c/4c28161c8893bf7a396bda1ba9d8fa6e528c1a21>
- other: <https://git.kernel.org/stable/c/2344922abe2ad811003794092931bf454b556109>
- other: <https://git.kernel.org/stable/c/544b575ba44d566cfd4f82e3d8faee5db01addf5>
- other: <https://git.kernel.org/stable/c/75016a992d9b03f5cc6df1414d1da35840d4feeb>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-99511>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-99511> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-99511>
