[ 2.360863] BUG: kernel NULL pointer dereference, address: 000000000000024a [ 2.360934] #PF: supervisor read access in kernel mode [ 2.360973] #PF: error_code(0x0000) - not-present page [ 2.361008] PGD 34da067 P4D 34da067 PUD 36a7067 PMD 0 [ 2.361048] Oops: 0000 [#1] PREEMPT SMP NOPTI [ 2.361091] CPU: 1 PID: 267 Comm: ip Not tainted 6.8.0-rc7-virtme #1 [ 2.361142] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 2.361223] RIP: 0010:nh_valid_get_del_req+0x3c/0xe0 [ 2.361280] 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 [ 2.361414] RSP: 0018:ffffb515802e79d8 EFLAGS: 00010202 [ 2.361457] RAX: 0000000000000246 RBX: ffffb515802e7b58 RCX: ffffb515802e79e8 [ 2.361511] RDX: ffffb515802e79ec RSI: ffffb515802e7a08 RDI: ffff90c541111200 [ 2.361566] RBP: ffff90c544bd8000 R08: ffffb515802e7b58 R09: ffffb515802e7b58 [ 2.361621] R10: ffffb515802e7a08 R11: 0000000000000002 R12: 0000000000000000 [ 2.361673] R13: ffff90c541111200 R14: 0000000000000000 R15: 0000000000000000 [ 2.361727] FS: 00007f9774bacc40(0000) GS:ffff90c57ec80000(0000) knlGS:0000000000000000 [ 2.361785] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 2.361833] CR2: 000000000000024a CR3: 00000000027cc003 CR4: 0000000000770ef0 [ 2.361886] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 2.361948] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 2.362004] PKRU: 55555554 [ 2.362024] Call Trace: [ 2.362046] [ 2.362069] ? __die+0x24/0x70 [ 2.362103] ? page_fault_oops+0x15b/0x430 [ 2.362135] ? exc_page_fault+0x6a/0x150 [ 2.362168] ? asm_exc_page_fault+0x26/0x30 [ 2.362201] ? nh_valid_get_del_req+0x3c/0xe0 [ 2.362243] ? rtm_del_nexthop+0x7d/0x140 [ 2.362277] rtm_del_nexthop+0x9e/0x140 [ 2.362307] ? skb_queue_tail+0x1f/0x50 [ 2.362341] rtnetlink_rcv_msg+0x15d/0x3f0 [ 2.362377] ? netlink_dump+0x372/0x450 [ 2.362409] ? __pfx_rtnetlink_rcv_msg+0x10/0x10 [ 2.362446] netlink_rcv_skb+0x58/0x110 [ 2.362477] netlink_unicast+0x247/0x370 [ 2.362509] netlink_sendmsg+0x1d1/0x400 [ 2.362538] ____sys_sendmsg+0x2bc/0x320 [ 2.362575] ? copy_msghdr_from_user+0x6d/0xa0 [ 2.362618] ___sys_sendmsg+0x88/0xd0 [ 2.362646] ? ___sys_recvmsg+0x88/0xd0 [ 2.362681] ? __sys_sendto+0x1c6/0x1f0 [ 2.362710] __sys_sendmsg+0x5d/0xb0 [ 2.362739] do_syscall_64+0xb0/0x1b0 [ 2.362776] entry_SYSCALL_64_after_hwframe+0x6f/0x77 [ 2.362819] RIP: 0033:0x7f9774db57b7 [ 2.362850] 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 [ 2.362979] RSP: 002b:00007ffeda4db4a8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 2.363035] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f9774db57b7 [ 2.363091] RDX: 0000000000000000 RSI: 00007ffeda4db510 RDI: 0000000000000006 [ 2.363148] RBP: 00007ffeda4db7a8 R08: 0000000000000004 R09: 0000000000000078 [ 2.363212] R10: 00007f9774c6e708 R11: 0000000000000246 R12: 0000000000495540 [ 2.363269] R13: 0000000065ee4c34 R14: 0000000000496aa0 R15: 0000000001c2d910 [ 2.363325] [ 2.363343] Modules linked in: netdevsim [ 2.363376] CR2: 000000000000024a [ 2.363402] ---[ end trace 0000000000000000 ]--- [ 2.363439] RIP: 0010:nh_valid_get_del_req+0x3c/0xe0 [ 2.363482] 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 [ 2.363610] RSP: 0018:ffffb515802e79d8 EFLAGS: 00010202 [ 2.363648] RAX: 0000000000000246 RBX: ffffb515802e7b58 RCX: ffffb515802e79e8 [ 2.363705] RDX: ffffb515802e79ec RSI: ffffb515802e7a08 RDI: ffff90c541111200 [ 2.363763] RBP: ffff90c544bd8000 R08: ffffb515802e7b58 R09: ffffb515802e7b58 [ 2.363816] R10: ffffb515802e7a08 R11: 0000000000000002 R12: 0000000000000000 [ 2.363870] R13: ffff90c541111200 R14: 0000000000000000 R15: 0000000000000000 [ 2.363927] FS: 00007f9774bacc40(0000) GS:ffff90c57ec80000(0000) knlGS:0000000000000000 [ 2.363986] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 2.364035] CR2: 000000000000024a CR3: 00000000027cc003 CR4: 0000000000770ef0 [ 2.364087] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 2.364141] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 2.364196] PKRU: 55555554 [ 2.364216] note: ip[267] exited with irqs disabled [ 2.364800] ip (267) used greatest stack depth: 12440 bytes left WAIT TIMEOUT stderr Ctrl-C stderr Ctrl-C stderr WAIT TIMEOUT stderr