# CVE-2021-47652: video: fbdev: smscufx: Fix null-ptr-deref in ufx_usb_probe()

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-02)
- Published: 2025-02-26T01:54:18.089Z
- Modified: 2026-06-17T04:18:15.043Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 3c8a63e22a0802fd56380f6ab305b419f18eb6f5 before d1b6a1f0c23b7164250479bf92e2893291dca539; from 3c8a63e22a0802fd56380f6ab305b419f18eb6f5 before 0fd28daec73525382e5c992db8743bf76e42cd5c; from 3c8a63e22a0802fd56380f6ab305b419f18eb6f5 before dd3a6cc7385b89ec2303f39dfc3bafa4e24cec4b; from 3c8a63e22a0802fd56380f6ab305b419f18eb6f5 before da8b269cc0a2526ebeaccbe2484c999eb0f822cf; from 3c8a63e22a0802fd56380f6ab305b419f18eb6f5 before 64ec3e678d76419f207b9cdd338dda438ca10b1c; from 3c8a63e22a0802fd56380f6ab305b419f18eb6f5 before c420b540db4b5d69de0a36d8b9d9a6a79a04f05a; from 3c8a63e22a0802fd56380f6ab305b419f18eb6f5 before d396c651e2b508b6179bb678cc029f3becbf5170; from 3c8a63e22a0802fd56380f6ab305b419f18eb6f5 before 9280ef235b05e8f19f8bc6d547b992f0a0ef398d; from 3c8a63e22a0802fd56380f6ab305b419f18eb6f5 before 1791f487f877a9e83d81c8677bd3e7b259e7cb27; 3.2 (not affected: before 3.2; from 4.9.311 up to 4.9.*; from 4.14.276 up to 4.14.*; from 4.19.238 up to 4.19.*; from 5.4.189 up to 5.4.*; from 5.10.110 up to 5.10.*; from 5.15.33 up to 5.15.*; from 5.16.19 up to 5.16.*; from 5.17.2 up to 5.17.*; from 5.18 up to *)
- linux linux_kernel: from 3.2 before 4.9.311; from 4.10 before 4.14.276; from 4.15 before 4.19.238; from 4.20 before 5.4.189; from 5.5 before 5.10.110; from 5.11 before 5.15.33; from 5.16 before 5.16.19; from 5.17 before 5.17.2

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/d1b6a1f0c23b7164250479bf92e2893291dca539> (patch)
- <https://git.kernel.org/stable/c/0fd28daec73525382e5c992db8743bf76e42cd5c> (patch)
- <https://git.kernel.org/stable/c/dd3a6cc7385b89ec2303f39dfc3bafa4e24cec4b> (patch)
- <https://git.kernel.org/stable/c/da8b269cc0a2526ebeaccbe2484c999eb0f822cf> (patch)
- <https://git.kernel.org/stable/c/64ec3e678d76419f207b9cdd338dda438ca10b1c> (patch)
- <https://git.kernel.org/stable/c/c420b540db4b5d69de0a36d8b9d9a6a79a04f05a> (patch)
- <https://git.kernel.org/stable/c/d396c651e2b508b6179bb678cc029f3becbf5170> (patch)
- <https://git.kernel.org/stable/c/9280ef235b05e8f19f8bc6d547b992f0a0ef398d> (patch)
- <https://git.kernel.org/stable/c/1791f487f877a9e83d81c8677bd3e7b259e7cb27> (patch)

## Sources

- CVE List: [CVE-2021-47652](https://www.cve.org/CVERecord?id=CVE-2021-47652), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2021-47652](https://nvd.nist.gov/vuln/detail/CVE-2021-47652), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-47652 · Whole record: https://cve.day/CVE-2021-47652.json · Rebuilt by cve.day 2026-11-25T22:58:09.007Z
