CVE-2024-49936

published 21 Oct 2024 · updated 12 Aug 2026

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

8.8HighCVSS 8.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0fa5e94a1811d68fbffa0725efe6d4ca62c03d12, Kernel 143edf098b80669d05245b2f2367dd156a83a2c5, Kernel 3c4423b0c4b98213b3438e15061e1d08220e6982 and 5 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=4.7, >=40d8abdee806d496a60ee607a6d01b1cd7fabaf0 <0fa5e94a1811d68fbffa0725efe6d4ca62c03d12, >=40d8abdee806d496a60ee607a6d01b1cd7fabaf0 <143edf098b80669d05245b2f2367dd156a83a2c5, >=40d8abdee806d496a60ee607a6d01b1cd7fabaf0 <3c4423b0c4b98213b3438e15061e1d08220e6982, >=40d8abdee806d496a60ee607a6d01b1cd7fabaf0 <54d8639af5568fc41c0e274fc3ec9cf86c59fcbb, >=40d8abdee806d496a60ee607a6d01b1cd7fabaf0 <a0465723b8581cad27164c9073fd780904cd22d4, >=40d8abdee806d496a60ee607a6d01b1cd7fabaf0 <a7f0073fcd12ed7de185ef2c0af9d0fa1ddef22c, >=40d8abdee806d496a60ee607a6d01b1cd7fabaf0 <d408889d4b54f5501e4becc4dbbb9065143fbf4e, >=40d8abdee806d496a60ee607a6d01b1cd7fabaf0 <efcff6ce7467f01f0753609f420333f3f2ceceda0fa5e94a1811d68fbffa0725efe6d4ca62c03d12, 143edf098b80669d05245b2f2367dd156a83a2c5, 3c4423b0c4b98213b3438e15061e1d08220e6982, 54d8639af5568fc41c0e274fc3ec9cf86c59fcbb, a0465723b8581cad27164c9073fd780904cd22d4, a7f0073fcd12ed7de185ef2c0af9d0fa1ddef22c, d408889d4b54f5501e4becc4dbbb9065143fbf4e, efcff6ce7467f01f0753609f420333f3f2ceceda

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-49936 severity on Zeptric[![CVE-2024-49936](https://zeptric.io/badge/cve/CVE-2024-49936.svg)](https://zeptric.io/cve/CVE-2024-49936)