CVE-2021-46994: can: mcp251x: fix resume from sleep before interface was brought up
Vulnerability summary
CVE-2021-46994 is a medium (CVSS 5.5) NULL Pointer Dereference vulnerability in linux. EPSS estimates a 0.24% chance of exploitation in the next 30 days, higher than 14.5% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 28-02-2024PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: can: mcp251x: fix resume from sleep before interface was brought up Since 8ce8c0abcba3 the driver queues work via priv->restart_work when resuming after suspend, even when the interface was not previously enabled. This causes a null dereference error as the workqueue is only allocated and initialized in mcp251x_open(). To fix this we move the workqueue init to mcp251x_can_probe() as there is no reason to do it later and repeat it whenever mcp251x_open() is called. [mkl: fix error handling in mcp251x_stop()]
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.24%
Chance of exploitation in the next 30 days
Percentile
15%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.24% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu62 products
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
- linux-aws-5.13All versions (No fix recorded)
- linux-aws-5.19All versions (No fix recorded)
Linux2 products
- linux≥ 8ce8c0abcba314e1fe954a1840f6568bf5aef2ef, < eecb4df8ec9f896b19ee05bfa632ac6c1dcd8f21 | ≥ 8ce8c0abcba314e1fe954a1840f6568bf5aef2ef, < 6f8f1c27b577de15f69fefce3c502bb6300d825c | ≥ 8ce8c0abcba314e1fe954a1840f6568bf5aef2ef, < e1e10a390fd9479209c4d834d916ca5e6d5d396b | ≥ 8ce8c0abcba314e1fe954a1840f6568bf5aef2ef, < 03c427147b2d3e503af258711af4fc792b89b0af | 5.5
- linux_kernel≥ 5.5, < 5.10.38 | ≥ 5.11, < 5.11.22 | ≥ 5.12, < 5.12.5
Debian1 product
- linux< 5.10.38-1
3 vendors · 65 products