CVE-2024-26910

In the Linux kernel, the following vulnerability has been resolved: netfilter: ipset: fix performance regression in swap operation The patch "netfilter: ipset: fix race condition between swap/destroy and kernel side add/del/test", commit 28628fa9 fixes a race condition. But the synchronize_rcu() added to the swap function unnecessarily slows it down: it can safely be moved to destroy and use call_rcu() instead. Eric Dumazet pointed out that simply calling the destroy functions as rcu callback does not work: sets with timeout use garbage collectors which need cancelling at destroy which can wait. Therefore the destroy functions are split into two: cancelling garbage collectors safely at executing the command received by netlink and moving the remaining part only into the rcu callback.
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

21 Nov 2024, 09:03

Type Values Removed Values Added
References
  • () https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html -
References () https://git.kernel.org/stable/c/653bc5e6d9995d7d5f497c665b321875a626161c - Patch () https://git.kernel.org/stable/c/653bc5e6d9995d7d5f497c665b321875a626161c - Patch
References () https://git.kernel.org/stable/c/970709a67696b100a57b33af1a3d75fc34b747eb - Patch () https://git.kernel.org/stable/c/970709a67696b100a57b33af1a3d75fc34b747eb - Patch
References () https://git.kernel.org/stable/c/97f7cf1cd80eeed3b7c808b7c12463295c751001 - Patch () https://git.kernel.org/stable/c/97f7cf1cd80eeed3b7c808b7c12463295c751001 - Patch
References () https://git.kernel.org/stable/c/a24d5f2ac8ef702a58e55ec276aad29b4bd97e05 - Patch () https://git.kernel.org/stable/c/a24d5f2ac8ef702a58e55ec276aad29b4bd97e05 - Patch
References () https://git.kernel.org/stable/c/b93a6756a01f4fd2f329a39216f9824c56a66397 - Patch () https://git.kernel.org/stable/c/b93a6756a01f4fd2f329a39216f9824c56a66397 - Patch
References () https://git.kernel.org/stable/c/c2dc077d8f722a1c73a24e674f925602ee5ece49 - Patch () https://git.kernel.org/stable/c/c2dc077d8f722a1c73a24e674f925602ee5ece49 - Patch
References () https://git.kernel.org/stable/c/c7f2733e5011bfd136f1ca93497394d43aa76225 - Patch () https://git.kernel.org/stable/c/c7f2733e5011bfd136f1ca93497394d43aa76225 - Patch

05 Nov 2024, 10:16

Type Values Removed Values Added
References
  • {'url': 'https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html', 'source': '416baaa9-dc9f-4396-8d5f-8c081fb06d67'}

25 Jun 2024, 22:15

Type Values Removed Values Added
References
  • () https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html -

29 Apr 2024, 19:14

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: netfilter: ipset: corrige la regresión de rendimiento en la operación de intercambio El parche "netfilter: ipset: corrige la condición de ejecución entre swap/destroy y add/del/test del lado del kernel", commit 28628fa9 corrige un condición de ejecución. Pero elsync_rcu() agregado a la función swap la ralentiza innecesariamente: se puede mover con seguridad para destruir y usar call_rcu() en su lugar. Eric Dumazet señaló que simplemente llamar a las funciones de destrucción como devolución de llamada de rcu no funciona: los conjuntos con tiempo de espera usan recolectores de basura que necesitan cancelarse en la destrucción y que pueden esperar. Por lo tanto, las funciones de destrucción se dividen en dos: cancelar los recolectores de basura de forma segura al ejecutar el comando recibido por netlink y mover la parte restante solo a la devolución de llamada de rcu.
CWE CWE-362
First Time Linux
Linux linux Kernel
References () https://git.kernel.org/stable/c/653bc5e6d9995d7d5f497c665b321875a626161c - () https://git.kernel.org/stable/c/653bc5e6d9995d7d5f497c665b321875a626161c - Patch
References () https://git.kernel.org/stable/c/970709a67696b100a57b33af1a3d75fc34b747eb - () https://git.kernel.org/stable/c/970709a67696b100a57b33af1a3d75fc34b747eb - Patch
References () https://git.kernel.org/stable/c/97f7cf1cd80eeed3b7c808b7c12463295c751001 - () https://git.kernel.org/stable/c/97f7cf1cd80eeed3b7c808b7c12463295c751001 - Patch
References () https://git.kernel.org/stable/c/a24d5f2ac8ef702a58e55ec276aad29b4bd97e05 - () https://git.kernel.org/stable/c/a24d5f2ac8ef702a58e55ec276aad29b4bd97e05 - Patch
References () https://git.kernel.org/stable/c/b93a6756a01f4fd2f329a39216f9824c56a66397 - () https://git.kernel.org/stable/c/b93a6756a01f4fd2f329a39216f9824c56a66397 - Patch
References () https://git.kernel.org/stable/c/c2dc077d8f722a1c73a24e674f925602ee5ece49 - () https://git.kernel.org/stable/c/c2dc077d8f722a1c73a24e674f925602ee5ece49 - Patch
References () https://git.kernel.org/stable/c/c7f2733e5011bfd136f1ca93497394d43aa76225 - () https://git.kernel.org/stable/c/c7f2733e5011bfd136f1ca93497394d43aa76225 - Patch
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 4.7
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

17 Apr 2024, 16:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-04-17 16:15

Updated : 2024-11-21 09:03


NVD link : CVE-2024-26910

Mitre link : CVE-2024-26910

CVE.ORG link : CVE-2024-26910


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-362

Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')