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

Summary

CVECVE-2026-99467
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-19 15:18:00 UTC
Updated2026-11-19 15:18:00 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 67a8dbbc4e04cd256987b189352472a59aff73be 8445398f75ed573cd8eafaa01273c10990e05eae git Not specified
CNA Linux Linux affected 67a8dbbc4e04cd256987b189352472a59aff73be 12d0222809f943d9bcaffd5fe1d8b9d2c3c74f07 git Not specified
CNA Linux Linux affected 67a8dbbc4e04cd256987b189352472a59aff73be 71de8e33596c9c8b3e20e51e18883e6c5f25f7a4 git Not specified
CNA Linux Linux affected 67a8dbbc4e04cd256987b189352472a59aff73be 0f29f84317c1e35f6a9265277be33e60d3fc8c1c git Not specified
CNA Linux Linux affected 3.1 Not specified
CNA Linux Linux unaffected 3.1 semver Not specified
CNA Linux Linux unaffected 6.12.117 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.61 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.2 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/12d0222809f943d9bcaffd5fe1d8b9d2c3c74f07 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/8445398f75ed573cd8eafaa01273c10990e05eae 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/0f29f84317c1e35f6a9265277be33e60d3fc8c1c 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/71de8e33596c9c8b3e20e51e18883e6c5f25f7a4 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report