# CVE-2026-99467: media: marvell: mcam: stop DMA and cancel s_bh_work before freeing DMA buffers

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-11-19T14:42:30.394Z
- Modified: 2026-11-19T15:18:00.983Z
- Assigned by: Linux

## Description

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

media: marvell: mcam: stop DMA and cancel s_bh_work before freeing DMA buffers

In vmalloc mode the frame-completion IRQ queues mcam_frame_work() on
cam->s_bh_work, which memcpy()s from the dma_bufs[] that
mcam_free_dma_bufs() frees with dma_free_coherent().  mccic_shutdown()
frees those buffers without stopping the controller, so while streaming
a late frame IRQ can re-arm the work after the buffers are gone, causing a
use-after-free.

Stop the controller in mccic_shutdown() when streaming is still active
(gated on an open fd, which holds a runtime-PM reference, so the device
is powered), cancel s_bh_work in mcam_free_dma_bufs(), and move
INIT_WORK() into mccic_register() before the device can be published.

(As written by CVE List.)

## Affected

- Linux Linux: from 67a8dbbc4e04cd256987b189352472a59aff73be before 8445398f75ed573cd8eafaa01273c10990e05eae; from 67a8dbbc4e04cd256987b189352472a59aff73be before 12d0222809f943d9bcaffd5fe1d8b9d2c3c74f07; from 67a8dbbc4e04cd256987b189352472a59aff73be before 71de8e33596c9c8b3e20e51e18883e6c5f25f7a4; from 67a8dbbc4e04cd256987b189352472a59aff73be before 0f29f84317c1e35f6a9265277be33e60d3fc8c1c; 3.1 (not affected: before 3.1; from 6.12.117 up to 6.12.*; from 6.18.61 up to 6.18.*; from 7.3.2 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/8445398f75ed573cd8eafaa01273c10990e05eae>
- <https://git.kernel.org/stable/c/12d0222809f943d9bcaffd5fe1d8b9d2c3c74f07>
- <https://git.kernel.org/stable/c/71de8e33596c9c8b3e20e51e18883e6c5f25f7a4>
- <https://git.kernel.org/stable/c/0f29f84317c1e35f6a9265277be33e60d3fc8c1c>

## Sources

- CVE List: [CVE-2026-99467](https://www.cve.org/CVERecord?id=CVE-2026-99467), CVE Terms of Use, modified 2026-11-19
- NVD: [CVE-2026-99467](https://nvd.nist.gov/vuln/detail/CVE-2026-99467), Public domain, modified 2026-11-19

---

Page: https://cve.day/CVE-2026-99467 · Whole record: https://cve.day/CVE-2026-99467.json · Rebuilt by cve.day 2026-11-25T22:59:52.081Z
