CVE-2021-47232

published 21 May 2024 · updated 5 Aug 2026

can: j1939: fix Use-after-Free, hold skb ref while in use

9.8CriticalCVSS 9.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel 1071065eeb33d32b7d98c2ce7591881ae7381705, Kernel 2030043e616cab40f510299f09b636285e0a3678, Kernel 22cba878abf646cd3a02ee7c8c2cef7afe66a256 and 1 more.

In the Linux kernel, the following vulnerability has been resolved: can: j1939: fix Use-after-Free, hold skb ref while in use This patch fixes a Use-after-Free found by the syzbot. The problem is that a skb is taken from the per-session skb queue, without incrementing the ref count. This leads to a Use-after-Free if the skb is taken concurrently from the session queue due to a CTS.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.4, >=9d71dd0c70099914fcd063135da3c580865e924c <1071065eeb33d32b7d98c2ce7591881ae7381705, >=9d71dd0c70099914fcd063135da3c580865e924c <2030043e616cab40f510299f09b636285e0a3678, >=9d71dd0c70099914fcd063135da3c580865e924c <22cba878abf646cd3a02ee7c8c2cef7afe66a256, >=9d71dd0c70099914fcd063135da3c580865e924c <509ab6bfdd0c76daebbad0f0af07da712116de221071065eeb33d32b7d98c2ce7591881ae7381705, 2030043e616cab40f510299f09b636285e0a3678, 22cba878abf646cd3a02ee7c8c2cef7afe66a256, 509ab6bfdd0c76daebbad0f0af07da712116de22

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-47232 severity on Zeptric[![CVE-2021-47232](https://zeptric.io/badge/cve/CVE-2021-47232.svg)](https://zeptric.io/cve/CVE-2021-47232)