[ 1.906595] BUG: kernel NULL pointer dereference, address: 000000000000024a [ 1.906652] #PF: supervisor read access in kernel mode [ 1.906682] #PF: error_code(0x0000) - not-present page [ 1.906713] PGD 1939067 P4D 1939067 PUD 1f19067 PMD 0 [ 1.906749] Oops: 0000 [#1] PREEMPT SMP NOPTI [ 1.906780] CPU: 1 PID: 268 Comm: ip Not tainted 6.8.0-rc7-virtme #1 [ 1.906822] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 1.906886] RIP: 0010:nh_valid_get_del_req+0x3c/0xe0 [ 1.906924] Code: 11 00 75 47 8b 47 14 85 c0 75 40 48 8b 46 08 48 85 c0 0f 84 81 00 00 00 8b 40 04 89 02 85 c0 74 51 48 8b 46 70 48 85 c0 74 10 <8b> 40 04 89 01 31 c0 48 83 c4 08 c3 cc cc cc cc c7 01 00 00 00 00 [ 1.907021] RSP: 0018:ffffba8c402d79d8 EFLAGS: 00010202 [ 1.907056] RAX: 0000000000000246 RBX: ffffba8c402d7b58 RCX: ffffba8c402d79e8 [ 1.907100] RDX: ffffba8c402d79ec RSI: ffffba8c402d7a08 RDI: ffff950982835200 [ 1.907144] RBP: ffff950982820000 R08: ffffba8c402d7b58 R09: ffffba8c402d7b58 [ 1.907188] R10: ffffba8c402d7a08 R11: 0000000000000002 R12: 0000000000000000 [ 1.907232] R13: ffff950982835200 R14: 0000000000000000 R15: 0000000000000000 [ 1.907278] FS: 00007f260198bc40(0000) GS:ffff9509bec80000(0000) knlGS:0000000000000000 [ 1.907325] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1.907362] CR2: 000000000000024a CR3: 0000000002110004 CR4: 0000000000770ef0 [ 1.907407] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 1.907450] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 1.907494] PKRU: 55555554 [ 1.907512] Call Trace: [ 1.907535] [ 1.907555] ? __die+0x24/0x70 [ 1.907583] ? page_fault_oops+0x15b/0x430 [ 1.907612] ? exc_page_fault+0x6a/0x150 [ 1.907639] ? asm_exc_page_fault+0x26/0x30 [ 1.907665] ? nh_valid_get_del_req+0x3c/0xe0 [ 1.907699] ? rtm_del_nexthop+0x7d/0x140 [ 1.907723] rtm_del_nexthop+0x9e/0x140 [ 1.907749] ? skb_queue_tail+0x1f/0x50 [ 1.907785] rtnetlink_rcv_msg+0x15d/0x3f0 [ 1.907812] ? netlink_dump+0x372/0x450 [ 1.907839] ? __pfx_rtnetlink_rcv_msg+0x10/0x10 [ 1.907870] netlink_rcv_skb+0x58/0x110 [ 1.907898] netlink_unicast+0x247/0x370 [ 1.907924] netlink_sendmsg+0x1d1/0x400 [ 1.907950] ____sys_sendmsg+0x2bc/0x320 [ 1.907978] ? copy_msghdr_from_user+0x6d/0xa0 [ 1.908012] ___sys_sendmsg+0x88/0xd0 [ 1.908037] ? ___sys_recvmsg+0x88/0xd0 [ 1.908061] ? __sys_sendto+0x1c6/0x1f0 [ 1.908086] __sys_sendmsg+0x5d/0xb0 [ 1.908111] do_syscall_64+0xb0/0x1b0 [ 1.908140] entry_SYSCALL_64_after_hwframe+0x6f/0x77 [ 1.908175] RIP: 0033:0x7f2601b947b7 [ 1.908200] Code: 0a 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 [ 1.908296] RSP: 002b:00007ffca4da90c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 1.908340] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f2601b947b7 [ 1.908384] RDX: 0000000000000000 RSI: 00007ffca4da9130 RDI: 0000000000000006 [ 1.908428] RBP: 00007ffca4da93c8 R08: 0000000000000004 R09: 0000000000000078 [ 1.908475] R10: 00007f2601a4d708 R11: 0000000000000246 R12: 0000000000495540 [ 1.908518] R13: 0000000065eea09c R14: 0000000000496aa0 R15: 0000000001960910 [ 1.908564] [ 1.908580] Modules linked in: netdevsim [ 1.908606] CR2: 000000000000024a [ 1.908630] ---[ end trace 0000000000000000 ]--- [ 1.908661] RIP: 0010:nh_valid_get_del_req+0x3c/0xe0 [ 1.908695] Code: 11 00 75 47 8b 47 14 85 c0 75 40 48 8b 46 08 48 85 c0 0f 84 81 00 00 00 8b 40 04 89 02 85 c0 74 51 48 8b 46 70 48 85 c0 74 10 <8b> 40 04 89 01 31 c0 48 83 c4 08 c3 cc cc cc cc c7 01 00 00 00 00 [ 1.908790] RSP: 0018:ffffba8c402d79d8 EFLAGS: 00010202 [ 1.908821] RAX: 0000000000000246 RBX: ffffba8c402d7b58 RCX: ffffba8c402d79e8 [ 1.908865] RDX: ffffba8c402d79ec RSI: ffffba8c402d7a08 RDI: ffff950982835200 [ 1.908910] RBP: ffff950982820000 R08: ffffba8c402d7b58 R09: ffffba8c402d7b58 [ 1.908954] R10: ffffba8c402d7a08 R11: 0000000000000002 R12: 0000000000000000 [ 1.908997] R13: ffff950982835200 R14: 0000000000000000 R15: 0000000000000000 [ 1.909043] FS: 00007f260198bc40(0000) GS:ffff9509bec80000(0000) knlGS:0000000000000000 [ 1.909089] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1.909126] CR2: 000000000000024a CR3: 0000000002110004 CR4: 0000000000770ef0 [ 1.909171] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 1.909213] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 1.909256] PKRU: 55555554 [ 1.909275] note: ip[268] exited with irqs disabled WAIT TIMEOUT stderr Ctrl-C stderr Ctrl-C stderr WAIT TIMEOUT stderr