CVE-2024-40993

In the Linux kernel, the following vulnerability has been resolved: netfilter: ipset: Fix suspicious rcu_dereference_protected() When destroying all sets, we are either in pernet exit phase or are executing a "destroy all sets command" from userspace. The latter was taken into account in ip_set_dereference() (nfnetlink mutex is held), but the former was not. The patch adds the required check to rcu_dereference_protected() in ip_set_dereference().
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:6.1.95:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.6.35:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9.6:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.10:rc4:*:*:*:*:*:*

History

03 Nov 2025, 22:17

Type Values Removed Values Added
References
  • () https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html -

17 Sep 2025, 14:56

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
CWE NVD-CWE-noinfo
CPE cpe:2.3:o:linux:linux_kernel:6.6.35:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1.95:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9.6:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.10:rc4:*:*:*:*:*:*
References () https://git.kernel.org/stable/c/3799d02ae4208af08e81310770d8754863a246a1 - () https://git.kernel.org/stable/c/3799d02ae4208af08e81310770d8754863a246a1 - Patch
References () https://git.kernel.org/stable/c/3fc09e1ca854bc234e007a56e0f7431f5e2defb5 - () https://git.kernel.org/stable/c/3fc09e1ca854bc234e007a56e0f7431f5e2defb5 - Patch
References () https://git.kernel.org/stable/c/523bed6489e089dd8040e72453fb79da47b144c2 - () https://git.kernel.org/stable/c/523bed6489e089dd8040e72453fb79da47b144c2 - Patch
References () https://git.kernel.org/stable/c/72d9611968867cc4c5509e7708b1507d692b797a - () https://git.kernel.org/stable/c/72d9611968867cc4c5509e7708b1507d692b797a - Patch
References () https://git.kernel.org/stable/c/788d585e62f487bc4536d454937f737b70d39a33 - () https://git.kernel.org/stable/c/788d585e62f487bc4536d454937f737b70d39a33 - Patch
References () https://git.kernel.org/stable/c/8ecd06277a7664f4ef018abae3abd3451d64e7a6 - () https://git.kernel.org/stable/c/8ecd06277a7664f4ef018abae3abd3451d64e7a6 - Patch
References () https://git.kernel.org/stable/c/94dd411c18d7fff9e411555d5c662d29416501e4 - () https://git.kernel.org/stable/c/94dd411c18d7fff9e411555d5c662d29416501e4 - Patch
First Time Linux linux Kernel
Linux

21 Nov 2024, 09:32

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/3799d02ae4208af08e81310770d8754863a246a1 - () https://git.kernel.org/stable/c/3799d02ae4208af08e81310770d8754863a246a1 -
References () https://git.kernel.org/stable/c/3fc09e1ca854bc234e007a56e0f7431f5e2defb5 - () https://git.kernel.org/stable/c/3fc09e1ca854bc234e007a56e0f7431f5e2defb5 -
References () https://git.kernel.org/stable/c/523bed6489e089dd8040e72453fb79da47b144c2 - () https://git.kernel.org/stable/c/523bed6489e089dd8040e72453fb79da47b144c2 -
References () https://git.kernel.org/stable/c/72d9611968867cc4c5509e7708b1507d692b797a - () https://git.kernel.org/stable/c/72d9611968867cc4c5509e7708b1507d692b797a -
References () https://git.kernel.org/stable/c/788d585e62f487bc4536d454937f737b70d39a33 - () https://git.kernel.org/stable/c/788d585e62f487bc4536d454937f737b70d39a33 -
References () https://git.kernel.org/stable/c/8ecd06277a7664f4ef018abae3abd3451d64e7a6 - () https://git.kernel.org/stable/c/8ecd06277a7664f4ef018abae3abd3451d64e7a6 -
References () https://git.kernel.org/stable/c/94dd411c18d7fff9e411555d5c662d29416501e4 - () https://git.kernel.org/stable/c/94dd411c18d7fff9e411555d5c662d29416501e4 -
Summary
  • (es) En el kernel de Linux, se resolvió la siguiente vulnerabilidad: netfilter: ipset: corrige rcu_dereference_protected() sospechoso Al destruir todos los conjuntos, estamos en la fase de salida de pernet o estamos ejecutando un "comando de destruir todos los conjuntos" desde el espacio de usuario. Este último se tuvo en cuenta en ip_set_dereference() (se mantiene el mutex de nfnetlink), pero el primero no. El parche agrega la verificación requerida a rcu_dereference_protected() en ip_set_dereference().

12 Jul 2024, 13:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-07-12 13:15

Updated : 2025-11-03 22:17


NVD link : CVE-2024-40993

Mitre link : CVE-2024-40993

CVE.ORG link : CVE-2024-40993


JSON object : View

Products Affected

linux

  • linux_kernel