drm/i915/bios: fix a memory leak in generate_lfp_data_ptrs
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 7c852e8f93f04e57c1e3883caa72542469c6c4c4, Kernel 6.1.2, Kernel 4758d04014cfe6cdb6e9b4738d1d6728487bbb3a and 2 more.
In the Linux kernel, the following vulnerability has been resolved: drm/i915/bios: fix a memory leak in generate_lfp_data_ptrs When (size != 0 || ptrs->lvds_ entries != 3), the program tries to free() the ptrs. However, the ptrs is not created by calling kzmalloc(), but is obtained by pointer offset operation. This may lead to memory leaks or undefined behavior. Fix this by replacing the arguments of kfree() with ptrs_block. (cherry picked from commit 7674cd0b7d28b952151c3df26bbfa7e07eb2b4ec)
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=a87d0a84760726445dcc0f0177623f0d683f3559 <7c852e8f93f04e57c1e3883caa72542469c6c4c4, >=6.1 <6.1.2, >=a87d0a84760726445dcc0f0177623f0d683f3559 <4758d04014cfe6cdb6e9b4738d1d6728487bbb3a, >=5.19 <6.0.16, =5.19, >=a87d0a84760726445dcc0f0177623f0d683f3559 <1382901f75a5a7dc8eac05059fd0c7816def4eae | 7c852e8f93f04e57c1e3883caa72542469c6c4c4, 6.1.2, 4758d04014cfe6cdb6e9b4738d1d6728487bbb3a, 6.0.16, 1382901f75a5a7dc8eac05059fd0c7816def4eae |
| linux-kernel: Kernel | >=5.19.0 <6.0.16, >=6.1.0 <6.1.2 | 6.0.16, 6.1.2 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket