{"id":"CVE-2024-35898","aliases":["CVE-2024-35898"],"related":[],"kind":"vulnerability","state":"published","title":"netfilter: nf_tables: Fix potential data-race in __nft_flowtable_type_get()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nf_tables: Fix potential data-race in __nft_flowtable_type_get()\n\nnft_unregister_flowtable_type() within nf_flow_inet_module_exit() can\nconcurrent with __nft_flowtable_type_get() within nf_tables_newflowtable().\nAnd thhere is not any protection when iterate over nf_tables_flowtables\nlist in __nft_flowtable_type_get(). Therefore, there is pertential\ndata-race of nf_tables_flowtables list entry.\n\nUse list_for_each_entry_rcu() to iterate over nf_tables_flowtables list\nin __nft_flowtable_type_get(), and use rcu_read_lock() in the caller\nnft_flowtable_type_get() to protect the entire type query process.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nf_tables: Fix potential data-race in __nft_flowtable_type_get()\n\nnft_unregister_flowtable_type() within nf_flow_inet_module_exit() can\nconcurrent with __nft_flowtable_type_get() within nf_tables_newflowtable().\nAnd thhere is not any protection when iterate over nf_tables_flowtables\nlist in __nft_flowtable_type_get(). Therefore, there is pertential\ndata-race of nf_tables_flowtables list entry.\n\nUse list_for_each_entry_rcu() to iterate over nf_tables_flowtables list\nin __nft_flowtable_type_get(), and use rcu_read_lock() in the caller\nnft_flowtable_type_get() to protect the entire type query process.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: netfilter: nf_tables: corrige una posible ejecución de datos en __nft_flowtable_type_get() nft_unregister_flowtable_type() dentro de nf_flow_inet_module_exit() puede coincidir con __nft_flowtable_type_get() dentro de nf_tables_newflowtable(). Y no hay ninguna protección cuando se itera sobre la lista nf_tables_flowtables en __nft_flowtable_type_get(). Por lo tanto, existe una posible ejecución de datos de la entrada de la lista nf_tables_flowtables. Utilice list_for_each_entry_rcu() para iterar sobre la lista nf_tables_flowtables en __nft_flowtable_type_get() y utilice rcu_read_lock() en el llamador nft_flowtable_type_get() para proteger todo el proceso de consulta de tipos.","source":"nvd"}],"published":"2024-05-19T08:34:52.519Z","modified":"2026-10-15T01:17:51.290Z","severity":{"scorer":"Linux","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"},"severities":[{"scorer":"Linux","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"},{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-362"],"affected":[{"ranges":[{"type":"git","introduced":"3b49e2e94e6ebb8b23d0955d9e898254455734f8","fixed":"69d1fe14a680042ec913f22196b58e2c8ff1b007","status":"affected"},{"type":"git","introduced":"3b49e2e94e6ebb8b23d0955d9e898254455734f8","fixed":"a347bc8e6251eaee4b619da28020641eb5b0dd77","status":"affected"},{"type":"git","introduced":"3b49e2e94e6ebb8b23d0955d9e898254455734f8","fixed":"940d41caa71f0d3a52df2fde5fada524a993e331","status":"affected"},{"type":"git","introduced":"3b49e2e94e6ebb8b23d0955d9e898254455734f8","fixed":"2485bcfe05ee3cf9ca8923a94fa2e456924c79c8","status":"affected"},{"type":"git","introduced":"3b49e2e94e6ebb8b23d0955d9e898254455734f8","fixed":"9b5b7708ec2be21dd7ef8ca0e3abe4ae9f3b083b","status":"affected"},{"type":"git","introduced":"3b49e2e94e6ebb8b23d0955d9e898254455734f8","fixed":"8b891153b2e4dc0ca9d9dab8f619d49c740813df","status":"affected"},{"type":"git","introduced":"3b49e2e94e6ebb8b23d0955d9e898254455734f8","fixed":"e684b1674fd1ca4361812a491242ae871d6b2859","status":"affected"},{"type":"git","introduced":"3b49e2e94e6ebb8b23d0955d9e898254455734f8","fixed":"24225011d81b471acc0e1e315b7d9905459a6304","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.16","status":"unaffected"},{"type":"semver","introduced":"4.19.312","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.274","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.215","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.154","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.85","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.26","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.8.5","lastAffected":"6.8.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.9","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.16","fixed":"4.19.312"},{"status":"affected","introduced":"4.20","fixed":"5.4.274"},{"status":"affected","introduced":"5.5","fixed":"5.10.215"},{"status":"affected","introduced":"5.11","fixed":"5.15.154"},{"status":"affected","introduced":"5.16","fixed":"6.1.85"},{"status":"affected","introduced":"6.2","fixed":"6.6.26"},{"status":"affected","introduced":"6.7","fixed":"6.8.5"},{"status":"affected","version":"6.9"},{"status":"affected","version":"6.9"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"10.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/69d1fe14a680042ec913f22196b58e2c8ff1b007","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a347bc8e6251eaee4b619da28020641eb5b0dd77","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/940d41caa71f0d3a52df2fde5fada524a993e331","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2485bcfe05ee3cf9ca8923a94fa2e456924c79c8","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9b5b7708ec2be21dd7ef8ca0e3abe4ae9f3b083b","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8b891153b2e4dc0ca9d9dab8f619d49c740813df","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e684b1674fd1ca4361812a491242ae871d6b2859","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/24225011d81b471acc0e1e315b7d9905459a6304","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html","tags":["mailing-list","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html","tags":["mailing-list","third-party-advisory","x-transferred"],"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-05-29T18:29:13.616Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-35898","url":"https://www.cve.org/CVERecord?id=CVE-2024-35898","licence":"CVE Terms of Use","modified":"2026-10-15T00:41:16.298Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-35898","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35898","licence":"Public domain","modified":"2026-10-15T01:17:51.290Z"}],"updatedAt":"2026-11-25T22:58:40.590Z","epss":{"score":0.00204,"percentile":0.10933,"date":"2026-12-01T12:00:22.000Z"}}