Description
In the Linux kernel, the following vulnerability has been resolved: misc: bcm-vk: fix DMA allocation memory leak bcm_vk_dma_alloc() leaks dma->pages and pinned user-page references when page pinning or coherent SG allocation fails. DMA mapping failures can also leave the SG list and earlier mappings unreleased, as bcm_vk_sg_alloc() skips the partially initialized slot. This issue was found by our static analysis tool under development.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
111d746bb4767ad476f80fe49067e3df3d9a9375 to < 72328036bb4101bc5cf35c1e5ae5b2eaa17d7b75affected111d746bb4767ad476f80fe49067e3df3d9a9375 to < f0250dee313c255a4157e5f611691c0dc76479f6affected111d746bb4767ad476f80fe49067e3df3d9a9375 to < 16404c435fdf9a32cfb306b4a41244a485f16d35affected111d746bb4767ad476f80fe49067e3df3d9a9375 to < 279a7a7071214221858144fc097f3751ef9dbbe8affected111d746bb4767ad476f80fe49067e3df3d9a9375 to < a36b3db60466d44eefcc5c252ce927c043429922affected
Linux Linux
Default version status: affected
5.12affected0 to < 5.12unaffected5.15.227 to ≤ 5.15.*unaffected6.12.120 to ≤ 6.12.*unaffected6.18.66 to ≤ 6.18.*unaffected7.3.7 to ≤ 7.3.*unaffected7.4-rc4 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/72328036bb4101bc5cf35c1e5ae5b2eaa17d7b75 ↗
- https://git.kernel.org/stable/c/f0250dee313c255a4157e5f611691c0dc76479f6 ↗
- https://git.kernel.org/stable/c/16404c435fdf9a32cfb306b4a41244a485f16d35 ↗
- https://git.kernel.org/stable/c/279a7a7071214221858144fc097f3751ef9dbbe8 ↗
- https://git.kernel.org/stable/c/a36b3db60466d44eefcc5c252ce927c043429922 ↗