Skip to content
CVE PROGRAM SOURCE RECORD8.8 High

CVE-2024-49936

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

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 40d8abdee806d496a60ee607a6d01b1cd7fabaf0 to < 3c4423b0c4b98213b3438e15061e1d08220e6982affected
  • 40d8abdee806d496a60ee607a6d01b1cd7fabaf0 to < a7f0073fcd12ed7de185ef2c0af9d0fa1ddef22caffected
  • 40d8abdee806d496a60ee607a6d01b1cd7fabaf0 to < a0465723b8581cad27164c9073fd780904cd22d4affected
  • 40d8abdee806d496a60ee607a6d01b1cd7fabaf0 to < efcff6ce7467f01f0753609f420333f3f2cecedaaffected
  • 40d8abdee806d496a60ee607a6d01b1cd7fabaf0 to < 143edf098b80669d05245b2f2367dd156a83a2c5affected
  • 40d8abdee806d496a60ee607a6d01b1cd7fabaf0 to < d408889d4b54f5501e4becc4dbbb9065143fbf4eaffected
  • 40d8abdee806d496a60ee607a6d01b1cd7fabaf0 to < 54d8639af5568fc41c0e274fc3ec9cf86c59fcbbaffected
  • 40d8abdee806d496a60ee607a6d01b1cd7fabaf0 to < 0fa5e94a1811d68fbffa0725efe6d4ca62c03d12affected

Linux Linux

Default version status: affected

  • 4.7affected
  • 0 to < 4.7unaffected
  • 5.4.290 to ≤ 5.4.*unaffected
  • 5.10.227 to ≤ 5.10.*unaffected
  • 5.15.168 to ≤ 5.15.*unaffected
  • 6.1.113 to ≤ 6.1.*unaffected
  • 6.6.55 to ≤ 6.6.*unaffected
  • 6.10.14 to ≤ 6.10.*unaffected
  • 6.11.3 to ≤ 6.11.*unaffected
  • 6.12 to ≤ *unaffected

References