Description (CNA)
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().
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 4d44175aa5bb5f68772b1eb0306554812294ca52 before 4b549d32d34ee765527e63726bb1af984876e776; affected 4d44175aa5bb5f68772b1eb0306554812294ca52 before 523c881661dde67efb44fce38c8eed50a72a57c1; affected 4d44175aa5bb5f68772b1eb0306554812294ca52 before 71714a2cec6c6d79bbd425ad968f9d6a3e4a2066; affected 4d44175aa5bb5f68772b1eb0306554812294ca52 before 1948e4f85b855618b5b9a27265f98d816f4cb7cb; affected 4d44175aa5bb5f68772b1eb0306554812294ca52 before 63ba12b664a2cd3220ed43e22c717715f4cc2ae8; affected 4d44175aa5bb5f68772b1eb0306554812294ca52 before 7d4789b58761d9d48d9b5f5e7e0a510c3bbfb3af; affected 4d44175aa5bb5f68772b1eb0306554812294ca52 before f4f699790590bd0896c48a71e9232a65198f92f0 |
| Linux / Linux | affected 5.1; unaffected 0 before 5.1; unaffected 5.10.270 through 5.10.*; unaffected 6.1.188 through 6.1.*; unaffected 6.6.160 through 6.6.*; unaffected 6.12.103 through 6.12.*; unaffected 6.18.44 through 6.18.*; unaffected 7.1.8 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/4b549d32d34ee765527e63726bb1af984876e776
- https://git.kernel.org/stable/c/523c881661dde67efb44fce38c8eed50a72a57c1
- https://git.kernel.org/stable/c/71714a2cec6c6d79bbd425ad968f9d6a3e4a2066
- https://git.kernel.org/stable/c/1948e4f85b855618b5b9a27265f98d816f4cb7cb
- https://git.kernel.org/stable/c/63ba12b664a2cd3220ed43e22c717715f4cc2ae8
- https://git.kernel.org/stable/c/7d4789b58761d9d48d9b5f5e7e0a510c3bbfb3af
- https://git.kernel.org/stable/c/f4f699790590bd0896c48a71e9232a65198f92f0
ADP enrichment
No English description supplied.
No references supplied.