media: iris: Add buffer to list only after successful allocation
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 98b4c4c90f1e11caecbe2093dbe3a901d338bc81, Kernel 6.19.6, Kernel 45b30f65feeb4d5570d5337793bb0f298be813d2 and 2 more.
In the Linux kernel, the following vulnerability has been resolved: media: iris: Add buffer to list only after successful allocation Move `list_add_tail()` to after `dma_alloc_attrs()` succeeds when creating internal buffers. Previously, the buffer was enqueued in `buffers->list` before the DMA allocation. If the allocation failed, the function returned `-ENOMEM` while leaving a partially initialized buffer in the list, which could lead to inconsistent state and potential leaks. By adding the buffer to the list only after `dma_alloc_attrs()` succeeds, we ensure the list contains only valid, fully initialized buffers.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=73702f45db81b74897b2808aaa13484826156006 <98b4c4c90f1e11caecbe2093dbe3a901d338bc81, >=6.19 <6.19.6, >=73702f45db81b74897b2808aaa13484826156006 <45b30f65feeb4d5570d5337793bb0f298be813d2, >=6.15 <6.18.16, =6.15, >=73702f45db81b74897b2808aaa13484826156006 <2d0bbd982dfdd67da488a772f7a8a1bdca7642bf | 98b4c4c90f1e11caecbe2093dbe3a901d338bc81, 6.19.6, 45b30f65feeb4d5570d5337793bb0f298be813d2, 6.18.16, 2d0bbd982dfdd67da488a772f7a8a1bdca7642bf |
| linux-kernel: Kernel | >=6.15.0 <6.18.16, >=6.19.0 <6.19.6 | 6.18.16, 6.19.6 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket