CVE-2026-99511

Not scored yetLast modified Nov 23, 2026

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.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

VendorProductVersions
LinuxLinux>= e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29, < bdcd99f5d47bdc0104cc816dd1885121321803a8; >= e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29, < 094e57f65751c99b5e7a88b9d6f199b3c11ef134; >= e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29, < 58dba8af3a48e5c9799941194fcb022192e6702d; >= e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29, < a791e659029244c94d16bb662884cab832231e62; >= e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29, < 4c28161c8893bf7a396bda1ba9d8fa6e528c1a21; >= e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29, < 2344922abe2ad811003794092931bf454b556109; >= e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29, < 544b575ba44d566cfd4f82e3d8faee5db01addf5; >= e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29, < 75016a992d9b03f5cc6df1414d1da35840d4feeb
LinuxLinux2.6.36

References

Timeline

Published
Nov 19, 2026
Last modified
Nov 23, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-99512In the Linux kernel, the following vulnerability has been resolved: media: au0828: fix use-after-free in bulk_timeout timer on disconnect CVE-2026-995139.8In the Linux kernel, the following vulnerability has been resolved: lockd: Fix use-after-free in nlmsvc_retry_blocked nlmsvc_retry_blockedCVE-2026-99514In the Linux kernel, the following vulnerability has been resolved: landlock: Fix superblock use-after-free in release_inode() Without thiCVE-2026-99515In the Linux kernel, the following vulnerability has been resolved: iommufd: Fix event queue release use-after-free iommufd_eventq_fops_reCVE-2026-995167.1In the Linux kernel, the following vulnerability has been resolved: nvmet-fc: fix use-after-free in nvmet_fc_ls_create_connection() nvmet_CVE-2026-99517In the Linux kernel, the following vulnerability has been resolved: nvmet: fix use-after-free of the old registrant in nvmet_pr_preempt() CVE-2026-99518In the Linux kernel, the following vulnerability has been resolved: platform/x86: asus-wmi: fix use-after-free unregistering kbd_led led kCVE-2026-99519In the Linux kernel, the following vulnerability has been resolved: PM: EM: Fix use-after-free of perf domain in netlink doit handlers TheCVE-2026-99528.8Use after free in WebAudio in Google Chrome prior to 148.0.7778.216 allowed a remote attacker to execute arbitrary code inside a sandbox viaCVE-2026-99520In the Linux kernel, the following vulnerability has been resolved: pps: generators: fix use-after-free when closing a removed device The CVE-2026-99521In the Linux kernel, the following vulnerability has been resolved: rapidio: mport_cdev: fix use-after-free in mport_mm_close() A use-afteCVE-2026-99522In the Linux kernel, the following vulnerability has been resolved: RDMA/irdma: avoid use-after-free in icrdma_remove icrdma_remove() dere
CVE-2026-99511: Unscored | Vulnix