netfilter: nf_tables: make nft_object rhltable per table
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f4f699790590bd0896c48a71e9232a65198f92f0, Kernel 1948e4f85b855618b5b9a27265f98d816f4cb7cb, Kernel 4b549d32d34ee765527e63726bb1af984876e776 and 10 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=4d44175aa5bb5f68772b1eb0306554812294ca52 <f4f699790590bd0896c48a71e9232a65198f92f0, >=4d44175aa5bb5f68772b1eb0306554812294ca52 <1948e4f85b855618b5b9a27265f98d816f4cb7cb, >=4d44175aa5bb5f68772b1eb0306554812294ca52 <4b549d32d34ee765527e63726bb1af984876e776, >=4d44175aa5bb5f68772b1eb0306554812294ca52 <523c881661dde67efb44fce38c8eed50a72a57c1, >=4d44175aa5bb5f68772b1eb0306554812294ca52 <63ba12b664a2cd3220ed43e22c717715f4cc2ae8, >=4d44175aa5bb5f68772b1eb0306554812294ca52 <71714a2cec6c6d79bbd425ad968f9d6a3e4a2066, >=4d44175aa5bb5f68772b1eb0306554812294ca52 <7d4789b58761d9d48d9b5f5e7e0a510c3bbfb3af, =5.1 | f4f699790590bd0896c48a71e9232a65198f92f0, 1948e4f85b855618b5b9a27265f98d816f4cb7cb, 4b549d32d34ee765527e63726bb1af984876e776, 523c881661dde67efb44fce38c8eed50a72a57c1, 63ba12b664a2cd3220ed43e22c717715f4cc2ae8, 71714a2cec6c6d79bbd425ad968f9d6a3e4a2066, 7d4789b58761d9d48d9b5f5e7e0a510c3bbfb3af |
| linux-kernel: Kernel | >=5.11.0 <6.1.188, >=6.13.0 <6.18.44, >=6.19.0 <7.1.8, >=6.2.0 <6.6.160, >=6.7.0 <6.12.103, >=5.1.0 <5.10.270 | 6.1.188, 6.18.44, 7.1.8, 6.6.160, 6.12.103, 5.10.270 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket