{"id":"CVE-2021-47232","details":"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.","modified":"2026-03-15T22:43:10.037915Z","published":"2024-05-21T15:15:12.557Z","references":[{"type":"FIX","url":"https://git.kernel.org/stable/c/2030043e616cab40f510299f09b636285e0a3678"},{"type":"FIX","url":"https://git.kernel.org/stable/c/22cba878abf646cd3a02ee7c8c2cef7afe66a256"},{"type":"FIX","url":"https://git.kernel.org/stable/c/509ab6bfdd0c76daebbad0f0af07da712116de22"},{"type":"FIX","url":"https://git.kernel.org/stable/c/1071065eeb33d32b7d98c2ce7591881ae7381705"}],"affected":[{"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-47232.json","unresolved_ranges":[{"events":[{"introduced":"5.4"},{"fixed":"5.4.128"}]},{"events":[{"introduced":"5.5"},{"fixed":"5.10.46"}]},{"events":[{"introduced":"5.11"},{"fixed":"5.12.13"}]},{"events":[{"introduced":"0"},{"last_affected":"5.13-rc1"}]},{"events":[{"introduced":"0"},{"last_affected":"5.13-rc2"}]},{"events":[{"introduced":"0"},{"last_affected":"5.13-rc3"}]},{"events":[{"introduced":"0"},{"last_affected":"5.13-rc4"}]},{"events":[{"introduced":"0"},{"last_affected":"5.13-rc5"}]},{"events":[{"introduced":"0"},{"last_affected":"5.13-rc6"}]}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}