net: hsr: Fix potential use-after-free
Published Oct 21, 2024
8.8
HIGHCVSS 3.1
EPSS 0.35%
Description
The skb is delivered to netif_rx() which may free it, after calling this, dereferencing skb may trigger use-after-free.
Affected products
-
Affected
- ≥ , <
- ≥ , <
- ≥ , <
- ≥ , <
- ≥ , <
- ≥ , <
- ≥ , <
- ≥ , <
-
Affected
- 3.13
Unaffected
- ≥ 0, < 3.13
- ≥ 4.14.301, ≤ 4.14.*
- ≥ 4.19.268, ≤ 4.19.*
- ≥ 4.9.335, ≤ 4.9.*
- ≥ 5.10.158, ≤ 5.10.*
- ≥ 5.15.82, ≤ 5.15.*
- ≥ 5.4.226, ≤ 5.4.*
- ≥ 6.0.12, ≤ 6.0.*
- 6.1
Default status is the baseline for the product. Each version can override it (patched versions can be marked unaffected).
| Vendor | Product | Default status | Versions |
|---|---|---|---|
| Linux | Linux | unaffected | Affected
|
| Linux | Linux | affected | Affected
Unaffected
|
- ≥ 3.13 · < 4.9.335
- ≥ 4.10 · < 4.14.301
- ≥ 4.15 · < 4.19.268
- ≥ 4.20 · < 5.4.226
- ≥ 5.5 · < 5.10.158
- ≥ 5.11 · < 5.15.82
- ≥ 5.16 · < 6.0.12
- 6.1
- 6.1
- 6.1
- 6.1
- 6.1
- 6.1
- 6.1
No data.
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 7
kernel
Not affected
Red Hat Enterprise Linux 7
kernel-rt
Not affected
Red Hat Enterprise Linux 8
kernel
Not affected
Red Hat Enterprise Linux 8
kernel-rt
Not affected
Red Hat Enterprise Linux 9
kernel
Fix deferred
Red Hat Enterprise Linux 9
kernel-rt
Fix deferred
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel | Fix deferred | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Fix deferred | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue is considered to be a moderate impact flaw, as the reproduction for this seems only to cause a DOS.
Red Hat 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.
References (14)
- https://access.redhat.com/security/cve/CVE-2022-49015 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2320699 Issue Tracking
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-53899 Advisory
- https://git.kernel.org/stable/c/4b351609af4fdbc23f79ab2b12748f4403ea9af4 Patch
- https://git.kernel.org/stable/c/53a62c5efe91665f7a41fad0f888a96f94dc59eb Patch
- https://git.kernel.org/stable/c/7ca81a161e406834a1fdc405fc83a572bd14b8d9 Patch
- https://git.kernel.org/stable/c/7e177d32442b7ed08a9fa61b61724abc548cb248 Patch
- https://git.kernel.org/stable/c/8393ce5040803666bfa26a3a7bf41e44fab0ace9 Patch
- https://git.kernel.org/stable/c/b35d899854d5d5d58eb7d7e7c0f61afc60d3a9e9 Patch
- https://git.kernel.org/stable/c/dca370e575d9b6c983f5015e8dc035e23e219ee6 Patch
- https://git.kernel.org/stable/c/f3add2b8cf620966de3ebfa07679ca12d33ec26f Patch
- https://lore.kernel.org/linux-cve-announce/2024102153-CVE-2022-49015-1fd0@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2022-49015
- https://www.cve.org/CVERecord?id=CVE-2022-49015
Change history (0)
No recorded changes yet.
CVE.org / MITRE
CISA Vulnrichment
GitHub
No data