linux-stable/net/batman-adv
Tetsuo Handa 08c27f3322 batman-adv: initialize "struct batadv_tvlv_tt_vlan_data"->reserved field
KMSAN found uninitialized value at batadv_tt_prepare_tvlv_local_data()
[1], for commit ced72933a5 ("batman-adv: use CRC32C instead of CRC16
in TT code") inserted 'reserved' field into "struct batadv_tvlv_tt_data"
and commit 7ea7b4a142 ("batman-adv: make the TT CRC logic VLAN
specific") moved that field to "struct batadv_tvlv_tt_vlan_data" but left
that field uninitialized.

[1] https://syzkaller.appspot.com/bug?id=07f3e6dba96f0eb3cabab986adcd8a58b9bdbe9d

Reported-by: syzbot <syzbot+50ee810676e6a089487b@syzkaller.appspotmail.com>
Tested-by: syzbot <syzbot+50ee810676e6a089487b@syzkaller.appspotmail.com>
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Fixes: ced72933a5 ("batman-adv: use CRC32C instead of CRC16 in TT code")
Fixes: 7ea7b4a142 ("batman-adv: make the TT CRC logic VLAN specific")
Acked-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-04-05 15:06:03 -07:00
..
bat_algo.c batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
bat_algo.h batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
bat_iv_ogm.c batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
bat_iv_ogm.h batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
bat_v.c batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
bat_v.h batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
bat_v_elp.c batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
bat_v_elp.h batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
bat_v_ogm.c batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
bat_v_ogm.h batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
bitarray.c batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
bitarray.h batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
bridge_loop_avoidance.c batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
bridge_loop_avoidance.h batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
distributed-arp-table.c batman-adv: Fix names for kernel-doc blocks 2021-02-06 09:22:45 +01:00
distributed-arp-table.h batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
fragmentation.c batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
fragmentation.h batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
gateway_client.c batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
gateway_client.h batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
gateway_common.c batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
gateway_common.h batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
hard-interface.c batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
hard-interface.h batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
hash.c batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
hash.h batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
Kconfig This feature/cleanup patchset is an updated version of the pull request 2021-02-08 11:32:40 -08:00
log.c batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
log.h batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
main.c module: remove never implemented MODULE_SUPPORTED_DEVICE 2021-03-17 13:16:18 -07:00
main.h batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
Makefile batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
multicast.c batman-adv: Fix names for kernel-doc blocks 2021-02-06 09:22:45 +01:00
multicast.h batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
netlink.c batman-adv: Fix names for kernel-doc blocks 2021-02-06 09:22:45 +01:00
netlink.h batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
network-coding.c batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
network-coding.h batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
originator.c batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
originator.h batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
routing.c batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
routing.h batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
send.c batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
send.h batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
soft-interface.c batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
soft-interface.h batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
tp_meter.c batman-adv: Fix names for kernel-doc blocks 2021-02-06 09:22:45 +01:00
tp_meter.h batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
trace.c batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
trace.h batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
translation-table.c batman-adv: initialize "struct batadv_tvlv_tt_vlan_data"->reserved field 2021-04-05 15:06:03 -07:00
translation-table.h batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
tvlv.c batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
tvlv.h batman-adv: Drop publication years from copyright info 2021-02-06 09:22:10 +01:00
types.h batman-adv: Fix names for kernel-doc blocks 2021-02-06 09:22:45 +01:00