CVE-2024-49936

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

25 Oct 2024, 15:16

Type Values Removed Values Added
CWE CWE-416
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
First Time Linux linux Kernel
Linux
References () https://git.kernel.org/stable/c/0fa5e94a1811d68fbffa0725efe6d4ca62c03d12 - () https://git.kernel.org/stable/c/0fa5e94a1811d68fbffa0725efe6d4ca62c03d12 - Patch
References () https://git.kernel.org/stable/c/143edf098b80669d05245b2f2367dd156a83a2c5 - () https://git.kernel.org/stable/c/143edf098b80669d05245b2f2367dd156a83a2c5 - Patch
References () https://git.kernel.org/stable/c/54d8639af5568fc41c0e274fc3ec9cf86c59fcbb - () https://git.kernel.org/stable/c/54d8639af5568fc41c0e274fc3ec9cf86c59fcbb - Patch
References () https://git.kernel.org/stable/c/a0465723b8581cad27164c9073fd780904cd22d4 - () https://git.kernel.org/stable/c/a0465723b8581cad27164c9073fd780904cd22d4 - Patch
References () https://git.kernel.org/stable/c/a7f0073fcd12ed7de185ef2c0af9d0fa1ddef22c - () https://git.kernel.org/stable/c/a7f0073fcd12ed7de185ef2c0af9d0fa1ddef22c - Patch
References () https://git.kernel.org/stable/c/d408889d4b54f5501e4becc4dbbb9065143fbf4e - () https://git.kernel.org/stable/c/d408889d4b54f5501e4becc4dbbb9065143fbf4e - Patch
References () https://git.kernel.org/stable/c/efcff6ce7467f01f0753609f420333f3f2ceceda - () https://git.kernel.org/stable/c/efcff6ce7467f01f0753609f420333f3f2ceceda - Patch
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8

23 Oct 2024, 15:13

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net/xen-netback: evitar UAF en xenvif_flush_hash() Durante la llamada de iteración list_for_each_entry_rcu de xenvif_flush_hash, kfree_rcu no existe dentro de la sección crítica de lectura de rcu, por lo que si se llama a kfree_rcu cuando finaliza el período de gracia de rcu durante la iteración, se produce UAF al acceder a head->next después de que la entrada se libera. Por lo tanto, para resolver esto, debe cambiarlo a list_for_each_entry_safe.

21 Oct 2024, 18:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-10-21 18:15

Updated : 2024-10-25 15:16


NVD link : CVE-2024-49936

Mitre link : CVE-2024-49936

CVE.ORG link : CVE-2024-49936


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-416

Use After Free