CVE-2021-47257·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: net: ieee802154: fix null deref in parse dev addr Fix a logic error that could result in a null deref if the user sets the mode incorrectly for the given addr type.
- Severity
- medium
- Software
- Kernel
- Fixed in
- 5.12.12
- Published
- 2024-05-21
Affected versions
From: 5.11
Until: 5.12.12
Fixed in: 5.12.12
How to fix this CVE
Update your Linux kernel to version 5.12.12 or later to resolve a null pointer dereference vulnerability in the IEEE 802.15.4 network subsystem. The vulnerability occurs when incorrect address mode configuration is provided during device address parsing, potentially causing a kernel crash. Apply the fix promptly to ensure system stability and prevent denial-of-service conditions.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check the installed kernel version: uname -r
- Verify if IEEE 802.15.4 module is loaded: lsmod | grep -i ieee802154
- Review kernel logs for null pointer dereference errors: dmesg | grep -i 'null pointer\|ieee802154'
- Confirm kernel update by running: uname -r and ensuring version is 5.12.12 or later
FAQ
What is CVE-2021-47257?
CVE-2021-47257 is a null pointer dereference vulnerability in the Linux kernel's IEEE 802.15.4 network driver that occurs when device address parsing receives mismatched address type and mode parameters, potentially crashing the kernel.
Is CVE-2021-47257 being actively exploited?
No, there is no evidence of active exploitation or public exploits available for this vulnerability at this time.
What versions of Kernel are affected by CVE-2021-47257?
Linux kernel versions 5.11 through 5.12.11 are vulnerable; the vulnerability was fixed in kernel 5.12.12 and later.
How do I check if my server is vulnerable to CVE-2021-47257?
Run uname -r to check your kernel version. If it returns a version between 5.11 and 5.12.11, your system is vulnerable and requires an immediate kernel update.
Does Defensia detect CVE-2021-47257?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2021-47257 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/1f95741981c899c4724647291fec5faa3c777185
- https://git.kernel.org/stable/c/5f728ec65485625e30f46e5b4917ff023ad29ea0
- https://git.kernel.org/stable/c/9fdd04918a452980631ecc499317881c1d120b70
- https://git.kernel.org/stable/c/c6998ccfefa652bac3f9b236821e392af43efa1e
- https://git.kernel.org/stable/c/c7836de2cadd88bc2f20f2c5a3d4ef4c73aef627
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2021-47257. Free for 1 server.
Get started free