media: iris: Fix use-after-free in iris_release_internal_buffers()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel dd24998a4a4016fb9921916024399bd80f0d45c6, Kernel f27cfdcfc916bb59297825805f4c3499f89f9e76, Kernel 6.18.32 and 3 more.
In the Linux kernel, the following vulnerability has been resolved: media: iris: Fix use-after-free in iris_release_internal_buffers() The recent change in commit 1dabf00ee206 ("media: iris: gen1: Destroy internal buffers after FW releases") introduced a regression where session_release_buf() may free the buffer. The caller, iris_release_internal_buffers(), continued to access `buffer` after the call, leading to a potential use-after-free. Fix this by setting BUF_ATTR_PENDING_RELEASE before calling session_release_buf(), and reverting the flag if the call fails. This ensures no dereference occurs after potential freeing.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=7cde76db8883ec8a3d1456068079ecadbfb15ca5 <dd24998a4a4016fb9921916024399bd80f0d45c6, >=1dabf00ee206eceb0f08a1fe5d1ce635f9064338 <f27cfdcfc916bb59297825805f4c3499f89f9e76, >=6.18.16 <6.18.32, >=6.19.6 <6.20, =7.0, =d4457f23ac0130240053a34be663f0fade3bb371, >=1dabf00ee206eceb0f08a1fe5d1ce635f9064338 <18c64439f249859b6140f7bf8bcf95c8ed841f28 | dd24998a4a4016fb9921916024399bd80f0d45c6, f27cfdcfc916bb59297825805f4c3499f89f9e76, 6.18.32, 6.20, 18c64439f249859b6140f7bf8bcf95c8ed841f28 |
| linux-kernel: Kernel | >=6.19.6 <6.20, >=7.0.0 <7.0.9, >=6.18.16 <6.18.32 | 6.20, 7.0.9, 6.18.32 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket