device bridge_slave_1 left promiscuous mode bridge0: port 2(bridge_slave_1) entered disabled state device bridge_slave_0 left promiscuous mode bridge0: port 1(bridge_slave_0) entered disabled state ================================================================== BUG: KASAN: null-ptr-deref in memset include/linux/string.h:332 [inline] BUG: KASAN: null-ptr-deref in choke_reset+0x1fc/0x330 net/sched/sch_choke.c:330 Write of size 8 at addr (null) by task kworker/u4:0/5 CPU: 0 PID: 5 Comm: kworker/u4:0 Not tainted 4.14.180-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x13e/0x194 lib/dump_stack.c:58 kasan_report_error mm/kasan/report.c:349 [inline] kasan_report mm/kasan/report.c:409 [inline] kasan_report.cold+0x127/0x2ae mm/kasan/report.c:393 memset+0x20/0x40 mm/kasan/kasan.c:285 memset include/linux/string.h:332 [inline] choke_reset+0x1fc/0x330 net/sched/sch_choke.c:330 qdisc_reset+0x61/0x1e0 net/sched/sch_generic.c:678 dev_deactivate_queue.constprop.0+0xc5/0x150 net/sched/sch_generic.c:867 netdev_for_each_tx_queue include/linux/netdevice.h:1970 [inline] dev_deactivate_many+0xd6/0x960 net/sched/sch_generic.c:922 __dev_close_many+0x102/0x250 net/core/dev.c:1441 dev_close_many+0x1ff/0x5c0 net/core/dev.c:1479 rollback_registered_many+0x345/0xa70 net/core/dev.c:7184 unregister_netdevice_many.part.0+0x16/0x1d0 net/core/dev.c:8279 unregister_netdevice_many net/core/dev.c:8278 [inline] default_device_exit_batch+0x2dd/0x380 net/core/dev.c:8740 ops_exit_list.isra.0+0xef/0x140 net/core/net_namespace.c:145 cleanup_net+0x3bb/0x820 net/core/net_namespace.c:484 process_one_work+0x813/0x1540 kernel/workqueue.c:2116 worker_thread+0x5d1/0x1070 kernel/workqueue.c:2250 kthread+0x30d/0x420 kernel/kthread.c:232 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404 ==================================================================