CVE-2022-49015

net: hsr: Fix potential use-after-free

8.8 high EPSS 0.35%

Published 21 Oct 2024 Updated 5 Aug 2026 CNA: Linux

Check your servers for CVE-2022-49015

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-49015 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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 (CVSS)

8.8 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
adjacent: the attacker has to be on the same local network or link
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.35%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 30.4% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 22 Oct 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from f421436a591d34fa5279b54a96ac07d70250cc8d, before 8393ce5040803666bfa26a3a7bf41e44fab0ace9
affected from f421436a591d34fa5279b54a96ac07d70250cc8d, before 4b351609af4fdbc23f79ab2b12748f4403ea9af4
affected from f421436a591d34fa5279b54a96ac07d70250cc8d, before b35d899854d5d5d58eb7d7e7c0f61afc60d3a9e9
affected from f421436a591d34fa5279b54a96ac07d70250cc8d, before 53a62c5efe91665f7a41fad0f888a96f94dc59eb
affected from f421436a591d34fa5279b54a96ac07d70250cc8d, before 7ca81a161e406834a1fdc405fc83a572bd14b8d9
affected from f421436a591d34fa5279b54a96ac07d70250cc8d, before dca370e575d9b6c983f5015e8dc035e23e219ee6
affected from f421436a591d34fa5279b54a96ac07d70250cc8d, before f3add2b8cf620966de3ebfa07679ca12d33ec26f
affected from f421436a591d34fa5279b54a96ac07d70250cc8d, before 7e177d32442b7ed08a9fa61b61724abc548cb248
Other versions: unaffected
Linux
affected 3.13
unaffected before 3.13
unaffected from 4.9.335 up to and including 4.9.*
unaffected from 4.14.301 up to and including 4.14.*
unaffected from 4.19.268 up to and including 4.19.*
unaffected from 5.4.226 up to and including 5.4.*
unaffected from 5.10.158 up to and including 5.10.*
unaffected from 5.15.82 up to and including 5.15.*
unaffected from 6.0.12 up to and including 6.0.*
unaffected 6.1 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-49015 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-49015

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2022-49015
trivy image --scanners vuln IMAGE | grep CVE-2022-49015

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2022-49015 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.