CVE-2026-74565 PUBLISHED

netfilter: nf_tables: make nft_object rhltable per table

Assigner: Linux
Reserved: 15.08.2026 Published: 15.08.2026 Updated: 15.08.2026

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().

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 4d44175aa5bb5f68772b1eb0306554812294ca52 to 1948e4f85b855618b5b9a27265f98d816f4cb7cb (excl.)
  • affected from 4d44175aa5bb5f68772b1eb0306554812294ca52 to 63ba12b664a2cd3220ed43e22c717715f4cc2ae8 (excl.)
  • affected from 4d44175aa5bb5f68772b1eb0306554812294ca52 to 7d4789b58761d9d48d9b5f5e7e0a510c3bbfb3af (excl.)
  • affected from 4d44175aa5bb5f68772b1eb0306554812294ca52 to f4f699790590bd0896c48a71e9232a65198f92f0 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 5.1 is affected
  • unaffected from 0 to 5.1 (excl.)
  • unaffected from 6.12.103 to 6.12.* (incl.)
  • unaffected from 6.18.44 to 6.18.* (incl.)
  • unaffected from 7.1.8 to 7.1.* (incl.)
  • unaffected from 7.2-rc6 to * (incl.)

References