[ 3.456183] ip (321) used greatest stack depth: 12344 bytes left [ 4.551947] BUG: kernel NULL pointer dereference, address: 0000000000000000 [ 4.552034] #PF: supervisor write access in kernel mode [ 4.552082] #PF: error_code(0x0002) - not-present page [ 4.552120] PGD 8281067 P4D 8281067 PUD 8269067 PMD 0 [ 4.552171] Oops: Oops: 0002 [#1] SMP [ 4.552205] CPU: 0 UID: 0 PID: 441 Comm: ip Not tainted 6.18.0-rc5-virtme #1 PREEMPT(voluntary) [ 4.552283] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 4.552338] RIP: 0010:work_grab_pending+0x2f/0x1b0 [ 4.552392] Code: 83 e6 01 41 57 41 56 4c 8d 77 20 41 55 41 54 41 89 f4 55 48 89 d5 53 48 89 fb 9c 58 fa 48 89 45 00 45 85 e4 0f 85 8a 00 00 00 48 0f ba 2b 00 41 0f 92 c5 72 0e 5b 44 89 e8 5d 41 5c 41 5d 41 [ 4.552525] RSP: 0018:ffffb6bec0c6f6b8 EFLAGS: 00010046 [ 4.552568] RAX: 0000000000000246 RBX: 0000000000000000 RCX: ffffffffb31be7a9 [ 4.552636] RDX: ffffb6bec0c6f6f0 RSI: 0000000000000000 RDI: 0000000000000000 [ 4.552710] RBP: ffffb6bec0c6f6f0 R08: 0000000000000400 R09: 0000000000000001 [ 4.552770] R10: 0000000000000001 R11: 0000000000000006 R12: 0000000000000000 [ 4.552840] R13: 0000000000000000 R14: 0000000000000020 R15: 0000000000000001 [ 4.552908] FS: 00007f4ef1e19800(0000) GS:ffff99d20ab91000(0000) knlGS:0000000000000000 [ 4.552968] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 4.553019] CR2: 0000000000000000 CR3: 00000000080d7003 CR4: 0000000000772ef0 [ 4.553089] PKRU: 55555554 [ 4.553111] Call Trace: [ 4.553132] [ 4.553158] __cancel_work+0x29/0xe0 [ 4.553190] ? dev_deactivate_many+0x2c9/0x300 [ 4.553240] __cancel_work_sync+0x16/0x80 [ 4.553273] __dev_close_many+0x113/0x2b0 [ 4.553321] __dev_change_flags+0xed/0x220 [ 4.553355] netif_change_flags+0x25/0x60 [ 4.553387] do_setlink.constprop.0+0x2fd/0x1170 [ 4.553438] ? __nla_validate_parse+0x5d/0xe70 [ 4.553484] ? __kmalloc_cache_noprof+0x3a5/0x4b0 [ 4.553534] rtnl_newlink+0x7fa/0xc00 [ 4.553568] ? virtio_fs_enqueue_req+0x352/0x570 [ 4.553623] ? netdev_run_todo+0x63/0x550 [ 4.553664] ? rtnl_setlink+0x2c0/0x2c0 [ 4.553699] rtnetlink_rcv_msg+0x358/0x400 [ 4.553731] ? get_page_from_freelist+0x15b4/0x1770 [ 4.553771] ? rtnl_calcit.isra.0+0x110/0x110 [ 4.553822] netlink_rcv_skb+0x57/0x100 [ 4.553863] netlink_unicast+0x252/0x380 [ 4.553903] ? __alloc_skb+0xfc/0x1e0 [ 4.553936] netlink_sendmsg+0x1be/0x3e0 [ 4.553977] ____sys_sendmsg+0x132/0x260 [ 4.554010] ? copy_msghdr_from_user+0x6c/0xa0 [ 4.554060] ___sys_sendmsg+0x87/0xd0 [ 4.554094] ? do_wp_page+0x369/0xe90 [ 4.554127] ? ___pte_offset_map+0x1b/0xd0 [ 4.554167] ? nfulnl_rcv_nl_event+0x36/0xa0 [ 4.554214] ? fsnotify_grab_connector+0x48/0x80 [ 4.554257] ? fsnotify_destroy_marks+0x29/0x150 [ 4.554299] __sys_sendmsg+0x71/0xd0 [ 4.554334] do_syscall_64+0xa4/0xfd0 [ 4.554380] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 4.554428] RIP: 0033:0x7f4ef1fe71d7 [ 4.554456] Code: 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b9 0f 1f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 2e 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 89 54 24 1c 48 89 74 24 10 [ 4.554587] RSP: 002b:00007ffe9c13a108 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 4.554666] RAX: ffffffffffffffda RBX: 00007ffe9c13a830 RCX: 00007f4ef1fe71d7 [ 4.554733] RDX: 0000000000000000 RSI: 00007ffe9c13a170 RDI: 0000000000000005 [ 4.554790] RBP: 0000000000000002 R08: 0000000000000003 R09: 0000000000000078 [ 4.554852] R10: 00007f4ef1ee3f60 R11: 0000000000000246 R12: 0000000000000002 [ 4.554921] R13: 00000000691cd696 R14: 0000000000499600 R15: 0000000000000000 [ 4.554976] [ 4.555000] Modules linked in: [last unloaded: test_bpf] [ 4.555052] CR2: 0000000000000000 [ 4.555085] ---[ end trace 0000000000000000 ]--- [ 4.555128] RIP: 0010:work_grab_pending+0x2f/0x1b0 [ 4.555171] Code: 83 e6 01 41 57 41 56 4c 8d 77 20 41 55 41 54 41 89 f4 55 48 89 d5 53 48 89 fb 9c 58 fa 48 89 45 00 45 85 e4 0f 85 8a 00 00 00 48 0f ba 2b 00 41 0f 92 c5 72 0e 5b 44 89 e8 5d 41 5c 41 5d 41 [ 4.555308] RSP: 0018:ffffb6bec0c6f6b8 EFLAGS: 00010046 [ 4.555346] RAX: 0000000000000246 RBX: 0000000000000000 RCX: ffffffffb31be7a9 [ 4.555416] RDX: ffffb6bec0c6f6f0 RSI: 0000000000000000 RDI: 0000000000000000 [ 4.555477] RBP: ffffb6bec0c6f6f0 R08: 0000000000000400 R09: 0000000000000001 [ 4.555531] R10: 0000000000000001 R11: 0000000000000006 R12: 0000000000000000 [ 4.555590] R13: 0000000000000000 R14: 0000000000000020 R15: 0000000000000001 [ 4.555659] FS: 00007f4ef1e19800(0000) GS:ffff99d20ab91000(0000) knlGS:0000000000000000 [ 4.555730] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 4.555781] CR2: 0000000000000000 CR3: 00000000080d7003 CR4: 0000000000772ef0 [ 4.555852] PKRU: 55555554 [ 4.555879] note: ip[441] exited with irqs disabled [ 4.556072] ip (441) used greatest stack depth: 11592 bytes left WAIT TIMEOUT stderr Ctrl-C stderr Ctrl-C stderr WAIT TIMEOUT stderr