CVE-2024-49936
Xen Xen-Netback Use-After-Free Vulnerability
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.
INFO
Published Date :
Oct. 21, 2024, 6:15 p.m.
Last Modified :
Oct. 25, 2024, 3:16 p.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
5.9
Exploitability Score :
1.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-49936
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-49936
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-49936
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Oct. 25, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://git.kernel.org/stable/c/0fa5e94a1811d68fbffa0725efe6d4ca62c03d12 No Types Assigned https://git.kernel.org/stable/c/0fa5e94a1811d68fbffa0725efe6d4ca62c03d12 Patch Changed Reference Type https://git.kernel.org/stable/c/143edf098b80669d05245b2f2367dd156a83a2c5 No Types Assigned https://git.kernel.org/stable/c/143edf098b80669d05245b2f2367dd156a83a2c5 Patch Changed Reference Type https://git.kernel.org/stable/c/54d8639af5568fc41c0e274fc3ec9cf86c59fcbb No Types Assigned https://git.kernel.org/stable/c/54d8639af5568fc41c0e274fc3ec9cf86c59fcbb Patch Changed Reference Type https://git.kernel.org/stable/c/a0465723b8581cad27164c9073fd780904cd22d4 No Types Assigned https://git.kernel.org/stable/c/a0465723b8581cad27164c9073fd780904cd22d4 Patch Changed Reference Type https://git.kernel.org/stable/c/a7f0073fcd12ed7de185ef2c0af9d0fa1ddef22c No Types Assigned https://git.kernel.org/stable/c/a7f0073fcd12ed7de185ef2c0af9d0fa1ddef22c Patch Changed Reference Type https://git.kernel.org/stable/c/d408889d4b54f5501e4becc4dbbb9065143fbf4e No Types Assigned https://git.kernel.org/stable/c/d408889d4b54f5501e4becc4dbbb9065143fbf4e Patch Changed Reference Type https://git.kernel.org/stable/c/efcff6ce7467f01f0753609f420333f3f2ceceda No Types Assigned https://git.kernel.org/stable/c/efcff6ce7467f01f0753609f420333f3f2ceceda Patch Added CWE NIST CWE-416 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions up to (excluding) 5.10.227 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.168 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.113 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.55 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.10.14 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.11 up to (excluding) 6.11.3 -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 21, 2024
Action Type Old Value New Value Added 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. Added Reference kernel.org https://git.kernel.org/stable/c/a7f0073fcd12ed7de185ef2c0af9d0fa1ddef22c [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/a0465723b8581cad27164c9073fd780904cd22d4 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/efcff6ce7467f01f0753609f420333f3f2ceceda [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/143edf098b80669d05245b2f2367dd156a83a2c5 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/d408889d4b54f5501e4becc4dbbb9065143fbf4e [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/54d8639af5568fc41c0e274fc3ec9cf86c59fcbb [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/0fa5e94a1811d68fbffa0725efe6d4ca62c03d12 [No types assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-49936
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-49936
weaknesses.