CVE-2021-47232

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.13:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.13:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.13:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.13:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.13:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.13:rc6:*:*:*:*:*:*

History

04 Apr 2025, 14:31

Type Values Removed Values Added
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.13:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.13:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.13:rc6:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.13:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.13:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.13:rc4:*:*:*:*:*:*
First Time Linux linux Kernel
Linux
References () https://git.kernel.org/stable/c/1071065eeb33d32b7d98c2ce7591881ae7381705 - () https://git.kernel.org/stable/c/1071065eeb33d32b7d98c2ce7591881ae7381705 - Patch
References () https://git.kernel.org/stable/c/2030043e616cab40f510299f09b636285e0a3678 - () https://git.kernel.org/stable/c/2030043e616cab40f510299f09b636285e0a3678 - Patch
References () https://git.kernel.org/stable/c/22cba878abf646cd3a02ee7c8c2cef7afe66a256 - () https://git.kernel.org/stable/c/22cba878abf646cd3a02ee7c8c2cef7afe66a256 - Patch
References () https://git.kernel.org/stable/c/509ab6bfdd0c76daebbad0f0af07da712116de22 - () https://git.kernel.org/stable/c/509ab6bfdd0c76daebbad0f0af07da712116de22 - Patch

21 Nov 2024, 06:35

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/1071065eeb33d32b7d98c2ce7591881ae7381705 - () https://git.kernel.org/stable/c/1071065eeb33d32b7d98c2ce7591881ae7381705 -
References () https://git.kernel.org/stable/c/2030043e616cab40f510299f09b636285e0a3678 - () https://git.kernel.org/stable/c/2030043e616cab40f510299f09b636285e0a3678 -
References () https://git.kernel.org/stable/c/22cba878abf646cd3a02ee7c8c2cef7afe66a256 - () https://git.kernel.org/stable/c/22cba878abf646cd3a02ee7c8c2cef7afe66a256 -
References () https://git.kernel.org/stable/c/509ab6bfdd0c76daebbad0f0af07da712116de22 - () https://git.kernel.org/stable/c/509ab6bfdd0c76daebbad0f0af07da712116de22 -

03 Jul 2024, 01:37

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: can: j1939: corrige Use-after-Free, mantenga presionada la referencia skb mientras está en uso. Este parche corrige un Use-after-Free encontrado por syzbot. El problema es que se toma un skb de la cola de skb por sesión, sin incrementar el recuento de referencias. Esto conduce a un use after free si el skb se toma simultáneamente de la cola de sesión debido a un CTS.
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 8.4
CWE CWE-416

21 May 2024, 15:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-05-21 15:15

Updated : 2025-04-04 14:31


NVD link : CVE-2021-47232

Mitre link : CVE-2021-47232

CVE.ORG link : CVE-2021-47232


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-416

Use After Free