{"id":"CVE-2021-46994","published":"2024-02-28T08:13:19Z","modified":"2026-05-11T13:45:54Z","title":"can: mcp251x: fix resume from sleep before interface was brought up","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncan: mcp251x: fix resume from sleep before interface was brought up\n\nSince 8ce8c0abcba3 the driver queues work via priv->restart_work when\nresuming after suspend, even when the interface was not previously\nenabled. This causes a null dereference error as the workqueue is only\nallocated and initialized in mcp251x_open().\n\nTo fix this we move the workqueue init to mcp251x_can_probe() as there\nis no reason to do it later and repeat it whenever mcp251x_open() is\ncalled.\n\n[mkl: fix error handling in mcp251x_stop()]","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00235,"percentile":0.14786,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/eecb4df8ec9f896b19ee05bfa632ac6c1dcd8f21","tags":[]},{"url":"https://git.kernel.org/stable/c/6f8f1c27b577de15f69fefce3c502bb6300d825c","tags":[]},{"url":"https://git.kernel.org/stable/c/e1e10a390fd9479209c4d834d916ca5e6d5d396b","tags":[]},{"url":"https://git.kernel.org/stable/c/03c427147b2d3e503af258711af4fc792b89b0af","tags":[]}],"priority":{"score":3.0,"factors":[{"name":"EPSS percentile","points":2.96}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 8ce8c0abcba314e1fe954a1840f6568bf5aef2ef, < eecb4df8ec9f896b19ee05bfa632ac6c1dcd8f21",">= 8ce8c0abcba314e1fe954a1840f6568bf5aef2ef, < 6f8f1c27b577de15f69fefce3c502bb6300d825c",">= 8ce8c0abcba314e1fe954a1840f6568bf5aef2ef, < e1e10a390fd9479209c4d834d916ca5e6d5d396b",">= 8ce8c0abcba314e1fe954a1840f6568bf5aef2ef, < 03c427147b2d3e503af258711af4fc792b89b0af"]},{"vendor":"Linux","product":"Linux","versions":["5.5"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T16:00:58.367712Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2021-33642","exploited":false,"provenance":"source"}}