netfilter: x_tables: guard option walkers against 1-byte tail reads
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel 5.10.253, Kernel 5.15.203, Kernel 6.1.167 and 12 more.
In the Linux kernel, the following vulnerability has been resolved: netfilter: x_tables: guard option walkers against 1-byte tail reads When the last byte of options is a non-single-byte option kind, walkers that advance with i += op[i + 1] ? : 1 can read op[i + 1] past the end of the option area. Add an explicit i == optlen - 1 check before dereferencing op[i + 1] in xt_tcpudp and xt_dccp option walkers.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=2.6.16 <5.10.253, >=5.11 <5.15.203, >=5.16 <6.1.167, >=6.13 <6.18.19, >=6.19 <6.19.9, >=6.2 <6.6.130, >=6.7 <6.12.78, =7.0, >=2e4e6a17af35be359cc8f1c924f8f198fbd478cc <9b94f0e42ed248eb31929da84ed9f5310d7ff540, >=2e4e6a17af35be359cc8f1c924f8f198fbd478cc <ae1e1267650638136b84c23f2b31250f0ccb6823, >=2e4e6a17af35be359cc8f1c924f8f198fbd478cc <bc18551c6169eac5ed813778d3e3e484002dbbe5, >=2e4e6a17af35be359cc8f1c924f8f198fbd478cc <c2a445367a496a3c25dbc940c10c8bd1cfd4c14a, >=2e4e6a17af35be359cc8f1c924f8f198fbd478cc <c39f84e4be1be63fc60ca7141ea7b76edcea5907, >=2e4e6a17af35be359cc8f1c924f8f198fbd478cc <cfe770220ac2dbd3e104c6b45094037455da81d4, >=2e4e6a17af35be359cc8f1c924f8f198fbd478cc <d04800323336eebf441d153f43234eac9b833d36, =2.6.16, >=2e4e6a17af35be359cc8f1c924f8f198fbd478cc <5b18b8b35c7cded2d17b2b2604c9b0694ff48d1c | 5.10.253, 5.15.203, 6.1.167, 6.18.19, 6.19.9, 6.6.130, 6.12.78, 9b94f0e42ed248eb31929da84ed9f5310d7ff540, ae1e1267650638136b84c23f2b31250f0ccb6823, bc18551c6169eac5ed813778d3e3e484002dbbe5, c2a445367a496a3c25dbc940c10c8bd1cfd4c14a, c39f84e4be1be63fc60ca7141ea7b76edcea5907, cfe770220ac2dbd3e104c6b45094037455da81d4, d04800323336eebf441d153f43234eac9b833d36, 5b18b8b35c7cded2d17b2b2604c9b0694ff48d1c |
| linux-kernel: Kernel | >=2.6.16 <5.10.253, >=5.11.0 <5.15.203, >=5.16.0 <6.1.167, >=6.13.0 <6.18.19, >=6.19.0 <6.19.9, >=6.2.0 <6.6.130, >=6.7.0 <6.12.78 | 5.10.253, 5.15.203, 6.1.167, 6.18.19, 6.19.9, 6.6.130, 6.12.78 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket