CVE-2024-49936

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

State
Published
Severity
8.8 High
Published
Oct 21, 2024
Updated
Aug 5, 2026
Reserved
Oct 21, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 40d8abdee806d496a60ee607a6d01b1cd7fabaf0 to before 3c4423b0c4b98213b3438e15061e1d08220e6982Affected
  • 40d8abdee806d496a60ee607a6d01b1cd7fabaf0 to before a7f0073fcd12ed7de185ef2c0af9d0fa1ddef22cAffected
  • 40d8abdee806d496a60ee607a6d01b1cd7fabaf0 to before a0465723b8581cad27164c9073fd780904cd22d4Affected
  • 40d8abdee806d496a60ee607a6d01b1cd7fabaf0 to before efcff6ce7467f01f0753609f420333f3f2cecedaAffected
  • 40d8abdee806d496a60ee607a6d01b1cd7fabaf0 to before 143edf098b80669d05245b2f2367dd156a83a2c5Affected
  • 40d8abdee806d496a60ee607a6d01b1cd7fabaf0 to before d408889d4b54f5501e4becc4dbbb9065143fbf4eAffected
  • 40d8abdee806d496a60ee607a6d01b1cd7fabaf0 to before 54d8639af5568fc41c0e274fc3ec9cf86c59fcbbAffected
  • 40d8abdee806d496a60ee607a6d01b1cd7fabaf0 to before 0fa5e94a1811d68fbffa0725efe6d4ca62c03d12Affected
LinuxLinux
  • 4.7Affected
  • before 4.7Not affected
  • 5.4.290 through 5.4.*Not affected
  • 5.10.227 through 5.10.*Not affected
  • 5.15.168 through 5.15.*Not affected
  • 6.1.113 through 6.1.*Not affected
  • 6.6.55 through 6.6.*Not affected
  • 6.10.14 through 6.10.*Not affected
  • 6.11.3 through 6.11.*Not affected
  • 6.12 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.