CVE-2024-49936

net/xen-netback: prevent UAF in xenvif_flush_hash()

8.8 high EPSS 0.27%

Published 21 Oct 2024 Updated 5 Aug 2026 CNA: Linux

Check your servers for CVE-2024-49936

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-2024-49936 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/xen-netback: prevent UAF in xenvif_flush_hash()

During the list_for_each_entry_rcu iteration call of xenvif_flush_hash, kfree_rcu does not exist inside the rcu read critical section, so if kfree_rcu is called when the rcu grace period ends during the iteration, UAF occurs when accessing head->next after the entry becomes free.

Therefore, to solve this, you need to change it to list_for_each_entry_safe.

Severity (CVSS)

8.8 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
changed: the damage reaches other components, such as the host of a container or other users
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.27%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 21.0% 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 40d8abdee806d496a60ee607a6d01b1cd7fabaf0, before 3c4423b0c4b98213b3438e15061e1d08220e6982
affected from 40d8abdee806d496a60ee607a6d01b1cd7fabaf0, before a7f0073fcd12ed7de185ef2c0af9d0fa1ddef22c
affected from 40d8abdee806d496a60ee607a6d01b1cd7fabaf0, before a0465723b8581cad27164c9073fd780904cd22d4
affected from 40d8abdee806d496a60ee607a6d01b1cd7fabaf0, before efcff6ce7467f01f0753609f420333f3f2ceceda
affected from 40d8abdee806d496a60ee607a6d01b1cd7fabaf0, before 143edf098b80669d05245b2f2367dd156a83a2c5
affected from 40d8abdee806d496a60ee607a6d01b1cd7fabaf0, before d408889d4b54f5501e4becc4dbbb9065143fbf4e
affected from 40d8abdee806d496a60ee607a6d01b1cd7fabaf0, before 54d8639af5568fc41c0e274fc3ec9cf86c59fcbb
affected from 40d8abdee806d496a60ee607a6d01b1cd7fabaf0, before 0fa5e94a1811d68fbffa0725efe6d4ca62c03d12
Other versions: unaffected
Linux
affected 4.7
unaffected before 4.7
unaffected from 5.4.290 up to and including 5.4.*
unaffected from 5.10.227 up to and including 5.10.*
unaffected from 5.15.168 up to and including 5.15.*
unaffected from 6.1.113 up to and including 6.1.*
unaffected from 6.6.55 up to and including 6.6.*
unaffected from 6.10.14 up to and including 6.10.*
unaffected from 6.11.3 up to and including 6.11.*
unaffected 6.12 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-2024-49936 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-49936

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-2024-49936
trivy image --scanners vuln IMAGE | grep CVE-2024-49936

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-2024-49936 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.