CVE-2024-49936
net/xen-netback: prevent UAF in xenvif_flush_hash()
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
CISA's decision points: whether it is exploited, whether attacks can be automated, and how much control an attacker gets. Assessed (SSVC 2.0.3).What do these mean? →
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
Version range not reported
- Linux Linux
4.7
References 8
git.kernel.org
- stable/c/3c4423b0c4b98213b3438e15061e1d08220e6982
- stable/c/a7f0073fcd12ed7de185ef2c0af9d0fa1ddef22c
- stable/c/a0465723b8581cad27164c9073fd780904cd22d4
- stable/c/efcff6ce7467f01f0753609f420333f3f2ceceda
- stable/c/143edf098b80669d05245b2f2367dd156a83a2c5
- stable/c/d408889d4b54f5501e4becc4dbbb9065143fbf4e
- stable/c/54d8639af5568fc41c0e274fc3ec9cf86c59fcbb
- stable/c/0fa5e94a1811d68fbffa0725efe6d4ca62c03d12