{"id":"CVE-2024-26910","aliases":["CVE-2024-26910"],"related":[],"kind":"vulnerability","state":"published","title":"netfilter: ipset: fix performance regression in swap operation","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: ipset: fix performance regression in swap operation\n\nThe patch \"netfilter: ipset: fix race condition between swap/destroy\nand kernel side add/del/test\", commit 28628fa9 fixes a race condition.\nBut the synchronize_rcu() added to the swap function unnecessarily slows\nit down: it can safely be moved to destroy and use call_rcu() instead.\n\nEric Dumazet pointed out that simply calling the destroy functions as\nrcu callback does not work: sets with timeout use garbage collectors\nwhich need cancelling at destroy which can wait. Therefore the destroy\nfunctions are split into two: cancelling garbage collectors safely at\nexecuting the command received by netlink and moving the remaining\npart only into the rcu callback.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: ipset: fix performance regression in swap operation\n\nThe patch \"netfilter: ipset: fix race condition between swap/destroy\nand kernel side add/del/test\", commit 28628fa9 fixes a race condition.\nBut the synchronize_rcu() added to the swap function unnecessarily slows\nit down: it can safely be moved to destroy and use call_rcu() instead.\n\nEric Dumazet pointed out that simply calling the destroy functions as\nrcu callback does not work: sets with timeout use garbage collectors\nwhich need cancelling at destroy which can wait. Therefore the destroy\nfunctions are split into two: cancelling garbage collectors safely at\nexecuting the command received by netlink and moving the remaining\npart only into the rcu callback.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2024-04-17T15:59:21.967Z","modified":"2026-06-17T07:18:40.137Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","score":4.7,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","score":4.7,"rating":"MEDIUM"}],"cwes":["CWE-362"],"affected":[{"ranges":[{"type":"git","introduced":"427deb5ba5661c4ae1cfb35955d2e01bd5f3090a","fixed":"c7f2733e5011bfd136f1ca93497394d43aa76225","status":"affected"},{"type":"git","introduced":"e7152a138a5ac77439ff4e7a7533448a7d4c260d","fixed":"a24d5f2ac8ef702a58e55ec276aad29b4bd97e05","status":"affected"},{"type":"git","introduced":"8bb930c3a1eacec1b14817f565ff81667c7c5dfa","fixed":"c2dc077d8f722a1c73a24e674f925602ee5ece49","status":"affected"},{"type":"git","introduced":"875ee3a09e27b7adb7006ca6d16faf7f33415aa5","fixed":"653bc5e6d9995d7d5f497c665b321875a626161c","status":"affected"},{"type":"git","introduced":"23c31036f862582f98386120aee55c9ae23d7899","fixed":"b93a6756a01f4fd2f329a39216f9824c56a66397","status":"affected"},{"type":"git","introduced":"28628fa952fefc7f2072ce6e8016968cc452b1ba","fixed":"970709a67696b100a57b33af1a3d75fc34b747eb","status":"affected"},{"type":"git","introduced":"28628fa952fefc7f2072ce6e8016968cc452b1ba","fixed":"97f7cf1cd80eeed3b7c808b7c12463295c751001","status":"affected"},{"type":"git","version":"a12606e5ad0cee8f4ba3ec68561c4d6275d2df57","status":"affected"},{"type":"semver","introduced":"5.4.264","fixed":"5.4.269","status":"affected"},{"type":"semver","introduced":"5.10.204","fixed":"5.10.210","status":"affected"},{"type":"semver","introduced":"5.15.143","fixed":"5.15.149","status":"affected"},{"type":"semver","introduced":"6.1.68","fixed":"6.1.79","status":"affected"},{"type":"semver","introduced":"6.6.7","fixed":"6.6.18","status":"affected"},{"type":"semver","introduced":"4.19.302","fixed":"4.20","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.7","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.7","status":"unaffected"},{"type":"semver","introduced":"5.4.269","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.210","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.149","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.79","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.18","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.7.6","lastAffected":"6.7.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.8","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"5.4.269"},{"status":"affected","introduced":"5.5","fixed":"5.10.210"},{"status":"affected","introduced":"5.11","fixed":"5.15.149"},{"status":"affected","introduced":"5.16","fixed":"6.1.79"},{"status":"affected","introduced":"6.2","fixed":"6.6.18"},{"status":"affected","introduced":"6.7","fixed":"6.7.6"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/c7f2733e5011bfd136f1ca93497394d43aa76225","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a24d5f2ac8ef702a58e55ec276aad29b4bd97e05","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c2dc077d8f722a1c73a24e674f925602ee5ece49","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/653bc5e6d9995d7d5f497c665b321875a626161c","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b93a6756a01f4fd2f329a39216f9824c56a66397","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/970709a67696b100a57b33af1a3d75fc34b747eb","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/97f7cf1cd80eeed3b7c808b7c12463295c751001","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html","tags":["x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-04-23T14:01:29.284Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-26910","url":"https://www.cve.org/CVERecord?id=CVE-2024-26910","licence":"CVE Terms of Use","modified":"2026-05-23T15:39:51.569Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-26910","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-26910","licence":"Public domain","modified":"2026-06-17T07:18:40.137Z"}],"updatedAt":"2026-11-25T22:58:39.408Z","epss":{"score":0.00175,"percentile":0.07328,"date":"2026-12-01T12:00:22.000Z"}}