IM
IronMonkey Threat Research

CVE-2024-40993 MEDIUM

Published: 2024-07-12 | Last Modified: 2026-05-12 | Status: Modified

Description

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().

Additional Descriptions (1)

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().

CVSS Metrics

Base Score: 5.5 (MEDIUM)

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Attack VectorLOCAL
Attack ComplexityLOW
Privileges RequiredLOW
User InteractionNONE
ScopeUNCHANGED
Confidentiality ImpactNONE
Integrity ImpactNONE
Availability ImpactHIGH

Source: [email protected]

Type: Primary

Exploitability Score: 1.8

Impact Score: 3.6

Weaknesses

Source Type Description
[email protected] Primary
en NVD-CWE-noinfo

Affected Products

Vendor Product Version Update Type
linux linux_kernel 6.1.95 <built-in method update of dict object at 0x7fd340225500> Operating System
linux linux_kernel 6.6.35 <built-in method update of dict object at 0x7fd348ef2080> Operating System
linux linux_kernel 6.9.6 <built-in method update of dict object at 0x7fd36b25f3c0> Operating System
linux linux_kernel 6.10 <built-in method update of dict object at 0x7fd2d3949840> Operating System

Affected Configurations

Operator: OR

Vulnerable CPE
Yes cpe:2.3:o:linux:linux_kernel:6.1.95:*:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:6.6.35:*:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:6.9.6:*:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:6.10:rc4:*:*:*:*:*:*

References