First published: Wed Feb 26 2025(Updated: )
In the Linux kernel, the following vulnerability has been resolved: video: fbdev: smscufx: Fix null-ptr-deref in ufx_usb_probe() I got a null-ptr-deref report: BUG: kernel NULL pointer dereference, address: 0000000000000000 ... RIP: 0010:fb_destroy_modelist+0x38/0x100 ... Call Trace: ufx_usb_probe.cold+0x2b5/0xac1 [smscufx] usb_probe_interface+0x1aa/0x3c0 [usbcore] really_probe+0x167/0x460 ... ret_from_fork+0x1f/0x30 If fb_alloc_cmap() fails in ufx_usb_probe(), fb_destroy_modelist() will be called to destroy modelist in the error handling path. But modelist has not been initialized yet, so it will result in null-ptr-deref. Initialize modelist before calling fb_alloc_cmap() to fix this bug.
Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Software | Affected Version | How to fix |
---|---|---|
Linux Kernel | ||
Linux Kernel | >=3.2<4.9.311 | |
Linux Kernel | >=4.10<4.14.276 | |
Linux Kernel | >=4.15<4.19.238 | |
Linux Kernel | >=4.20<5.4.189 | |
Linux Kernel | >=5.5<5.10.110 | |
Linux Kernel | >=5.11<5.15.33 | |
Linux Kernel | >=5.16<5.16.19 | |
Linux Kernel | >=5.17<5.17.2 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2021-47652 is categorized with medium severity due to the potential for kernel crashes from null pointer dereferences.
To fix CVE-2021-47652, update to a patched version of the Linux kernel that addresses this vulnerability.
CVE-2021-47652 affects multiple versions of the Linux kernel, specifically versions from 3.2 up to 5.17.2, excluding the patched versions.
CVE-2021-47652 primarily impacts the framebuffer device subsystem in the Linux kernel.
CVE-2021-47652 does not enable remote exploitation as it requires local access to trigger the vulnerability.