fbdev: efifb: fix memory leak in efifb_probe()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's efifb_probe() does not free an option string after setup, causing a memory leak. The input does not describe an attacker action or specify whether exploitation requires network or local access, authentication, or user interaction.
Engineers running the Linux kernel should check their installations; affected versions are not specified.