-
CVE-2026-99511
- EPSS 0.21%
- Veröffentlicht 19.11.2026 14:44:07
- Zuletzt bearbeitet 23.11.2026 08:17:53
- Erkennungen
media: cx23885: Fix use-after-free in cx23885_finidev due to race condition
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.Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
≫
Produkt
Linux
Default Statusunaffected
Version
e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29
Version <
bdcd99f5d47bdc0104cc816dd1885121321803a8
Status
affected
Version
e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29
Version <
094e57f65751c99b5e7a88b9d6f199b3c11ef134
Status
affected
Version
e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29
Version <
58dba8af3a48e5c9799941194fcb022192e6702d
Status
affected
Version
e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29
Version <
a791e659029244c94d16bb662884cab832231e62
Status
affected
Version
e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29
Version <
4c28161c8893bf7a396bda1ba9d8fa6e528c1a21
Status
affected
Version
e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29
Version <
2344922abe2ad811003794092931bf454b556109
Status
affected
Version
e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29
Version <
544b575ba44d566cfd4f82e3d8faee5db01addf5
Status
affected
Version
e5514f104d875b3d28cbcd5d4f2b96ab2fca1e29
Version <
75016a992d9b03f5cc6df1414d1da35840d4feeb
Status
affected
HerstellerLinux
≫
Produkt
Linux
Default Statusaffected
Version
2.6.36
Status
affected
Version
0
Version <
2.6.36
Status
unaffected
Version <=
5.10.*
Version
5.10.275
Status
unaffected
Version <=
5.15.*
Version
5.15.226
Status
unaffected
Version <=
6.1.*
Version
6.1.193
Status
unaffected
Version <=
6.6.*
Version
6.6.163
Status
unaffected
Version <=
6.12.*
Version
6.12.117
Status
unaffected
Version <=
6.18.*
Version
6.18.61
Status
unaffected
Version <=
7.3.*
Version
7.3.2
Status
unaffected
Version <=
*
Version
7.4-rc1
Status
unaffected
VulnDex Vulnerability Enrichment
| Typ | Quelle | Score | Percentile |
|---|---|---|---|
| EPSS | FIRST.org | 0.21% | 0.108 |
| Quelle | Base Score | Exploit Score | Impact Score | Vector String |
|---|
https://git.kernel.org/stable/c/4c28161c8893bf7a396bda1ba9d8fa6e528c1a21
https://git.kernel.org/stable/c/2344922abe2ad811003794092931bf454b556109
https://git.kernel.org/stable/c/544b575ba44d566cfd4f82e3d8faee5db01addf5
https://git.kernel.org/stable/c/75016a992d9b03f5cc6df1414d1da35840d4feeb
https://git.kernel.org/stable/c/094e57f65751c99b5e7a88b9d6f199b3c11ef134
https://git.kernel.org/stable/c/58dba8af3a48e5c9799941194fcb022192e6702d
https://git.kernel.org/stable/c/a791e659029244c94d16bb662884cab832231e62
https://git.kernel.org/stable/c/bdcd99f5d47bdc0104cc816dd1885121321803a8