{"id":"CVE-2024-26910","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2024-04-17T16:15:07.860","lastModified":"2026-06-17T07:18:40.137","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"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."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["include/linux/netfilter/ipset/ip_set.h","net/netfilter/ipset/ip_set_bitmap_gen.h","net/netfilter/ipset/ip_set_core.c","net/netfilter/ipset/ip_set_hash_gen.h","net/netfilter/ipset/ip_set_list_set.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"427deb5ba5661c4ae1cfb35955d2e01bd5f3090a","lessThan":"c7f2733e5011bfd136f1ca93497394d43aa76225","versionType":"git","status":"affected"},{"version":"e7152a138a5ac77439ff4e7a7533448a7d4c260d","lessThan":"a24d5f2ac8ef702a58e55ec276aad29b4bd97e05","versionType":"git","status":"affected"},{"version":"8bb930c3a1eacec1b14817f565ff81667c7c5dfa","lessThan":"c2dc077d8f722a1c73a24e674f925602ee5ece49","versionType":"git","status":"affected"},{"version":"875ee3a09e27b7adb7006ca6d16faf7f33415aa5","lessThan":"653bc5e6d9995d7d5f497c665b321875a626161c","versionType":"git","status":"affected"},{"version":"23c31036f862582f98386120aee55c9ae23d7899","lessThan":"b93a6756a01f4fd2f329a39216f9824c56a66397","versionType":"git","status":"affected"},{"version":"28628fa952fefc7f2072ce6e8016968cc452b1ba","lessThan":"970709a67696b100a57b33af1a3d75fc34b747eb","versionType":"git","status":"affected"},{"version":"28628fa952fefc7f2072ce6e8016968cc452b1ba","lessThan":"97f7cf1cd80eeed3b7c808b7c12463295c751001","versionType":"git","status":"affected"},{"version":"a12606e5ad0cee8f4ba3ec68561c4d6275d2df57","versionType":"git","status":"affected"},{"version":"5.4.264","lessThan":"5.4.269","versionType":"semver","status":"affected"},{"version":"5.10.204","lessThan":"5.10.210","versionType":"semver","status":"affected"},{"version":"5.15.143","lessThan":"5.15.149","versionType":"semver","status":"affected"},{"version":"6.1.68","lessThan":"6.1.79","versionType":"semver","status":"affected"},{"version":"6.6.7","lessThan":"6.6.18","versionType":"semver","status":"affected"},{"version":"4.19.302","lessThan":"4.20","versionType":"semver","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["include/linux/netfilter/ipset/ip_set.h","net/netfilter/ipset/ip_set_bitmap_gen.h","net/netfilter/ipset/ip_set_core.c","net/netfilter/ipset/ip_set_hash_gen.h","net/netfilter/ipset/ip_set_list_set.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6.7","status":"affected"},{"version":"0","lessThan":"6.7","versionType":"semver","status":"unaffected"},{"version":"5.4.269","lessThanOrEqual":"5.4.*","versionType":"semver","status":"unaffected"},{"version":"5.10.210","lessThanOrEqual":"5.10.*","versionType":"semver","status":"unaffected"},{"version":"5.15.149","lessThanOrEqual":"5.15.*","versionType":"semver","status":"unaffected"},{"version":"6.1.79","lessThanOrEqual":"6.1.*","versionType":"semver","status":"unaffected"},{"version":"6.6.18","lessThanOrEqual":"6.6.*","versionType":"semver","status":"unaffected"},{"version":"6.7.6","lessThanOrEqual":"6.7.*","versionType":"semver","status":"unaffected"},{"version":"6.8","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":4.7,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":1.0,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2024-04-23T14:01:29.284146Z","id":"CVE-2024-26910","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-362"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.4.269","matchCriteriaId":"48E561A5-2F59-4E74-BFAB-39B8D844FD15"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"5.10.210","matchCriteriaId":"F5CB4CA6-A9A0-4AFD-9102-8CF94D708170"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"5.15.149","matchCriteriaId":"0D0465BB-4053-4E15-9137-6696EBAE90FD"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"6.1.79","matchCriteriaId":"656E2F29-1779-4EFC-AA64-8F984E2885B1"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.6.18","matchCriteriaId":"BD961E49-FEDA-47CF-BF23-4D2BD942B4E0"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"6.7.6","matchCriteriaId":"C6D6A5C8-7308-42A9-8A72-ABF3DEA4BB82"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/653bc5e6d9995d7d5f497c665b321875a626161c","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/970709a67696b100a57b33af1a3d75fc34b747eb","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/97f7cf1cd80eeed3b7c808b7c12463295c751001","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/a24d5f2ac8ef702a58e55ec276aad29b4bd97e05","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/b93a6756a01f4fd2f329a39216f9824c56a66397","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/c2dc077d8f722a1c73a24e674f925602ee5ece49","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/c7f2733e5011bfd136f1ca93497394d43aa76225","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/653bc5e6d9995d7d5f497c665b321875a626161c","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/970709a67696b100a57b33af1a3d75fc34b747eb","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/97f7cf1cd80eeed3b7c808b7c12463295c751001","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/a24d5f2ac8ef702a58e55ec276aad29b4bd97e05","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/b93a6756a01f4fd2f329a39216f9824c56a66397","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/c2dc077d8f722a1c73a24e674f925602ee5ece49","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/c7f2733e5011bfd136f1ca93497394d43aa76225","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html","source":"af854a3a-2127-422b-91ae-364da2661108"}]}