{"id":"CVE-2024-27397","aliases":["CVE-2024-27397"],"related":[],"kind":"vulnerability","state":"published","title":"netfilter: nf_tables: use timestamp to check for set element timeout","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nf_tables: use timestamp to check for set element timeout\n\nAdd a timestamp field at the beginning of the transaction, store it\nin the nftables per-netns area.\n\nUpdate set backend .insert, .deactivate and sync gc path to use the\ntimestamp, this avoids that an element expires while control plane\ntransaction is still unfinished.\n\n.lookup and .update, which are used from packet path, still use the\ncurrent time to check if the element has expired. And .get path and dump\nalso since this runs lockless under rcu read size lock. Then, there is\nasync gc which also needs to check the current time since it runs\nasynchronously from a workqueue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nf_tables: use timestamp to check for set element timeout\n\nAdd a timestamp field at the beginning of the transaction, store it\nin the nftables per-netns area.\n\nUpdate set backend .insert, .deactivate and sync gc path to use the\ntimestamp, this avoids that an element expires while control plane\ntransaction is still unfinished.\n\n.lookup and .update, which are used from packet path, still use the\ncurrent time to check if the element has expired. And .get path and dump\nalso since this runs lockless under rcu read size lock. Then, there is\nasync gc which also needs to check the current time since it runs\nasynchronously from a workqueue.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: netfilter: nf_tables: use la marca de tiempo para verificar el tiempo de espera del elemento establecido. Agregue un campo de marca de tiempo al comienzo de la transacción y guárdelo en el área nftables per-netns. Actualice el conjunto de backend .insert, .deactivate y sincronice la ruta gc para usar la marca de tiempo, esto evita que un elemento caduque mientras la transacción del plano de control aún no ha finalizado. .lookup y .update, que se usan desde la ruta del paquete, aún usan la hora actual para verificar si el elemento ha caducado. Y obtener ruta y volcar también, ya que se ejecuta sin bloqueo bajo el bloqueo de tamaño de lectura de rcu. Luego, está el gc async que también necesita verificar la hora actual, ya que se ejecuta de forma asincrónica desde una cola de trabajo.","source":"nvd"}],"published":"2024-05-09T16:37:22.463Z","modified":"2026-10-15T01:17:40.477Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"c3e1b005ed1cc068fc9d454a6e745830d55d251d","fixed":"f8dfda798650241c1692058713ca4fef8e429061","status":"affected"},{"type":"git","introduced":"c3e1b005ed1cc068fc9d454a6e745830d55d251d","fixed":"eaf1a29ea5d7dba8e84e9e9f3b3f47d0cd540bfe","status":"affected"},{"type":"git","introduced":"c3e1b005ed1cc068fc9d454a6e745830d55d251d","fixed":"7b17de2a71e56c10335b565cc7ad238e6d984379","status":"affected"},{"type":"git","introduced":"c3e1b005ed1cc068fc9d454a6e745830d55d251d","fixed":"0d40e8cb1d1f56a994cdd2e015af622fdca9ed4d","status":"affected"},{"type":"git","introduced":"c3e1b005ed1cc068fc9d454a6e745830d55d251d","fixed":"b45176b869673417ace338b87cf9cdb66e2eeb01","status":"affected"},{"type":"git","introduced":"c3e1b005ed1cc068fc9d454a6e745830d55d251d","fixed":"7fa2e2960fff8322ce2ded57b5f8e9cbc450b967","status":"affected"},{"type":"git","introduced":"c3e1b005ed1cc068fc9d454a6e745830d55d251d","fixed":"383182db8d58c4237772ba0764cded4938a235c3","status":"affected"},{"type":"git","introduced":"c3e1b005ed1cc068fc9d454a6e745830d55d251d","fixed":"7395dfacfff65e9938ac0889dafa1ab01e987d15","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.1","status":"unaffected"},{"type":"semver","introduced":"4.19.320","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.282","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.224","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.165","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.97","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.84","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.7.5","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","introduced":"4.1","fixed":"4.19.320"},{"status":"affected","introduced":"4.20","fixed":"5.4.282"},{"status":"affected","introduced":"5.5","fixed":"5.10.224"},{"status":"affected","introduced":"5.11","fixed":"5.15.165"},{"status":"affected","introduced":"5.16","fixed":"6.1.97"},{"status":"affected","introduced":"6.2","fixed":"6.6.84"},{"status":"affected","introduced":"6.7","fixed":"6.7.5"},{"status":"affected","version":"6.8"},{"status":"affected","version":"6.8"},{"status":"affected","version":"6.8"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/f8dfda798650241c1692058713ca4fef8e429061","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/eaf1a29ea5d7dba8e84e9e9f3b3f47d0cd540bfe","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7b17de2a71e56c10335b565cc7ad238e6d984379","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0d40e8cb1d1f56a994cdd2e015af622fdca9ed4d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b45176b869673417ace338b87cf9cdb66e2eeb01","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7fa2e2960fff8322ce2ded57b5f8e9cbc450b967","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/383182db8d58c4237772ba0764cded4938a235c3","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7395dfacfff65e9938ac0889dafa1ab01e987d15","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-06-17T17:39:42.529Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-27397","url":"https://www.cve.org/CVERecord?id=CVE-2024-27397","licence":"CVE Terms of Use","modified":"2026-10-15T00:40:17.017Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-27397","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27397","licence":"Public domain","modified":"2026-10-15T01:17:40.477Z"}],"updatedAt":"2026-11-25T22:58:40.110Z","epss":{"score":0.00266,"percentile":0.2003,"date":"2026-12-01T12:00:22.000Z"}}