[ 2.011793] BUG: kernel NULL pointer dereference, address: 000000000000024a [ 2.011857] #PF: supervisor read access in kernel mode [ 2.011892] #PF: error_code(0x0000) - not-present page [ 2.011934] PGD 41f3067 P4D 41f3067 PUD 4234067 PMD 0 [ 2.011979] Oops: 0000 [#1] PREEMPT SMP NOPTI [ 2.012023] CPU: 3 PID: 270 Comm: ip Not tainted 6.8.0-rc7-virtme #1 [ 2.012079] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 2.012162] RIP: 0010:nh_valid_get_del_req+0x3c/0xe0 [ 2.012211] 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.012350] RSP: 0018:ffffacdbc02e79d8 EFLAGS: 00010202 [ 2.012389] RAX: 0000000000000246 RBX: ffffacdbc02e7b58 RCX: ffffacdbc02e79e8 [ 2.012451] RDX: ffffacdbc02e79ec RSI: ffffacdbc02e7a08 RDI: ffff943dc1ed8fc0 [ 2.012533] RBP: ffff943dc5090000 R08: ffffacdbc02e7b58 R09: ffffacdbc02e7b58 [ 2.012608] R10: ffffacdbc02e7a08 R11: 0000000000000002 R12: 0000000000000000 [ 2.012676] R13: ffff943dc1ed8fc0 R14: 0000000000000000 R15: 0000000000000000 [ 2.012753] FS: 00007fedd668bc40(0000) GS:ffff943dfed80000(0000) knlGS:0000000000000000 [ 2.012823] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 2.012883] CR2: 000000000000024a CR3: 0000000004158002 CR4: 0000000000770ef0 [ 2.012947] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 2.013013] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 2.013069] PKRU: 55555554 [ 2.013089] Call Trace: [ 2.013114] [ 2.013136] ? __die+0x24/0x70 [ 2.013175] ? page_fault_oops+0x15b/0x430 [ 2.013214] ? exc_page_fault+0x6a/0x150 [ 2.013241] ? asm_exc_page_fault+0x26/0x30 [ 2.013269] ? nh_valid_get_del_req+0x3c/0xe0 [ 2.013304] ? rtm_del_nexthop+0x7d/0x140 [ 2.013338] rtm_del_nexthop+0x9e/0x140 [ 2.013367] ? skb_queue_tail+0x1f/0x50 [ 2.013406] rtnetlink_rcv_msg+0x15d/0x3f0 [ 2.013436] ? netlink_dump+0x372/0x450 [ 2.013467] ? __pfx_rtnetlink_rcv_msg+0x10/0x10 [ 2.013514] netlink_rcv_skb+0x58/0x110 [ 2.013552] netlink_unicast+0x247/0x370 [ 2.013583] netlink_sendmsg+0x1d1/0x400 [ 2.013617] ____sys_sendmsg+0x2bc/0x320 [ 2.013646] ? copy_msghdr_from_user+0x6d/0xa0 [ 2.013691] ___sys_sendmsg+0x88/0xd0 [ 2.013726] ? ___sys_recvmsg+0x88/0xd0 [ 2.013753] ? __sys_sendto+0x1c6/0x1f0 [ 2.013794] __sys_sendmsg+0x5d/0xb0 [ 2.013822] do_syscall_64+0xb0/0x1b0 [ 2.013856] entry_SYSCALL_64_after_hwframe+0x6f/0x77 [ 2.013902] RIP: 0033:0x7fedd68947b7 [ 2.013933] 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.014095] RSP: 002b:00007ffefcd94788 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 2.014150] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007fedd68947b7 [ 2.014218] RDX: 0000000000000000 RSI: 00007ffefcd947f0 RDI: 0000000000000006 [ 2.014282] RBP: 00007ffefcd94a88 R08: 0000000000000004 R09: 0000000000000078 [ 2.014346] R10: 00007fedd674d708 R11: 0000000000000246 R12: 0000000000495540 [ 2.014430] R13: 0000000065eef520 R14: 0000000000496aa0 R15: 0000000001610910 [ 2.014509] [ 2.014530] Modules linked in: netdevsim [ 2.014567] CR2: 000000000000024a [ 2.014595] ---[ end trace 0000000000000000 ]--- [ 2.014630] RIP: 0010:nh_valid_get_del_req+0x3c/0xe0 [ 2.014665] 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.014784] RSP: 0018:ffffacdbc02e79d8 EFLAGS: 00010202 [ 2.014832] RAX: 0000000000000246 RBX: ffffacdbc02e7b58 RCX: ffffacdbc02e79e8 [ 2.014888] RDX: ffffacdbc02e79ec RSI: ffffacdbc02e7a08 RDI: ffff943dc1ed8fc0 [ 2.014945] RBP: ffff943dc5090000 R08: ffffacdbc02e7b58 R09: ffffacdbc02e7b58 [ 2.015007] R10: ffffacdbc02e7a08 R11: 0000000000000002 R12: 0000000000000000 [ 2.015063] R13: ffff943dc1ed8fc0 R14: 0000000000000000 R15: 0000000000000000 [ 2.015120] FS: 00007fedd668bc40(0000) GS:ffff943dfed80000(0000) knlGS:0000000000000000 [ 2.015183] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 2.015237] CR2: 000000000000024a CR3: 0000000004158002 CR4: 0000000000770ef0 [ 2.015314] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 2.015381] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 2.015450] PKRU: 55555554 [ 2.015477] note: ip[270] exited with irqs disabled WAIT TIMEOUT stderr Ctrl-C stderr Ctrl-C stderr WAIT TIMEOUT stderr