[ 1016.632212] BUG: kernel NULL pointer dereference, address: 000000000000024a [ 1016.632275] #PF: supervisor read access in kernel mode [ 1016.632307] #PF: error_code(0x0000) - not-present page [ 1016.632335] PGD 3e3f067 P4D 3e3f067 PUD 23ad067 PMD 0 [ 1016.632372] Oops: 0000 [#1] PREEMPT SMP NOPTI [ 1016.632404] CPU: 2 PID: 16752 Comm: ip Not tainted 6.8.0-rc7-virtme #1 [ 1016.632441] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 1016.632514] RIP: 0010:nh_valid_get_del_req+0x3c/0xe0 [ 1016.632565] 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 [ 1016.632706] RSP: 0018:ffffb32f407a39d8 EFLAGS: 00010202 [ 1016.632751] RAX: 0000000000000246 RBX: ffffb32f407a3b58 RCX: ffffb32f407a39e8 [ 1016.632797] RDX: ffffb32f407a39ec RSI: ffffb32f407a3a08 RDI: ffff8da3c12a2400 [ 1016.632842] RBP: ffff8da3c1f4dd00 R08: ffffb32f407a3b58 R09: ffffb32f407a3b58 [ 1016.632881] R10: ffffb32f407a3a08 R11: 0000000000000002 R12: 0000000000000000 [ 1016.632926] R13: ffff8da3c12a2400 R14: 0000000000000000 R15: 0000000000000000 [ 1016.632972] FS: 00007f9db56a5c40(0000) GS:ffff8da3fed00000(0000) knlGS:0000000000000000 [ 1016.633017] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1016.633054] CR2: 000000000000024a CR3: 0000000003f78005 CR4: 0000000000770ef0 [ 1016.633100] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 1016.633144] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 1016.633183] PKRU: 55555554 [ 1016.633196] Call Trace: [ 1016.633216] [ 1016.633236] ? __die+0x24/0x70 [ 1016.633266] ? page_fault_oops+0x15b/0x440 [ 1016.633295] ? exc_page_fault+0x6a/0x150 [ 1016.633325] ? asm_exc_page_fault+0x26/0x30 [ 1016.633354] ? nh_valid_get_del_req+0x3c/0xe0 [ 1016.633386] ? rtm_del_nexthop+0x7d/0x140 [ 1016.633411] rtm_del_nexthop+0x9e/0x140 [ 1016.633439] ? skb_queue_tail+0x1f/0x50 [ 1016.633465] rtnetlink_rcv_msg+0x15d/0x3f0 [ 1016.633494] ? netlink_dump+0x372/0x450 [ 1016.633529] ? __pfx_rtnetlink_rcv_msg+0x10/0x10 [ 1016.633562] netlink_rcv_skb+0x58/0x110 [ 1016.633591] netlink_unicast+0x247/0x370 [ 1016.633618] netlink_sendmsg+0x1d1/0x400 [ 1016.633641] ____sys_sendmsg+0x2bc/0x320 [ 1016.633669] ? copy_msghdr_from_user+0x6d/0xa0 [ 1016.633701] ___sys_sendmsg+0x88/0xd0 [ 1016.633727] ? ___sys_recvmsg+0x88/0xd0 [ 1016.633752] ? __handle_mm_fault+0x6a7/0xcf0 [ 1016.633784] __sys_sendmsg+0x5d/0xb0 [ 1016.633810] do_syscall_64+0xb0/0x1b0 [ 1016.633838] entry_SYSCALL_64_after_hwframe+0x6f/0x77 [ 1016.633873] RIP: 0033:0x7f9db58ae7b7 [ 1016.633899] 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 [ 1016.633995] RSP: 002b:00007ffce91d62d8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 1016.634040] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f9db58ae7b7 [ 1016.634079] RDX: 0000000000000000 RSI: 00007ffce91d6340 RDI: 0000000000000006 [ 1016.634124] RBP: 00007ffce91d65d8 R08: 0000000000000004 R09: 0000000000000078 [ 1016.634163] R10: 00007f9db5767708 R11: 0000000000000246 R12: 0000000000495540 [ 1016.634208] R13: 0000000065edfbf8 R14: 0000000000496aa0 R15: 0000000000ac39d0 [ 1016.634254] [ 1016.634272] Modules linked in: sctp l2tp_ip6 l2tp_eth l2tp_ip l2tp_netlink l2tp_core sch_etf sch_fq cls_bpf drop_monitor netdevsim bonding psample macsec ip6_gre ip_gre gre cls_u32 sch_htb nft_chain_nat xt_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 poly1305_generic libpoly1305 chacha_generic libchacha chacha20poly1305 tls cls_matchall act_gact sch_ingress sha1_generic xt_policy nft_compat nf_tables xfrm_user geneve vxlan act_csum libcrc32c act_pedit cls_flower sch_prio [last unloaded: test_blackhole_dev] [ 1016.634539] CR2: 000000000000024a [ 1016.634566] ---[ end trace 0000000000000000 ]--- [ 1016.634601] RIP: 0010:nh_valid_get_del_req+0x3c/0xe0 [ 1016.634633] 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 [ 1016.634729] RSP: 0018:ffffb32f407a39d8 EFLAGS: 00010202 [ 1016.634761] RAX: 0000000000000246 RBX: ffffb32f407a3b58 RCX: ffffb32f407a39e8 [ 1016.634806] RDX: ffffb32f407a39ec RSI: ffffb32f407a3a08 RDI: ffff8da3c12a2400 [ 1016.634845] RBP: ffff8da3c1f4dd00 R08: ffffb32f407a3b58 R09: ffffb32f407a3b58 [ 1016.634884] R10: ffffb32f407a3a08 R11: 0000000000000002 R12: 0000000000000000 [ 1016.634922] R13: ffff8da3c12a2400 R14: 0000000000000000 R15: 0000000000000000 [ 1016.634963] FS: 00007f9db56a5c40(0000) GS:ffff8da3fed00000(0000) knlGS:0000000000000000 [ 1016.635007] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1016.635045] CR2: 000000000000024a CR3: 0000000003f78005 CR4: 0000000000770ef0 [ 1016.635085] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 1016.635129] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 1016.635168] PKRU: 55555554 [ 1016.635181] note: ip[16752] exited with irqs disabled WAIT TIMEOUT stderr Ctrl-C stderr Ctrl-C stderr WAIT TIMEOUT stderr