netfilter: flowtable: strictly check for maximum number of actions
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.1.168, Kernel 5.15.203, Kernel 6.18.22 and 10 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=5.16 <6.1.168, >=5.5 <5.15.203, >=6.13 <6.18.22, >=6.19 <6.19.12, >=6.2 <6.6.134, >=6.7 <6.12.81, =7.0, >=c29f74e0df7a02b8303bcdce93a7c0132d62577a <5382bb03e9c33b089d60788478b922a2dca284cc, >=c29f74e0df7a02b8303bcdce93a7c0132d62577a <57c78bd2e2dd08897acd35b2bf8bcef322e36f5e, >=c29f74e0df7a02b8303bcdce93a7c0132d62577a <76522fcdbc3a02b568f5d957f7e66fc194abb893, >=c29f74e0df7a02b8303bcdce93a7c0132d62577a <879959a7a2be814dd57568655eafa3d8f4d0309e, >=c29f74e0df7a02b8303bcdce93a7c0132d62577a <ead66c77303f760f6c30be96e2e20d5a77cef614, >=c29f74e0df7a02b8303bcdce93a7c0132d62577a <fe9018d3e94329f1951b00805a8640bc06f56ead, =5.5, >=c29f74e0df7a02b8303bcdce93a7c0132d62577a <504c9456699dcf4d15195ef34a0fa94a80bfc877 | 6.1.168, 5.15.203, 6.18.22, 6.19.12, 6.6.134, 6.12.81, 5382bb03e9c33b089d60788478b922a2dca284cc, 57c78bd2e2dd08897acd35b2bf8bcef322e36f5e, 76522fcdbc3a02b568f5d957f7e66fc194abb893, 879959a7a2be814dd57568655eafa3d8f4d0309e, ead66c77303f760f6c30be96e2e20d5a77cef614, fe9018d3e94329f1951b00805a8640bc06f56ead, 504c9456699dcf4d15195ef34a0fa94a80bfc877 |
| linux-kernel: Kernel | >=5.16.0 <6.1.168, >=5.5.0 <5.15.203, >=6.13.0 <6.18.22, >=6.19.0 <6.19.12, >=6.2.0 <6.6.134, >=6.7.0 <6.12.81 | 6.1.168, 5.15.203, 6.18.22, 6.19.12, 6.6.134, 6.12.81 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket