netfilter: bridge: release template ct on non-IP path
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.265, 5.15.216, 6.1.183, 6.6.152, 6.12.104, and 2 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: yes
- Technical impact: partial
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: yes · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
From 3c171f496ef57774f8e5d509923372549734877f · fixed in fc90df37540627d092af770215fb4b7befe9409b; From 3c171f496ef57774f8e5d509923372549734877f · fixed in daa6e070f8e1e7a4dddec8b64ca37663f8cda917; From 3c171f496ef57774f8e5d509923372549734877f · fixed in bd7b16494dacf87e9336a1dcfdada83b9e40edd6; From 3c171f496ef57774f8e5d509923372549734877f · fixed in 6ea88401e10e04e0b3bb7a7adea54932fb60b93b; From 3c171f496ef57774f8e5d509923372549734877f · fixed in 46d559f00b1ab1d114f92d2f16c5ef0093b3b9dd; From 3c171f496ef57774f8e5d509923372549734877f · fixed in c58d34fe8b7e47bb0b350a7625023b1261342be5; From 3c171f496ef57774f8e5d509923372549734877f · fixed in 7cff440d702616022769f2643168d7f9820547a0; From 3c171f496ef57774f8e5d509923372549734877f · fixed in d45cc8020d7c0a9f01dee42ff5c40bc14c9af72f
- Linux Linux
5.3
- KernelLinux
From 5.3.0 · fixed in 5.10.265; From 5.11.0 · fixed in 5.15.216; From 5.16.0 · fixed in 6.1.183; From 6.2.0 · fixed in 6.6.152; From 6.7.0 · fixed in 6.12.104; From 6.13.0 · fixed in 6.18.45; From 6.19.0 · fixed in 7.1.9
References 8
git.kernel.org
- stable/c/fc90df37540627d092af770215fb4b7befe9409b
- stable/c/daa6e070f8e1e7a4dddec8b64ca37663f8cda917
- stable/c/bd7b16494dacf87e9336a1dcfdada83b9e40edd6
- stable/c/6ea88401e10e04e0b3bb7a7adea54932fb60b93b
- stable/c/46d559f00b1ab1d114f92d2f16c5ef0093b3b9dd
- stable/c/c58d34fe8b7e47bb0b350a7625023b1261342be5
- stable/c/7cff440d702616022769f2643168d7f9820547a0
- stable/c/d45cc8020d7c0a9f01dee42ff5c40bc14c9af72f