Vulnerability Details : 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.
Vulnerability category: Memory Corruption
Products affected by CVE-2021-47232
Please log in to view affected product information.
Exploit prediction scoring system (EPSS) score for CVE-2021-47232
0.05%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 15 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-47232
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
8.4
|
HIGH | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
2.5
|
5.9
|
134c704f-9b21-4f2e-91b3-4a467353bcc0 | 2024-07-03 |
CWE ids for CVE-2021-47232
-
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.Assigned by: 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)
References for CVE-2021-47232
-
https://git.kernel.org/stable/c/22cba878abf646cd3a02ee7c8c2cef7afe66a256
can: j1939: fix Use-after-Free, hold skb ref while in use - kernel/git/stable/linux.git - Linux kernel stable tree
-
https://git.kernel.org/stable/c/1071065eeb33d32b7d98c2ce7591881ae7381705
can: j1939: fix Use-after-Free, hold skb ref while in use - kernel/git/stable/linux.git - Linux kernel stable tree
-
https://git.kernel.org/stable/c/509ab6bfdd0c76daebbad0f0af07da712116de22
can: j1939: fix Use-after-Free, hold skb ref while in use - kernel/git/stable/linux.git - Linux kernel stable tree
-
https://git.kernel.org/stable/c/2030043e616cab40f510299f09b636285e0a3678
can: j1939: fix Use-after-Free, hold skb ref while in use - kernel/git/stable/linux.git - Linux kernel stable tree
Jump to