{"id":"CVE-2026-99467","aliases":["CVE-2026-99467"],"related":[],"kind":"vulnerability","state":"published","title":"media: marvell: mcam: stop DMA and cancel s_bh_work before freeing DMA buffers","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: marvell: mcam: stop DMA and cancel s_bh_work before freeing DMA buffers\n\nIn vmalloc mode the frame-completion IRQ queues mcam_frame_work() on\ncam->s_bh_work, which memcpy()s from the dma_bufs[] that\nmcam_free_dma_bufs() frees with dma_free_coherent().  mccic_shutdown()\nfrees those buffers without stopping the controller, so while streaming\na late frame IRQ can re-arm the work after the buffers are gone, causing a\nuse-after-free.\n\nStop the controller in mccic_shutdown() when streaming is still active\n(gated on an open fd, which holds a runtime-PM reference, so the device\nis powered), cancel s_bh_work in mcam_free_dma_bufs(), and move\nINIT_WORK() into mccic_register() before the device can be published.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: marvell: mcam: stop DMA and cancel s_bh_work before freeing DMA buffers\n\nIn vmalloc mode the frame-completion IRQ queues mcam_frame_work() on\ncam->s_bh_work, which memcpy()s from the dma_bufs[] that\nmcam_free_dma_bufs() frees with dma_free_coherent().  mccic_shutdown()\nfrees those buffers without stopping the controller, so while streaming\na late frame IRQ can re-arm the work after the buffers are gone, causing a\nuse-after-free.\n\nStop the controller in mccic_shutdown() when streaming is still active\n(gated on an open fd, which holds a runtime-PM reference, so the device\nis powered), cancel s_bh_work in mcam_free_dma_bufs(), and move\nINIT_WORK() into mccic_register() before the device can be published.","source":"cvelist"}],"published":"2026-11-19T14:42:30.394Z","modified":"2026-11-19T15:18:00.983Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"67a8dbbc4e04cd256987b189352472a59aff73be","fixed":"8445398f75ed573cd8eafaa01273c10990e05eae","status":"affected"},{"type":"git","introduced":"67a8dbbc4e04cd256987b189352472a59aff73be","fixed":"12d0222809f943d9bcaffd5fe1d8b9d2c3c74f07","status":"affected"},{"type":"git","introduced":"67a8dbbc4e04cd256987b189352472a59aff73be","fixed":"71de8e33596c9c8b3e20e51e18883e6c5f25f7a4","status":"affected"},{"type":"git","introduced":"67a8dbbc4e04cd256987b189352472a59aff73be","fixed":"0f29f84317c1e35f6a9265277be33e60d3fc8c1c","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.1","status":"unaffected"},{"type":"semver","introduced":"6.12.117","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.61","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.2","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/8445398f75ed573cd8eafaa01273c10990e05eae","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/12d0222809f943d9bcaffd5fe1d8b9d2c3c74f07","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/71de8e33596c9c8b3e20e51e18883e6c5f25f7a4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0f29f84317c1e35f6a9265277be33e60d3fc8c1c","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99467","url":"https://www.cve.org/CVERecord?id=CVE-2026-99467","licence":"CVE Terms of Use","modified":"2026-11-19T14:42:30.394Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99467","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99467","licence":"Public domain","modified":"2026-11-19T15:18:00.983Z"}],"updatedAt":"2026-11-25T22:59:52.081Z","epss":{"score":0.00174,"percentile":0.07186,"date":"2026-12-01T12:00:22.000Z"}}