netfilter: bridge: release template ct on non-IP path
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel fc90df37540627d092af770215fb4b7befe9409b, Kernel 46d559f00b1ab1d114f92d2f16c5ef0093b3b9dd, Kernel 6ea88401e10e04e0b3bb7a7adea54932fb60b93b and 12 more.
In the Linux kernel, the following vulnerability has been resolved: netfilter: bridge: release template ct on non-IP path A bridge nftables ct zone set rule can attach a conntrack template to an skb before nf_ct_bridge_pre() sees it. For non-IPv4 and non-IPv6 EtherTypes, nf_ct_bridge_pre() currently overwrites skb->_nfct with IP_CT_UNTRACKED without releasing the existing template reference. That makes the per-cpu template, and any temporary templates allocated for concurrent use, unreachable and leaks memory until the host runs out of slab. Reset the skb conntrack state before marking the frame untracked so the existing template reference is dropped on the non-IP path.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=3c171f496ef57774f8e5d509923372549734877f <fc90df37540627d092af770215fb4b7befe9409b, >=3c171f496ef57774f8e5d509923372549734877f <46d559f00b1ab1d114f92d2f16c5ef0093b3b9dd, >=3c171f496ef57774f8e5d509923372549734877f <6ea88401e10e04e0b3bb7a7adea54932fb60b93b, >=3c171f496ef57774f8e5d509923372549734877f <7cff440d702616022769f2643168d7f9820547a0, >=3c171f496ef57774f8e5d509923372549734877f <bd7b16494dacf87e9336a1dcfdada83b9e40edd6, >=3c171f496ef57774f8e5d509923372549734877f <c58d34fe8b7e47bb0b350a7625023b1261342be5, >=3c171f496ef57774f8e5d509923372549734877f <d45cc8020d7c0a9f01dee42ff5c40bc14c9af72f, >=3c171f496ef57774f8e5d509923372549734877f <daa6e070f8e1e7a4dddec8b64ca37663f8cda917, =5.3 | fc90df37540627d092af770215fb4b7befe9409b, 46d559f00b1ab1d114f92d2f16c5ef0093b3b9dd, 6ea88401e10e04e0b3bb7a7adea54932fb60b93b, 7cff440d702616022769f2643168d7f9820547a0, bd7b16494dacf87e9336a1dcfdada83b9e40edd6, c58d34fe8b7e47bb0b350a7625023b1261342be5, d45cc8020d7c0a9f01dee42ff5c40bc14c9af72f, daa6e070f8e1e7a4dddec8b64ca37663f8cda917 |
| linux-kernel: Kernel | >=5.16.0 <6.1.183, >=5.3.0 <5.10.265, >=6.13.0 <6.18.45, >=6.19.0 <7.1.9, >=6.2.0 <6.6.152, >=6.7.0 <6.12.104, >=5.11.0 <5.15.216 | 6.1.183, 5.10.265, 6.18.45, 7.1.9, 6.6.152, 6.12.104, 5.15.216 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket