fbdev: radeon: fix potential memory leak in radeonfb_pci_register()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · < c2c795a320e7ef9aa69c7f4bd2c9ac07064eff9a| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
fbdev: radeon: fix potential memory leak in radeonfb_pci_register()
The function radeonfb_pci_register() allocates memory for modelist (by calling radeon_check_modes() which calls fb_add_videomode()). The memory is appended to info->modelist, but is not freed in subsequent error paths. Fix this by calling fb_destroy_modelist().
From the CVE record · Linux
The Linux kernel’s radeonfb_pci_register() can leak memory allocated for a mode list when a subsequent error path is taken. The input does not describe how an attacker could trigger the error path or whether access or user interaction is required.
Engineers running Linux kernels that include the radeon fbdev driver should check their kernel’s status; affected versions are not specified.