NULL pointer dereference in Linux kernel - CVE-2021-46995

 

NULL pointer dereference in Linux kernel - CVE-2021-46995

Published: June 27, 2024 / Updated: May 13, 2025


Vulnerability identifier: #VU93462
CSH Severity: Low
CVSS v4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-46995
CWE-ID: CWE-476
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to perform a denial of service (DoS) attack.

The vulnerability exists due to NULL pointer dereference within the mcp251xfd_probe() function in drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c. A local user can perform a denial of service (DoS) attack.


Affected software

Linux kernel

How to mitigate CVE-2021-46995

Install update from vendor's website.

Linux kernel - addressed in versions 5.12.5, 5.13

External References

Related Security Bulletins