Nixpkgs security tracker

Login with GitHub
⚠️ You are using a production deployment that is still only suitable for demo purposes. Any work done in this might be wiped later without notice.

Suggestion detail

Dismissed
(max. allowed matches exceeded)
created 3 weeks, 4 days ago Activity log
  • Created & dismissed (max. allowed matches exceeded) suggestion
netfilter: nf_tables: make nft_object rhltable per table

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 products

Linux
  • <63ba12b664a2cd3220ed43e22c717715f4cc2ae8
  • <7d4789b58761d9d48d9b5f5e7e0a510c3bbfb3af
  • <f4f699790590bd0896c48a71e9232a65198f92f0
  • =<*
  • ==5.1
  • =<6.18.*
  • <1948e4f85b855618b5b9a27265f98d816f4cb7cb
  • =<6.12.*
  • <5.1
  • =<7.1.*