Use-after-free in Linux kernel - CVE-2021-47299
Published: May 31, 2024 / Updated: May 14, 2025
Vulnerability identifier: #VU90091
CSH Severity: Low
CVSSv4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2021-47299
CWE-ID: CWE-416
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerable software:
Linux kernel
Linux kernel
Software vendor:
Linux Foundation
Linux Foundation
Description
The vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists due to a use-after-free error within the bpf_xdp_link_attach() function in net/core/dev.c. A local user can escalate privileges on the system.
Remediation
Install update from vendor's website.
External links
- https://git.kernel.org/stable/c/ca9ba1de8f09976b45ccc8e655c51c6201992139
- https://git.kernel.org/stable/c/a7537dc73e69ad9c0b67ad24ad3ebee954ed0af6
- https://git.kernel.org/stable/c/5acc7d3e8d342858405fbbc671221f676b547ce7
- https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.10.54
- https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.13.6
- https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.14