CVE-2026-45954: fbdev: au1200fb: Fix a memory leak in au1200fb_drv_probe()
In the Linux kernel, the following vulnerability has been resolved:
fbdev: au1200fb: Fix a memory leak in au1200fbdrvprobe()
In au1200fbdrvprobe(), when platformgetirq fails(), it directly returns from the function with an error code, which causes a memory leak.
Replace it with a goto label to ensure proper cleanup.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In au1200fb_drv_probe(), replace the direct error return when platform_get_irq() fails with a goto to a cleanup label so allocated memory is properly released.