CVE-2022-49015
kernel: net: hsr: Fix potential use-after-free
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · October 21, 2024
Updated · September 14, 2026
Description
A flaw was found in the Linux kernel's High-availability Seamless Redundancy (HSR) networking component. This vulnerability involves a use-after-free error where a network packet's data structure (skb) can be prematurely freed. If the system attempts to access this freed memory, it can lead to a system crash, resulting in a Denial of Service (DoS).
Statement
This issue is considered to be a moderate impact flaw, as the reproduction for this seems only to cause a DOS.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
To mitigate this issue, prevent the hsr kernel module from loading. Create a file named /etc/modprobe.d/blacklist-hsr.conf with the following content:
blacklist hsr
After creating the file, regenerate the initramfs and reboot the system for the changes to take effect:
dracut -f -v
reboot
Disabling the hsr module may impact systems that rely on High-availability Seamless Redundancy networking.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-416 · Use After Free