{"id":"CVE-2021-47232","published":"2024-05-21T14:19:35Z","modified":"2026-08-05T08:46:51Z","title":"can: j1939: fix Use-after-Free, hold skb ref while in use","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncan: j1939: fix Use-after-Free, hold skb ref while in use\n\nThis patch fixes a Use-after-Free found by the syzbot.\n\nThe problem is that a skb is taken from the per-session skb queue,\nwithout incrementing the ref count. This leads to a Use-after-Free if\nthe skb is taken concurrently from the session queue due to a CTS.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00621,"percentile":0.50701,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://git.kernel.org/stable/c/22cba878abf646cd3a02ee7c8c2cef7afe66a256","tags":[]},{"url":"https://git.kernel.org/stable/c/509ab6bfdd0c76daebbad0f0af07da712116de22","tags":[]},{"url":"https://git.kernel.org/stable/c/1071065eeb33d32b7d98c2ce7591881ae7381705","tags":[]},{"url":"https://git.kernel.org/stable/c/2030043e616cab40f510299f09b636285e0a3678","tags":[]}],"priority":{"score":17.0,"factors":[{"name":"EPSS percentile","points":10.14},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 9d71dd0c70099914fcd063135da3c580865e924c, < 22cba878abf646cd3a02ee7c8c2cef7afe66a256",">= 9d71dd0c70099914fcd063135da3c580865e924c, < 509ab6bfdd0c76daebbad0f0af07da712116de22",">= 9d71dd0c70099914fcd063135da3c580865e924c, < 1071065eeb33d32b7d98c2ce7591881ae7381705",">= 9d71dd0c70099914fcd063135da3c580865e924c, < 2030043e616cab40f510299f09b636285e0a3678"]},{"vendor":"Linux","product":"Linux","versions":["5.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-05-28T19:03:26.982947Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2021-33880","exploited":false,"provenance":"source"}}