Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: fbdev: efifb: fix memory leak in efifb_probe() Since commit 73ce73c30ba9 ("fbdev: Transfer video= option strings to caller; clarify ownership") the string returned from fb_get_options() is expected to be freed by the caller, but the string is not freed in efifb_probe(). Fix that by freeing the option string after setup.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 73ce73c30ba9ae4d90fdfad7ebe9104001d5d851 before fafb2e08741b20027cee77918816de29a32d6fd6; affected 73ce73c30ba9ae4d90fdfad7ebe9104001d5d851 before 475383daf5f855f5b2c3a9aa801f69b69a81799e; affected 73ce73c30ba9ae4d90fdfad7ebe9104001d5d851 before febb5b4f67ace78d6b6862cc3c853b64710afb6c; affected 73ce73c30ba9ae4d90fdfad7ebe9104001d5d851 before 5276e3f75ddb51f980a8903f4b39e73cf42415e5; affected 73ce73c30ba9ae4d90fdfad7ebe9104001d5d851 before 9b6eaf101656958397a6012bf43f6e2e42c9e5cb |
| Linux / Linux | affected 6.4; unaffected 0 before 6.4; unaffected 6.6.148 through 6.6.*; unaffected 6.12.97 through 6.12.*; unaffected 6.18.40 through 6.18.*; unaffected 7.1.5 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/fafb2e08741b20027cee77918816de29a32d6fd6
- https://git.kernel.org/stable/c/475383daf5f855f5b2c3a9aa801f69b69a81799e
- https://git.kernel.org/stable/c/febb5b4f67ace78d6b6862cc3c853b64710afb6c
- https://git.kernel.org/stable/c/5276e3f75ddb51f980a8903f4b39e73cf42415e5
- https://git.kernel.org/stable/c/9b6eaf101656958397a6012bf43f6e2e42c9e5cb