{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-46994","id":"CVE-2021-46994","title":"can: mcp251x: fix resume from sleep before interface was brought up","description":"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 t","descriptionLong":"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()]","published":"2024-02-28T08:13:19.115Z","updated":"2026-06-17T04:16:06.913Z","reserved":"2024-02-27T18:42:55.949Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"8ce8c0abcba314e1fe954a1840f6568bf5aef2ef","lessThan":"eecb4df8ec9f896b19ee05bfa632ac6c1dcd8f21","status":"affected","versionType":"git"},{"version":"8ce8c0abcba314e1fe954a1840f6568bf5aef2ef","lessThan":"6f8f1c27b577de15f69fefce3c502bb6300d825c","status":"affected","versionType":"git"},{"version":"8ce8c0abcba314e1fe954a1840f6568bf5aef2ef","lessThan":"e1e10a390fd9479209c4d834d916ca5e6d5d396b","status":"affected","versionType":"git"},{"version":"8ce8c0abcba314e1fe954a1840f6568bf5aef2ef","lessThan":"03c427147b2d3e503af258711af4fc792b89b0af","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.5","status":"affected"},{"version":"0","lessThan":"5.5","status":"unaffected","versionType":"semver"},{"version":"5.10.38","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.11.22","lessThanOrEqual":"5.11.*","status":"unaffected","versionType":"semver"},{"version":"5.12.5","lessThanOrEqual":"5.12.*","status":"unaffected","versionType":"semver"},{"version":"5.13","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-476"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/eecb4df8ec9f896b19ee05bfa632ac6c1dcd8f21","tags":["x_transferred","Patch","fix"]},{"url":"https://git.kernel.org/stable/c/6f8f1c27b577de15f69fefce3c502bb6300d825c","tags":["x_transferred","Patch","fix"]},{"url":"https://git.kernel.org/stable/c/e1e10a390fd9479209c4d834d916ca5e6d5d396b","tags":["x_transferred","Patch","fix"]},{"url":"https://git.kernel.org/stable/c/03c427147b2d3e503af258711af4fc792b89b0af","tags":["x_transferred","Patch","fix"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00235,"epssPercentile":0.14674,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-46994","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-46994","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-46994","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-46994","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}