netfilter: nf_tables: make nft_object rhltable per table
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.270, 6.1.188, 6.6.160, 6.12.103, 6.18.44, and 1 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: make nft_object rhltable per table The nft_object rhltable is global, this allows for accessing objects that are being dismangled from lookup path by other existing netns. Given the nft_obj_destroy() releases the object inmediately, this might lead to use-after-free of these objects that are being released. Make the existing rhltable per table to address this issue to deal with with the nft_rcv_nl_event() path too. Update nft_obj_lookup() to take the table as non-const, otherwise, compiler complains when passing the objname_ht to rhltable_lookup().
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From 4d44175aa5bb5f68772b1eb0306554812294ca52 · fixed in 4b549d32d34ee765527e63726bb1af984876e776; From 4d44175aa5bb5f68772b1eb0306554812294ca52 · fixed in 523c881661dde67efb44fce38c8eed50a72a57c1; From 4d44175aa5bb5f68772b1eb0306554812294ca52 · fixed in 71714a2cec6c6d79bbd425ad968f9d6a3e4a2066; From 4d44175aa5bb5f68772b1eb0306554812294ca52 · fixed in 1948e4f85b855618b5b9a27265f98d816f4cb7cb; From 4d44175aa5bb5f68772b1eb0306554812294ca52 · fixed in 63ba12b664a2cd3220ed43e22c717715f4cc2ae8; From 4d44175aa5bb5f68772b1eb0306554812294ca52 · fixed in 7d4789b58761d9d48d9b5f5e7e0a510c3bbfb3af; From 4d44175aa5bb5f68772b1eb0306554812294ca52 · fixed in f4f699790590bd0896c48a71e9232a65198f92f0
- Linux Linux
5.1
- KernelLinux
From 5.1.0 · fixed in 5.10.270; From 5.11.0 · fixed in 6.1.188; From 6.2.0 · fixed in 6.6.160; From 6.7.0 · fixed in 6.12.103; From 6.13.0 · fixed in 6.18.44; From 6.19.0 · fixed in 7.1.8
References 7
git.kernel.org
- stable/c/4b549d32d34ee765527e63726bb1af984876e776
- stable/c/523c881661dde67efb44fce38c8eed50a72a57c1
- stable/c/71714a2cec6c6d79bbd425ad968f9d6a3e4a2066
- stable/c/1948e4f85b855618b5b9a27265f98d816f4cb7cb
- stable/c/63ba12b664a2cd3220ed43e22c717715f4cc2ae8
- stable/c/7d4789b58761d9d48d9b5f5e7e0a510c3bbfb3af
- stable/c/f4f699790590bd0896c48a71e9232a65198f92f0