CVE-2021-46995

MEDIUM

Linux Kernel 5.12-5.12.4 - NULL Pointer Dereference in mcp251xfd_probe

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: can: mcp251xfd: mcp251xfd_probe(): fix an error pointer dereference in probe When we converted this code to use dev_err_probe() we accidentally removed a return. It means that if devm_clk_get() it will lead to an Oops when we call clk_get_rate() on the next line.

Scores

CVSS v3 5.5
EPSS 0.0021
EPSS Percentile 10.6%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-476
Status published
Products (7)
Linux/Linux < 5.12
Linux/Linux 5.12
Linux/Linux 5.12.5 - 5.12.*
Linux/Linux 5.13
Linux/Linux cf8ee6de2543a0fa6d9471ddbb7216464a9681a1 - 15f8f96ec7fc35024d4e03296e4d838fcea33d83
Linux/Linux cf8ee6de2543a0fa6d9471ddbb7216464a9681a1 - 4cc7faa406975b460aa674606291dea197c1210c
linux/linux_kernel 5.12 - 5.12.5
Published Feb 28, 2024
Tracked Since Feb 18, 2026