diff options
author | Wander Lairson Costa <[email protected]> | 2023-08-28 19:12:55 -0300 |
---|---|---|
committer | Pablo Neira Ayuso <[email protected]> | 2023-08-30 17:34:01 +0200 |
commit | e99476497687ef9e850748fe6d232264f30bc8f9 (patch) | |
tree | eafd37b4040d86c4a783de8fe2aaa11451afbb0c /drivers/platform/surface/aggregator/ssh_parser.c | |
parent | 28427f368f0e08d504ed06e74bc7cc79d6d06511 (diff) |
netfilter: xt_sctp: validate the flag_info count
sctp_mt_check doesn't validate the flag_count field. An attacker can
take advantage of that to trigger a OOB read and leak memory
information.
Add the field validation in the checkentry function.
Fixes: 2e4e6a17af35 ("[NETFILTER] x_tables: Abstraction layer for {ip,ip6,arp}_tables")
Cc: [email protected]
Reported-by: Lucas Leong <[email protected]>
Signed-off-by: Wander Lairson Costa <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_parser.c')
0 files changed, 0 insertions, 0 deletions