fbdev: tdfxfb: fix potential memory leak in tdfxfb_probe()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 215059d2421f95c30d1fca6ff31357fcae9f67dc · < e1ca9b8559e0f5959228626bdeaae530a1ee0337| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
fbdev: tdfxfb: fix potential memory leak in tdfxfb_probe()
In tdfxfb_probe(), the memory allocated for modelist using fb_videomode_to_modelist() when CONFIG_FB_3DFX_I2C is defined, is not freed in the subsequent error paths. Fix that by calling fb_destroy_modelist().
From the CVE record · Linux
The Linux kernel's tdfxfb_probe() can leak memory allocated for a modelist if a later error occurs while CONFIG_FB_3DFX_I2C is enabled. The input does not describe how an attacker could trigger this condition or whether access or user interaction is required.
Engineers running Linux kernels with CONFIG_FB_3DFX_I2C enabled should check their kernel; affected versions are not specified.