netfilter: nat: use kfree_rcu to release ops
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 050f98e56782b14677c5bae50800e60775bbf6bb, Kernel 32fdd2e38e7435a368d88f5977a7d6585ebc8b0e, Kernel 3c7511f38ab511b791196b13ae48bf4973bf7dfd and 3 more.
In the Linux kernel, the following vulnerability has been resolved: netfilter: nat: use kfree_rcu to release ops Florian Westphal says: "Historically this is not an issue, even for normal base hooks: the data path doesn't use the original nf_hook_ops that are used to register the callbacks. However, in v5.14 I added the ability to dump the active netfilter hooks from userspace. This code will peek back into the nf_hook_ops that are available at the tail of the pointer-array blob used by the datapath. The nat hooks are special, because they are called indirectly from the central nat dispatcher hook. They are currently invisible to the nfnl hook dump subsystem though. But once that changes the nat ops structures have to be deferred too." Update nf_nat_register_fn() to deal with partial exposition of the hooks from error path which can be also an issue for nfnetlink_hook.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.14, >=e2cf17d3774c323ef6dab6e9f7c0cfc5e742afd9 <050f98e56782b14677c5bae50800e60775bbf6bb, >=e2cf17d3774c323ef6dab6e9f7c0cfc5e742afd9 <32fdd2e38e7435a368d88f5977a7d6585ebc8b0e, >=e2cf17d3774c323ef6dab6e9f7c0cfc5e742afd9 <3c7511f38ab511b791196b13ae48bf4973bf7dfd, >=e2cf17d3774c323ef6dab6e9f7c0cfc5e742afd9 <6eda0d771f94267f73f57c94630aa47e90957915, >=e2cf17d3774c323ef6dab6e9f7c0cfc5e742afd9 <bf17f1d3b307196d9282c4b1dd8be0d0e5f8e529, >=e2cf17d3774c323ef6dab6e9f7c0cfc5e742afd9 <ede973d62d26d9c550269af05366ab9e30fc92ee | 050f98e56782b14677c5bae50800e60775bbf6bb, 32fdd2e38e7435a368d88f5977a7d6585ebc8b0e, 3c7511f38ab511b791196b13ae48bf4973bf7dfd, 6eda0d771f94267f73f57c94630aa47e90957915, bf17f1d3b307196d9282c4b1dd8be0d0e5f8e529, ede973d62d26d9c550269af05366ab9e30fc92ee |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket