BUG: kernel NULL pointer dereference, address: 000000000000013c #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 96c6c067 P4D 96c6c067 PUD 476ac067 PMD 0 Oops: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 6976 Comm: kworker/u4:6 Not tainted 5.7.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net RIP: 0010:qlink_to_object mm/kasan/quarantine.c:137 [inline] RIP: 0010:qlink_free mm/kasan/quarantine.c:142 [inline] RIP: 0010:qlist_free_all+0x28/0x140 mm/kasan/quarantine.c:167 Code: d6 90 41 57 41 56 41 55 41 54 55 53 48 8b 1f 48 85 db 0f 84 08 01 00 00 48 89 f5 49 89 fd 48 85 ed 49 89 ee 0f 84 8b 00 00 00 <49> 63 86 3c 01 00 00 4c 8b 23 48 29 c3 48 83 3d 1b c7 e3 07 00 0f RSP: 0018:ffffc90001757748 EFLAGS: 00010246 RAX: ffffea0000000000 RBX: ffff888000000000 RCX: ffffea0000000007 RDX: 0000000000000000 RSI: ffffffff8133965a RDI: 0000000000000007 RBP: 0000000000000000 R08: ffff8880a90fa1c0 R09: fffffbfff185cd40 R10: ffffffff8c2e69ff R11: fffffbfff185cd3f R12: ffff888000000000 R13: ffffc90001757780 R14: 0000000000000000 R15: 0000000000000286 FS: 0000000000000000(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000000013c CR3: 000000008f654000 CR4: 00000000001426e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: quarantine_reduce+0x159/0x190 mm/kasan/quarantine.c:260 __kasan_kmalloc.constprop.0+0x97/0xd0 mm/kasan/common.c:476 slab_post_alloc_hook mm/slab.h:586 [inline] slab_alloc mm/slab.c:3320 [inline] kmem_cache_alloc_trace+0x13d/0x7d0 mm/slab.c:3549 kmalloc include/linux/slab.h:555 [inline] netdevice_queue_work drivers/infiniband/core/roce_gid_mgmt.c:639 [inline] netdevice_event+0x1bb/0x7f0 drivers/infiniband/core/roce_gid_mgmt.c:798 notifier_call_chain+0xc0/0x230 kernel/notifier.c:83 call_netdevice_notifiers_info net/core/dev.c:1948 [inline] call_netdevice_notifiers_info+0xb5/0x130 net/core/dev.c:1933 call_netdevice_notifiers_extack net/core/dev.c:1960 [inline] call_netdevice_notifiers net/core/dev.c:1974 [inline] rollback_registered_many+0x75c/0xe70 net/core/dev.c:8828 unregister_netdevice_many.part.0+0x16/0x1e0 net/core/dev.c:9988 unregister_netdevice_many+0x36/0x50 net/core/dev.c:9987 ip_tunnel_delete_nets+0x3e6/0x5b0 net/ipv4/ip_tunnel.c:1109 ops_exit_list.isra.0+0x103/0x150 net/core/net_namespace.c:189 cleanup_net+0x511/0xa50 net/core/net_namespace.c:603 process_one_work+0x965/0x16a0 kernel/workqueue.c:2268 worker_thread+0x96/0xe20 kernel/workqueue.c:2414 kthread+0x388/0x470 kernel/kthread.c:268 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 Modules linked in: CR2: 000000000000013c ---[ end trace 1b0b24de062a3135 ]--- RIP: 0010:qlink_to_object mm/kasan/quarantine.c:137 [inline] RIP: 0010:qlink_free mm/kasan/quarantine.c:142 [inline] RIP: 0010:qlist_free_all+0x28/0x140 mm/kasan/quarantine.c:167 Code: d6 90 41 57 41 56 41 55 41 54 55 53 48 8b 1f 48 85 db 0f 84 08 01 00 00 48 89 f5 49 89 fd 48 85 ed 49 89 ee 0f 84 8b 00 00 00 <49> 63 86 3c 01 00 00 4c 8b 23 48 29 c3 48 83 3d 1b c7 e3 07 00 0f RSP: 0018:ffffc90001757748 EFLAGS: 00010246 RAX: ffffea0000000000 RBX: ffff888000000000 RCX: ffffea0000000007 RDX: 0000000000000000 RSI: ffffffff8133965a RDI: 0000000000000007 RBP: 0000000000000000 R08: ffff8880a90fa1c0 R09: fffffbfff185cd40 R10: ffffffff8c2e69ff R11: fffffbfff185cd3f R12: ffff888000000000 R13: ffffc90001757780 R14: 0000000000000000 R15: 0000000000000286 FS: 0000000000000000(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000000013c CR3: 000000008f654000 CR4: 00000000001426e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400