5.5
MEDIUM CVSS 3.1
CVE-2021-47652
Linux SMSCUFX Null Pointer Dereference
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.

INFO

Published Date :

Feb. 26, 2025, 6:37 a.m.

Last Modified :

March 18, 2025, 7:10 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2021-47652 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM [email protected]
Solution
Initialize the modelist before calling fb_alloc_cmap to prevent null pointer dereference.
  • Initialize modelist before calling fb_alloc_cmap.
  • Apply kernel updates to resolve the vulnerability.
  • Ensure proper error handling for fb_alloc_cmap.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-47652 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2021-47652 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-47652 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-47652 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Mar. 18, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
    Added CWE CWE-476
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.20 up to (excluding) 5.4.189 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.33 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.17 up to (excluding) 5.17.2 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.15 up to (excluding) 4.19.238 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.110 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 5.16.19 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 3.2 up to (excluding) 4.9.311 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.10 up to (excluding) 4.14.276
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/0fd28daec73525382e5c992db8743bf76e42cd5c Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/1791f487f877a9e83d81c8677bd3e7b259e7cb27 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/64ec3e678d76419f207b9cdd338dda438ca10b1c Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/9280ef235b05e8f19f8bc6d547b992f0a0ef398d Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/c420b540db4b5d69de0a36d8b9d9a6a79a04f05a Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/d1b6a1f0c23b7164250479bf92e2893291dca539 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/d396c651e2b508b6179bb678cc029f3becbf5170 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/da8b269cc0a2526ebeaccbe2484c999eb0f822cf Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/dd3a6cc7385b89ec2303f39dfc3bafa4e24cec4b Types: Patch
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Feb. 26, 2025

    Action Type Old Value New Value
    Added 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.
    Added Reference https://git.kernel.org/stable/c/0fd28daec73525382e5c992db8743bf76e42cd5c
    Added Reference https://git.kernel.org/stable/c/1791f487f877a9e83d81c8677bd3e7b259e7cb27
    Added Reference https://git.kernel.org/stable/c/64ec3e678d76419f207b9cdd338dda438ca10b1c
    Added Reference https://git.kernel.org/stable/c/9280ef235b05e8f19f8bc6d547b992f0a0ef398d
    Added Reference https://git.kernel.org/stable/c/c420b540db4b5d69de0a36d8b9d9a6a79a04f05a
    Added Reference https://git.kernel.org/stable/c/d1b6a1f0c23b7164250479bf92e2893291dca539
    Added Reference https://git.kernel.org/stable/c/d396c651e2b508b6179bb678cc029f3becbf5170
    Added Reference https://git.kernel.org/stable/c/da8b269cc0a2526ebeaccbe2484c999eb0f822cf
    Added Reference https://git.kernel.org/stable/c/dd3a6cc7385b89ec2303f39dfc3bafa4e24cec4b
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 5.5
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact