{"id":"CVE-2024-27020","aliases":["CVE-2024-27020"],"related":[],"kind":"vulnerability","state":"published","title":"netfilter: nf_tables: Fix potential data-race in __nft_expr_type_get()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nf_tables: Fix potential data-race in __nft_expr_type_get()\n\nnft_unregister_expr() can concurrent with __nft_expr_type_get(),\nand there is not any protection when iterate over nf_tables_expressions\nlist in __nft_expr_type_get(). Therefore, there is potential data-race\nof nf_tables_expressions list entry.\n\nUse list_for_each_entry_rcu() to iterate over nf_tables_expressions\nlist in __nft_expr_type_get(), and use rcu_read_lock() in the caller\nnft_expr_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_expr_type_get()\n\nnft_unregister_expr() can concurrent with __nft_expr_type_get(),\nand there is not any protection when iterate over nf_tables_expressions\nlist in __nft_expr_type_get(). Therefore, there is potential data-race\nof nf_tables_expressions list entry.\n\nUse list_for_each_entry_rcu() to iterate over nf_tables_expressions\nlist in __nft_expr_type_get(), and use rcu_read_lock() in the caller\nnft_expr_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_expr_type_get() nft_unregister_expr() puede concurrente con __nft_expr_type_get(), y no hay ninguna protección cuando se itera sobre la lista nf_tables_expressions en __nft_expr_type_get() . Por lo tanto, existe una posible ejecución de datos en la entrada de la lista nf_tables_expressions. Utilice list_for_each_entry_rcu() para iterar sobre la lista nf_tables_expressions en __nft_expr_type_get() y utilice rcu_read_lock() en el llamador nft_expr_type_get() para proteger todo el proceso de consulta de tipos.","source":"nvd"}],"published":"2024-05-01T05:30:15.908Z","modified":"2026-10-15T01:17:36.473Z","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":"CISA-ADP","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":"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-362"],"affected":[{"ranges":[{"type":"git","introduced":"ef1f7df9170dbd875ce198ba84e6ab80f6fc139e","fixed":"939109c0a8e2a006a6cc8209e262d25065f4403a","status":"affected"},{"type":"git","introduced":"ef1f7df9170dbd875ce198ba84e6ab80f6fc139e","fixed":"b38a133d37fa421c8447b383d788c9cc6f5cb34c","status":"affected"},{"type":"git","introduced":"ef1f7df9170dbd875ce198ba84e6ab80f6fc139e","fixed":"934e66e231cff2b18faa2c8aad0b8cec13957e05","status":"affected"},{"type":"git","introduced":"ef1f7df9170dbd875ce198ba84e6ab80f6fc139e","fixed":"0b6de00206adbbfc6373b3ae38d2a6f197987907","status":"affected"},{"type":"git","introduced":"ef1f7df9170dbd875ce198ba84e6ab80f6fc139e","fixed":"8d56bad42ac4c43c6c72ddd6a654a2628bf839c5","status":"affected"},{"type":"git","introduced":"ef1f7df9170dbd875ce198ba84e6ab80f6fc139e","fixed":"a9ebf340d123ae12582210407f879d6a5a1bc25b","status":"affected"},{"type":"git","introduced":"ef1f7df9170dbd875ce198ba84e6ab80f6fc139e","fixed":"01f1a678b05ade4b1248019c2dcca773aebbeb7f","status":"affected"},{"type":"git","introduced":"ef1f7df9170dbd875ce198ba84e6ab80f6fc139e","fixed":"f969eb84ce482331a991079ab7a5c4dc3b7f89bf","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.13","status":"unaffected"},{"type":"semver","introduced":"4.19.313","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.275","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.216","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.157","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.88","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.29","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.8.8","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":"3.13","fixed":"4.19.313"},{"status":"affected","introduced":"4.20","fixed":"5.4.275"},{"status":"affected","introduced":"5.5","fixed":"5.10.216"},{"status":"affected","introduced":"5.11","fixed":"5.15.157"},{"status":"affected","introduced":"5.16","fixed":"6.1.88"},{"status":"affected","introduced":"6.2","fixed":"6.6.29"},{"status":"affected","introduced":"6.7","fixed":"6.8.8"},{"status":"affected","version":"6.9"},{"status":"affected","version":"6.9"},{"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"}],"references":[{"url":"https://git.kernel.org/stable/c/939109c0a8e2a006a6cc8209e262d25065f4403a","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b38a133d37fa421c8447b383d788c9cc6f5cb34c","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/934e66e231cff2b18faa2c8aad0b8cec13957e05","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0b6de00206adbbfc6373b3ae38d2a6f197987907","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8d56bad42ac4c43c6c72ddd6a654a2628bf839c5","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a9ebf340d123ae12582210407f879d6a5a1bc25b","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/01f1a678b05ade4b1248019c2dcca773aebbeb7f","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f969eb84ce482331a991079ab7a5c4dc3b7f89bf","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"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html","tags":["x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DAMSOZXJEPUOXW33WZYWCVAY7Z5S7OOY/","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4EZ6PJW7VOZ224TD7N4JZNU6KV32ZJ53/","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GCBZZEC7L7KTWWAS2NLJK6SO3IZIL4WW/","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-613116.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-10-30T19:26:58.391Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-27020","url":"https://www.cve.org/CVERecord?id=CVE-2024-27020","licence":"CVE Terms of Use","modified":"2026-10-15T00:39:49.843Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-27020","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27020","licence":"Public domain","modified":"2026-10-15T01:17:36.473Z"}],"updatedAt":"2026-11-25T22:58:39.776Z","epss":{"score":0.00221,"percentile":0.13535,"date":"2026-12-01T12:00:22.000Z"}}