CVE-2026-72265: fbdev: nvidia: fix potential memory leak in nvidiafb_probe()
In the Linux kernel, the following vulnerability has been resolved:
fbdev: nvidia: fix potential memory leak in nvidiafbprobe()
In nvidiafbprobe(), the memory allocated for modelist in nvidiasetfbinfo() is not freed in the subsequent error paths. Fix that by calling fbdestroymodelist().
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Operational
In nvidiafb_probe(), ensure the memory allocated for modelist (via nvidia_set_fbinfo()) is freed on all subsequent error paths by calling fb_destroy_modelist().