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.
https://git.kernel.org/stable/c/d04800323336eebf441d153f43234eac9b833d36
https://git.kernel.org/stable/c/cfe770220ac2dbd3e104c6b45094037455da81d4
https://git.kernel.org/stable/c/c39f84e4be1be63fc60ca7141ea7b76edcea5907
https://git.kernel.org/stable/c/c2a445367a496a3c25dbc940c10c8bd1cfd4c14a
https://git.kernel.org/stable/c/bc18551c6169eac5ed813778d3e3e484002dbbe5
https://git.kernel.org/stable/c/ae1e1267650638136b84c23f2b31250f0ccb6823
https://git.kernel.org/stable/c/9b94f0e42ed248eb31929da84ed9f5310d7ff540
https://git.kernel.org/stable/c/5b18b8b35c7cded2d17b2b2604c9b0694ff48d1c