Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
3c171f496ef57774f8e5d509923372549734877f to < fc90df37540627d092af770215fb4b7befe9409baffected3c171f496ef57774f8e5d509923372549734877f to < daa6e070f8e1e7a4dddec8b64ca37663f8cda917affected3c171f496ef57774f8e5d509923372549734877f to < bd7b16494dacf87e9336a1dcfdada83b9e40edd6affected3c171f496ef57774f8e5d509923372549734877f to < 6ea88401e10e04e0b3bb7a7adea54932fb60b93baffected3c171f496ef57774f8e5d509923372549734877f to < 46d559f00b1ab1d114f92d2f16c5ef0093b3b9ddaffected3c171f496ef57774f8e5d509923372549734877f to < c58d34fe8b7e47bb0b350a7625023b1261342be5affected3c171f496ef57774f8e5d509923372549734877f to < 7cff440d702616022769f2643168d7f9820547a0affected3c171f496ef57774f8e5d509923372549734877f to < d45cc8020d7c0a9f01dee42ff5c40bc14c9af72faffected
Linux Linux
Default version status: affected
5.3affected0 to < 5.3unaffected5.10.265 to ≤ 5.10.*unaffected5.15.216 to ≤ 5.15.*unaffected6.1.183 to ≤ 6.1.*unaffected6.6.152 to ≤ 6.6.*unaffected6.12.104 to ≤ 6.12.*unaffected6.18.45 to ≤ 6.18.*unaffected7.1.9 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/fc90df37540627d092af770215fb4b7befe9409b ↗
- https://git.kernel.org/stable/c/daa6e070f8e1e7a4dddec8b64ca37663f8cda917 ↗
- https://git.kernel.org/stable/c/bd7b16494dacf87e9336a1dcfdada83b9e40edd6 ↗
- https://git.kernel.org/stable/c/6ea88401e10e04e0b3bb7a7adea54932fb60b93b ↗
- https://git.kernel.org/stable/c/46d559f00b1ab1d114f92d2f16c5ef0093b3b9dd ↗
- https://git.kernel.org/stable/c/c58d34fe8b7e47bb0b350a7625023b1261342be5 ↗
- https://git.kernel.org/stable/c/7cff440d702616022769f2643168d7f9820547a0 ↗
- https://git.kernel.org/stable/c/d45cc8020d7c0a9f01dee42ff5c40bc14c9af72f ↗