CVEvulnerability
CVE-2021-47232
9.8 CRITICAL
Official page ↗
- Status
- Modified
- Published
- 2024-05-21
- Last modified
- 2026-08-04
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 8.4 HIGH — CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-416
Description
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 configurations
• linux linux kernel (>= 5.4 < 5.4.128)
• linux linux kernel (>= 5.5 < 5.10.46)
• linux linux kernel (>= 5.11 < 5.12.13)
• linux linux kernel 5.13
Related
Weakness · CWE (1)
- CWE-416 Use After Free weakness
References
- https://git.kernel.org/stable/c/1071065eeb33d32b7d98c2ce7591881ae7381705 Patch
- https://git.kernel.org/stable/c/2030043e616cab40f510299f09b636285e0a3678 Patch
- https://git.kernel.org/stable/c/22cba878abf646cd3a02ee7c8c2cef7afe66a256 Patch
- https://git.kernel.org/stable/c/509ab6bfdd0c76daebbad0f0af07da712116de22 Patch
- https://git.kernel.org/stable/c/1071065eeb33d32b7d98c2ce7591881ae7381705 Patch
- https://git.kernel.org/stable/c/2030043e616cab40f510299f09b636285e0a3678 Patch
- https://git.kernel.org/stable/c/22cba878abf646cd3a02ee7c8c2cef7afe66a256 Patch
- https://git.kernel.org/stable/c/509ab6bfdd0c76daebbad0f0af07da712116de22 Patch