CVE-2022-49015·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: net: hsr: Fix potential use-after-free The skb is delivered to netif_rx() which may free it, after calling this, dereferencing skb may trigger use-after-free.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.0.12
- Published
- 2024-10-21
Affected versions
From: 5.16
Until: 6.0.12
Fixed in: 6.0.12
How to fix this CVE
Update the Linux kernel to version 6.0.12 or later to resolve a use-after-free vulnerability in the HSR (High-availability Seamless Redundancy) networking subsystem. This vulnerability could allow a local privileged attacker to cause memory corruption or system instability. Apply the kernel update and reboot your system to ensure the patch takes effect.
sudo dnf update kernel kernel-devel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Check your current kernel version: uname -r and verify if it falls within 5.16 to 6.0.11 range
- Confirm HSR module is loaded: lsmod | grep hsr to determine if the affected networking component is active
- Search kernel logs for HSR-related errors: dmesg | grep -i hsr or journalctl -b | grep -i hsr to identify any memory corruption signs
- After patching, verify the new kernel version: uname -r should show 6.0.12 or higher, and reboot confirmation ensures the patch is active
FAQ
What is CVE-2022-49015?
This vulnerability exists in the Linux kernel's HSR networking implementation where memory dereferencing occurs after a packet buffer is freed by the network stack, creating a use-after-free condition that could corrupt kernel memory.
Is CVE-2022-49015 being actively exploited?
No, this vulnerability is not listed on the CISA KEV catalog and has no known public exploits. However, exploitation requires local privileged access, limiting its attack surface.
What versions of Kernel are affected by CVE-2022-49015?
Linux kernel versions 5.16 through 6.0.11 are vulnerable. Kernel 6.0.12 and later contain the fix.
How do I check if my server is vulnerable to CVE-2022-49015?
Run `uname -r` to see your kernel version. If it shows any version between 5.16 and 6.0.11, you are vulnerable. Additionally, check `lsmod | grep hsr` to confirm the HSR module is loaded on your system.
Does Defensia detect CVE-2022-49015?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2022-49015 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/4b351609af4fdbc23f79ab2b12748f4403ea9af4
- https://git.kernel.org/stable/c/53a62c5efe91665f7a41fad0f888a96f94dc59eb
- https://git.kernel.org/stable/c/7ca81a161e406834a1fdc405fc83a572bd14b8d9
- https://git.kernel.org/stable/c/7e177d32442b7ed08a9fa61b61724abc548cb248
- https://git.kernel.org/stable/c/8393ce5040803666bfa26a3a7bf41e44fab0ace9
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2022-49015. Free for 1 server.
Get started free