android_kernel_motorola_sm6375/net/batman-adv
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Tetsuo Handa 9de1caa110 batman-adv: initialize "struct batadv_tvlv_tt_vlan_data"->reserved field
commit 08c27f3322fec11950b8f1384aa0f3b11d028528 upstream.

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 <[email protected]>
Tested-by: syzbot <[email protected]>
Signed-off-by: Tetsuo Handa <[email protected]>
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2021-04-14 08:24:11 +02:00
..
bat_algo.c
bat_algo.h
bat_iv_ogm.c batman-adv: Don't schedule OGM for disabled interface 2020-03-18 07:17:54 +01:00
bat_iv_ogm.h
bat_v.c
bat_v.h
bat_v_elp.c batman-adv: Revert "disable ethtool link speed detection when auto negotiation off" 2020-06-22 09:30:56 +02:00
bat_v_elp.h
bat_v_ogm.c batman-adv: Fix own OGM check in aggregated OGMs 2020-09-09 19:12:23 +02:00
bat_v_ogm.h
bitarray.c
bitarray.h
bridge_loop_avoidance.c batman-adv: mcast: fix duplicate mcast packets from BLA backbone to mesh 2020-10-01 13:18:19 +02:00
bridge_loop_avoidance.h batman-adv: mcast: fix duplicate mcast packets in BLA backbone from mesh 2020-10-01 13:18:19 +02:00
debugfs.c
debugfs.h
distributed-arp-table.c batman-adv: Fix DAT candidate selection on little endian systems 2020-01-23 08:22:49 +01:00
distributed-arp-table.h
fragmentation.c
fragmentation.h
gateway_client.c batman-adv: Avoid uninitialized chaddr when handling DHCP 2020-09-09 19:12:23 +02:00
gateway_client.h
gateway_common.c
gateway_common.h
hard-interface.c
hard-interface.h
hash.c
hash.h
icmp_socket.c
icmp_socket.h
Kconfig
log.c batman-adv: set .owner to THIS_MODULE 2020-12-02 08:49:50 +01:00
log.h
main.c
main.h
Makefile
multicast.c batman-adv: mcast: fix duplicate mcast packets in BLA backbone from LAN 2020-10-01 13:18:19 +02:00
multicast.h batman-adv: mcast: fix duplicate mcast packets in BLA backbone from LAN 2020-10-01 13:18:19 +02:00
netlink.c
netlink.h
network-coding.c batman-adv: fix batadv_nc_random_weight_tq 2020-05-14 07:58:27 +02:00
network-coding.h
originator.c
originator.h
routing.c batman-adv: mcast/TT: fix wrongly dropped or rerouted packets 2020-10-01 13:18:17 +02:00
routing.h
send.c
send.h
soft-interface.c batman-adv: mcast: fix duplicate mcast packets in BLA backbone from mesh 2020-10-01 13:18:19 +02:00
soft-interface.h
sysfs.c batman-adv: Fix refcnt leak in batadv_store_throughput_override 2020-05-14 07:58:28 +02:00
sysfs.h
tp_meter.c
tp_meter.h
trace.c
trace.h
translation-table.c batman-adv: initialize "struct batadv_tvlv_tt_vlan_data"->reserved field 2021-04-14 08:24:11 +02:00
translation-table.h
tvlv.c
tvlv.h
types.h