[ 9.578783] BUG: kernel NULL pointer dereference, address: 0000000000000000 [ 9.578852] #PF: supervisor write access in kernel mode [ 9.578902] #PF: error_code(0x0002) - not-present page [ 9.578937] PGD 2e6e067 P4D 2e6e067 PUD 1b12067 PMD 0 [ 9.578991] Oops: Oops: 0002 [#1] SMP [ 9.579028] CPU: 3 UID: 0 PID: 357 Comm: ip Not tainted 6.18.0-rc5-virtme #1 PREEMPT(voluntary) [ 9.579095] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.579157] RIP: 0010:work_grab_pending+0x2f/0x1b0 [ 9.579206] 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 [ 9.579336] RSP: 0018:ffffb1c8c05576b8 EFLAGS: 00010046 [ 9.579375] RAX: 0000000000000246 RBX: 0000000000000000 RCX: 0000000000000004 [ 9.579441] RDX: ffffb1c8c05576f0 RSI: 0000000000000000 RDI: 0000000000000000 [ 9.579494] RBP: ffffb1c8c05576f0 R08: ffff91fcc1398873 R09: ffffffff88c6cc80 [ 9.579548] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 9.579597] R13: 0000000000000000 R14: 0000000000000020 R15: 0000000000000001 [ 9.579649] FS: 00007fbb40053800(0000) GS:ffff91fd7595a000(0000) knlGS:0000000000000000 [ 9.579706] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 9.579752] CR2: 0000000000000000 CR3: 0000000002998003 CR4: 0000000000772ef0 [ 9.579808] PKRU: 55555554 [ 9.579829] Call Trace: [ 9.579847] [ 9.579871] __cancel_work+0x29/0xe0 [ 9.579903] ? linkwatch_urgent_event+0x2f/0xb0 [ 9.579942] __cancel_work_sync+0x16/0x80 [ 9.579976] __dev_close_many+0x11b/0x280 [ 9.580009] __dev_change_flags+0xed/0x220 [ 9.580047] netif_change_flags+0x25/0x60 [ 9.580087] do_setlink.constprop.0+0x2fe/0x1120 [ 9.580140] ? __nla_validate_parse+0x5d/0xe70 [ 9.580182] ? __kmalloc_cache_noprof+0x3a5/0x4b0 [ 9.580230] rtnl_newlink+0x7fa/0xbc0 [ 9.580262] ? virtio_fs_enqueue_req+0x352/0x570 [ 9.580306] ? netdev_run_todo+0x63/0x550 [ 9.580337] ? rtnl_setlink+0x2c0/0x2c0 [ 9.580367] rtnetlink_rcv_msg+0x358/0x400 [ 9.580399] ? get_page_from_freelist+0x15b4/0x1770 [ 9.580443] ? rtnl_calcit.isra.0+0x110/0x110 [ 9.580481] netlink_rcv_skb+0x57/0x100 [ 9.580514] netlink_unicast+0x252/0x380 [ 9.580543] ? __alloc_skb+0xfc/0x1e0 [ 9.580573] netlink_sendmsg+0x1be/0x3e0 [ 9.580603] ____sys_sendmsg+0x132/0x260 [ 9.580634] ? copy_msghdr_from_user+0x6c/0xa0 [ 9.580672] ___sys_sendmsg+0x87/0xd0 [ 9.580697] ? do_wp_page+0x369/0xe90 [ 9.580726] ? ___pte_offset_map+0x1b/0xd0 [ 9.580758] ? nfulnl_rcv_nl_event+0x36/0xa0 [ 9.580799] ? fsnotify_grab_connector+0x48/0x80 [ 9.580836] ? fsnotify_destroy_marks+0x29/0x150 [ 9.580870] __sys_sendmsg+0x71/0xd0 [ 9.580902] do_syscall_64+0xa4/0xfd0 [ 9.580936] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.580977] RIP: 0033:0x7fbb402211d7 [ 9.581007] 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 [ 9.581135] RSP: 002b:00007fffaabeeeb8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 9.581189] RAX: ffffffffffffffda RBX: 00007fffaabef5e0 RCX: 00007fbb402211d7 [ 9.581238] RDX: 0000000000000000 RSI: 00007fffaabeef20 RDI: 0000000000000005 [ 9.581287] RBP: 0000000000000003 R08: 0000000000000003 R09: 0000000000000078 [ 9.581347] R10: 00007fbb4011df60 R11: 0000000000000246 R12: 0000000000000003 [ 9.581399] R13: 00000000691cca71 R14: 0000000000499600 R15: 0000000000000000 [ 9.581457] [ 9.581477] Modules linked in: sch_ingress vrf veth [ 9.581517] CR2: 0000000000000000 [ 9.581546] ---[ end trace 0000000000000000 ]--- [ 9.581584] RIP: 0010:work_grab_pending+0x2f/0x1b0 [ 9.581627] 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 [ 9.581755] RSP: 0018:ffffb1c8c05576b8 EFLAGS: 00010046 [ 9.581793] RAX: 0000000000000246 RBX: 0000000000000000 RCX: 0000000000000004 [ 9.581842] RDX: ffffb1c8c05576f0 RSI: 0000000000000000 RDI: 0000000000000000 [ 9.581891] RBP: ffffb1c8c05576f0 R08: ffff91fcc1398873 R09: ffffffff88c6cc80 [ 9.581941] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 9.581996] R13: 0000000000000000 R14: 0000000000000020 R15: 0000000000000001 [ 9.582055] FS: 00007fbb40053800(0000) GS:ffff91fd7595a000(0000) knlGS:0000000000000000 [ 9.582110] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 9.582156] CR2: 0000000000000000 CR3: 0000000002998003 CR4: 0000000000772ef0 [ 9.582212] PKRU: 55555554 [ 9.582233] note: ip[357] exited with irqs disabled [ 9.582491] ip (357) used greatest stack depth: 11592 bytes left WAIT TIMEOUT stderr Ctrl-C stderr Ctrl-C stderr WAIT TIMEOUT stderr