CVE-2024-49936

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

HIGH
7.8
CVSS Score
Published: October 21, 2024 at 06:01 PM UTC
Updated: August 5, 2026 at 12:05 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 5.10.2274.7 ≤ v < 5.10.2274.7 ≤ v < 5.15.1684.7 ≤ v < 5.4.2904.7 ≤ v < 6.1.1134.7 ≤ v < 6.10.144.7 ≤ v < 6.11.34.7 ≤ v < 6.124.7 ≤ v < 6.6.555.11 ≤ v < 5.15.1685.16 ≤ v < 6.1.1136.11 ≤ v < 6.11.36.2 ≤ v < 6.6.556.7 ≤ v < 6.10.144.740d8abdee806d496a60ee607a6d01b1cd7fabaf0
Vendor states this is fixed in 0fa5e94a1811d68fbffa0725efe6d4ca62c03d12 (fixed)
Vendor states this is fixed in 143edf098b80669d05245b2f2367dd156a83a2c5 (fixed)
Vendor states this is fixed in 3c4423b0c4b98213b3438e15061e1d08220e6982 (fixed)
Vendor states this is fixed in 54d8639af5568fc41c0e274fc3ec9cf86c59fcbb (fixed)
Vendor states this is fixed in a0465723b8581cad27164c9073fd780904cd22d4 (fixed)
Vendor states this is fixed in a7f0073fcd12ed7de185ef2c0af9d0fa1ddef22c (fixed)
Vendor states this is fixed in d408889d4b54f5501e4becc4dbbb9065143fbf4e (fixed)
Vendor states this is fixed in efcff6ce7467f01f0753609f420333f3f2ceceda (fixed)
Vendor states this is fixed in 4.7 (unaffected)
Vendor states this is fixed in 5.10.227 (unaffected)
Vendor states this is fixed in 5.15.168 (unaffected)
Vendor states this is fixed in 5.4.290 (unaffected)
Vendor states this is fixed in 6.1.113 (unaffected)
Vendor states this is fixed in 6.10.14 (unaffected)
Vendor states this is fixed in 6.11.3 (unaffected)
Vendor states this is fixed in 6.12 (unaffected)
Vendor states this is fixed in 6.6.55 (unaffected)

References (10)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0fa5e94a1811d68fbffa0725efe6d4ca62c03d12
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/143edf098b80669d05245b2f2367dd156a83a2c5
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/54d8639af5568fc41c0e274fc3ec9cf86c59fcbb
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a0465723b8581cad27164c9073fd780904cd22d4
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a7f0073fcd12ed7de185ef2c0af9d0fa1ddef22c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d408889d4b54f5501e4becc4dbbb9065143fbf4e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/efcff6ce7467f01f0753609f420333f3f2ceceda

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card