CVE
CVE-2024-49936
CNA 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 versions
All Linux kernel vulnerabilities →
- ≥ 6.11, < 6.11.3Fixed in 6.11.3
- ≥ 6.7, < 6.10.14Fixed in 6.10.14
- ≥ 6.2, < 6.6.55Fixed in 6.6.55
- ≥ 5.16, < 6.1.113Fixed in 6.1.113
- ≥ 5.11, < 5.15.168Fixed in 5.15.168
- < 5.10.227Fixed in 5.10.227
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/stable/c/0fa5e94a1811d68fbffa0725efe6d4ca62c03d12 · Patch
- git.kernel.org/stable/c/143edf098b80669d05245b2f2367dd156a83a2c5 · Patch
- git.kernel.org/stable/c/54d8639af5568fc41c0e274fc3ec9cf86c59fcbb · Patch
- git.kernel.org/stable/c/a0465723b8581cad27164c9073fd780904cd22d4 · Patch
- git.kernel.org/stable/c/a7f0073fcd12ed7de185ef2c0af9d0fa1ddef22c · Patch
- git.kernel.org/stable/c/d408889d4b54f5501e4becc4dbbb9065143fbf4e · Patch
- git.kernel.org/stable/c/efcff6ce7467f01f0753609f420333f3f2ceceda · Patch
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.