From 0e8428d26ffd80789aa83442676e6fb800e9c0ff Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 23 Jan 2020 14:07:01 +0100 Subject: tools/syz-check: add limited checking of varlen structs Stop at the fist varlen field, but check the preceeding ones. Frequently the varlen array is the last field, so we should get good checking for these cases. Update #590 --- sys/linux/vnet.txt.warn | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/linux/vnet.txt.warn') diff --git a/sys/linux/vnet.txt.warn b/sys/linux/vnet.txt.warn index b8c946d20..453c7be8d 100644 --- a/sys/linux/vnet.txt.warn +++ b/sys/linux/vnet.txt.warn @@ -2,7 +2,6 @@ no-such-struct: vnet_fragmentation no-such-struct: tcp_resources no-such-struct: mac_addr_t no-such-struct: mac_addr_link_local -bad-field-number: mac_addr: syz=7 kernel=1 no-such-struct: vlan_tag_ad no-such-struct: vlan_tag_q no-such-struct: eth2_packet_t @@ -39,6 +38,8 @@ no-such-struct: tcp_sack_perm_option no-such-struct: tcp_timestamp_option no-such-struct: tcp_md5sig_option no-such-struct: tcp_exp_smc_option +bad-bitfield: guehdr.hlen/: size/offset: syz=5/0 kernel=0/0 +bad-field-size: guehdr.hlen/: syz=1 kernel=4 no-such-struct: gre_packet_erspan no-such-struct: erspan_md1 no-such-struct: erspan_md1_msg -- cgit mrf-deployment