Vulnerability Details : CVE-2021-47298
In the Linux kernel, the following vulnerability has been resolved:
bpf, sockmap: Fix potential memory leak on unlikely error case
If skb_linearize is needed and fails we could leak a msg on the error
handling. To fix ensure we kfree the msg block before returning error.
Found during code review.
Products affected by CVE-2021-47298
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
- cpe:2.3:o:linux:linux_kernel:5.14:rc1:*:*:*:*:*:*
- cpe:2.3:o:linux:linux_kernel:5.14:rc2:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-47298
0.03%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 5 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-47298
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.5
|
MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
1.8
|
3.6
|
NIST | 2024-12-23 |
CWE ids for CVE-2021-47298
-
The product does not sufficiently track and release allocated memory after it has been used, which slowly consumes remaining memory.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-47298
-
https://git.kernel.org/stable/c/715f378f42909c401ec043f5150c4fdf57fb8889
bpf, sockmap: Fix potential memory leak on unlikely error case - kernel/git/stable/linux.git - Linux kernel stable treePatch
-
https://git.kernel.org/stable/c/6c508a1c6c62793dc6e6872cad4b200097bab7c9
bpf, sockmap: Fix potential memory leak on unlikely error case - kernel/git/stable/linux.git - Linux kernel stable treePatch
-
https://git.kernel.org/stable/c/7e6b27a69167f97c56b5437871d29e9722c3e470
bpf, sockmap: Fix potential memory leak on unlikely error case - kernel/git/stable/linux.git - Linux kernel stable treePatch
Jump to