netfilter: flowtable: strictly check for maximum number of actions
- 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.15.203, 6.1.168, 6.6.134, 6.12.81, 6.18.22, and 1 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: no
- Technical impact: total
Summary
In the Linux kernel, the following vulnerability has been resolved: netfilter: flowtable: strictly check for maximum number of actions The maximum number of flowtable hardware offload actions in IPv6 is: • ethernet mangling (4 payload actions, 2 for each ethernet address) • SNAT (4 payload actions) • DNAT (4 payload actions) • Double VLAN (4 vlan actions, 2 for popping vlan, and 2 for pushing) for QinQ. • Redirect (1 action) Which makes 17, while the maximum is 16. But act_ct supports for tunnels actions too. Note that payload action operates at 32-bit word level, so mangling an IPv6 address takes 4 payload actions. Update flow_action_entry_next() calls to check for the maximum number of supported actions. While at it, rise the maximum number of actions per flow from 16 to 24 so this works fine with IPv6 setups.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From c29f74e0df7a02b8303bcdce93a7c0132d62577a · fixed in ead66c77303f760f6c30be96e2e20d5a77cef614; From c29f74e0df7a02b8303bcdce93a7c0132d62577a · fixed in fe9018d3e94329f1951b00805a8640bc06f56ead; From c29f74e0df7a02b8303bcdce93a7c0132d62577a · fixed in 5382bb03e9c33b089d60788478b922a2dca284cc; From c29f74e0df7a02b8303bcdce93a7c0132d62577a · fixed in 57c78bd2e2dd08897acd35b2bf8bcef322e36f5e; From c29f74e0df7a02b8303bcdce93a7c0132d62577a · fixed in 504c9456699dcf4d15195ef34a0fa94a80bfc877; From c29f74e0df7a02b8303bcdce93a7c0132d62577a · fixed in 879959a7a2be814dd57568655eafa3d8f4d0309e; From c29f74e0df7a02b8303bcdce93a7c0132d62577a · fixed in 76522fcdbc3a02b568f5d957f7e66fc194abb893
- Linux Linux
5.5
- KernelLinux
From 5.5.0 · fixed in 5.15.203; From 5.16.0 · fixed in 6.1.168; From 6.2.0 · fixed in 6.6.134; From 6.7.0 · fixed in 6.12.81; From 6.13.0 · fixed in 6.18.22; From 6.19.0 · fixed in 6.19.12
References 7
git.kernel.org
- stable/c/ead66c77303f760f6c30be96e2e20d5a77cef614
- stable/c/fe9018d3e94329f1951b00805a8640bc06f56ead
- stable/c/5382bb03e9c33b089d60788478b922a2dca284cc
- stable/c/57c78bd2e2dd08897acd35b2bf8bcef322e36f5e
- stable/c/504c9456699dcf4d15195ef34a0fa94a80bfc877
- stable/c/879959a7a2be814dd57568655eafa3d8f4d0309e
- stable/c/76522fcdbc3a02b568f5d957f7e66fc194abb893