[ 1894.094821][ C1] ================================================================== [ 1894.095188][ C1] BUG: KASAN: null-ptr-deref in sock_def_write_space_wfree+0x210/0x360 [ 1894.095430][ C1] Read of size 8 at addr 0000000000000008 by task ksoftirqd/1/23 [ 1894.095621][ C1] [ 1894.095694][ C1] CPU: 1 PID: 23 Comm: ksoftirqd/1 Not tainted 6.9.0-rc2-virtme #1 [ 1894.095887][ C1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 1894.096178][ C1] Call Trace: [ 1894.096291][ C1] [ 1894.096367][ C1] dump_stack_lvl+0x82/0xd0 [ 1894.096523][ C1] kasan_report+0xbd/0xf0 [ 1894.096636][ C1] ? sock_def_write_space_wfree+0x210/0x360 [ 1894.096801][ C1] kasan_check_range+0x39/0x1c0 [ 1894.096926][ C1] sock_def_write_space_wfree+0x210/0x360 [ 1894.097051][ C1] sock_wfree+0x25f/0x3e0 [ 1894.097145][ C1] skb_release_head_state+0x7a/0x1e0 [ 1894.097271][ C1] consume_skb+0x76/0x110 [ 1894.097364][ C1] skb_pp_cow_data+0x66b/0xad0 [ 1894.097495][ C1] ? __pfx_skb_pp_cow_data+0x10/0x10 [ 1894.097620][ C1] ? veth_xdp_rcv_skb+0x124/0x17f0 [ 1894.097765][ C1] veth_xdp_rcv_skb+0x322/0x17f0 [ 1894.097890][ C1] ? __pfx_veth_xdp_rcv_skb+0x10/0x10 [ 1894.098018][ C1] ? dev_gro_receive+0x1ea/0x1390 [ 1894.098145][ C1] ? trace_napi_gro_receive_exit+0xf3/0x160 [ 1894.098299][ C1] ? napi_gro_receive+0x533/0x780 [ 1894.098425][ C1] veth_xdp_rcv+0x2ff/0xa20 [ 1894.098557][ C1] ? stack_trace_save+0x94/0xd0 [ 1894.098686][ C1] ? __pfx_stack_trace_save+0x10/0x10 [ 1894.098814][ C1] ? __pfx_veth_xdp_rcv+0x10/0x10 [ 1894.098940][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 1894.099067][ C1] ? kasan_save_stack+0x34/0x50 [ 1894.099192][ C1] ? kasan_save_stack+0x24/0x50 [ 1894.099344][ C1] ? hlock_class+0x4e/0x130 [ 1894.099475][ C1] ? validate_chain+0x130/0x9b0 [ 1894.099602][ C1] veth_poll+0xff/0x620 [ 1894.099703][ C1] ? __pfx_validate_chain+0x10/0x10 [ 1894.099827][ C1] ? __pfx_veth_poll+0x10/0x10 [ 1894.099956][ C1] ? __lock_acquire+0xaf0/0x1570 [ 1894.100083][ C1] ? find_held_lock+0x2c/0x110 [ 1894.100209][ C1] ? __lock_release+0x103/0x460 [ 1894.100335][ C1] ? finish_task_switch.isra.0+0x20f/0x8c0 [ 1894.100495][ C1] ? __pfx___lock_release+0x10/0x10 [ 1894.100619][ C1] ? find_held_lock+0x2c/0x110 [ 1894.100752][ C1] __napi_poll.constprop.0+0xa2/0x460 [ 1894.100882][ C1] net_rx_action+0x49f/0xc00 [ 1894.101012][ C1] ? __schedule+0x6ea/0x1a20 [ 1894.101140][ C1] ? __pfx_net_rx_action+0x10/0x10 [ 1894.101267][ C1] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 1894.101394][ C1] __do_softirq+0x1f8/0x5df [ 1894.101518][ C1] ? __pfx_run_ksoftirqd+0x10/0x10 [ 1894.101647][ C1] run_ksoftirqd+0x2e/0x60 [ 1894.101776][ C1] smpboot_thread_fn+0x306/0x840 [ 1894.101902][ C1] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 1894.102027][ C1] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 1894.102152][ C1] kthread+0x28a/0x350 [ 1894.102248][ C1] ? __pfx_kthread+0x10/0x10 [ 1894.102373][ C1] ret_from_fork+0x31/0x70 [ 1894.102501][ C1] ? __pfx_kthread+0x10/0x10 [ 1894.102626][ C1] ret_from_fork_asm+0x1a/0x30 [ 1894.102755][ C1] [ 1894.102856][ C1] ================================================================== [ 1894.103054][ C1] Disabling lock debugging due to kernel taint [ 1894.103259][ C1] general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN NOPTI [ 1894.103548][ C1] KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] [ 1894.103731][ C1] CPU: 1 PID: 23 Comm: ksoftirqd/1 Tainted: G B 6.9.0-rc2-virtme #1 [ 1894.103954][ C1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 1894.104230][ C1] RIP: 0010:sock_def_write_space_wfree+0x221/0x360 [ 1894.104403][ C1] Code: 00 4c 8b bb a0 01 00 00 be 08 00 00 00 4d 8d 77 08 4c 89 f7 e8 e0 0e 8b fe 4c 89 f2 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 fe 00 00 00 49 8b 47 08 a8 04 0f 85 dc fe ff ff [ 1894.104861][ C1] RSP: 0018:ffffc900001af6b8 EFLAGS: 00010202 [ 1894.105022][ C1] RAX: dffffc0000000000 RBX: ffff888005960040 RCX: ffffffffa799564a [ 1894.105205][ C1] RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffffffffacefda00 [ 1894.105392][ C1] RBP: ffff8880059600a0 R08: 0000000000000001 R09: fffffbfff59dfb40 [ 1894.105577][ C1] R10: ffffffffacefda07 R11: 205d314320202020 R12: 0000000000000000 [ 1894.105765][ C1] R13: ffff8880059601c0 R14: 0000000000000008 R15: 0000000000000000 [ 1894.105956][ C1] FS: 0000000000000000(0000) GS:ffff888036080000(0000) knlGS:0000000000000000 [ 1894.106170][ C1] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1894.106330][ C1] CR2: 00007f15d000e000 CR3: 0000000012538001 CR4: 0000000000770ef0 [ 1894.106524][ C1] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 1894.106717][ C1] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 1894.106903][ C1] PKRU: 55555554 [ 1894.107005][ C1] Call Trace: [ 1894.107100][ C1] [ 1894.107167][ C1] ? die_addr+0x41/0xa0 [ 1894.107282][ C1] ? exc_general_protection+0x149/0x220 [ 1894.107414][ C1] ? asm_exc_general_protection+0x26/0x30 [ 1894.107551][ C1] ? add_taint+0x2a/0x90 [ 1894.107651][ C1] ? sock_def_write_space_wfree+0x221/0x360 [ 1894.107813][ C1] ? sock_def_write_space_wfree+0x210/0x360 [ 1894.107987][ C1] sock_wfree+0x25f/0x3e0 [ 1894.108133][ C1] skb_release_head_state+0x7a/0x1e0 [ 1894.108432][ C1] consume_skb+0x76/0x110 [ 1894.108575][ C1] skb_pp_cow_data+0x66b/0xad0 [ 1894.108770][ C1] ? __pfx_skb_pp_cow_data+0x10/0x10 [ 1894.108968][ C1] ? veth_xdp_rcv_skb+0x124/0x17f0 [ 1894.109173][ C1] veth_xdp_rcv_skb+0x322/0x17f0 [ 1894.109500][ C1] ? __pfx_veth_xdp_rcv_skb+0x10/0x10 [ 1894.109703][ C1] ? dev_gro_receive+0x1ea/0x1390 [ 1894.109910][ C1] ? trace_napi_gro_receive_exit+0xf3/0x160 [ 1894.110157][ C1] ? napi_gro_receive+0x533/0x780 [ 1894.110602][ C1] veth_xdp_rcv+0x2ff/0xa20 [ 1894.110804][ C1] ? stack_trace_save+0x94/0xd0 [ 1894.111012][ C1] ? __pfx_stack_trace_save+0x10/0x10 [ 1894.111469][ C1] ? __pfx_veth_xdp_rcv+0x10/0x10 [ 1894.111806][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 1894.112008][ C1] ? kasan_save_stack+0x34/0x50 [ 1894.112213][ C1] ? kasan_save_stack+0x24/0x50 [ 1894.112419][ C1] ? hlock_class+0x4e/0x130 [ 1894.112742][ C1] ? validate_chain+0x130/0x9b0 [ 1894.112951][ C1] veth_poll+0xff/0x620 [ 1894.113103][ C1] ? __pfx_validate_chain+0x10/0x10 [ 1894.113308][ C1] ? __pfx_veth_poll+0x10/0x10 [ 1894.113503][ C1] ? __lock_acquire+0xaf0/0x1570 [ 1894.113817][ C1] ? find_held_lock+0x2c/0x110 [ 1894.113957][ C1] ? __lock_release+0x103/0x460 [ 1894.114079][ C1] ? finish_task_switch.isra.0+0x20f/0x8c0 [ 1894.114248][ C1] ? __pfx___lock_release+0x10/0x10 [ 1894.114442][ C1] ? find_held_lock+0x2c/0x110 [ 1894.114566][ C1] __napi_poll.constprop.0+0xa2/0x460 [ 1894.114695][ C1] net_rx_action+0x49f/0xc00 [ 1894.114819][ C1] ? __schedule+0x6ea/0x1a20 [ 1894.115012][ C1] ? __pfx_net_rx_action+0x10/0x10 [ 1894.115136][ C1] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 1894.115291][ C1] __do_softirq+0x1f8/0x5df [ 1894.115493][ C1] ? __pfx_run_ksoftirqd+0x10/0x10 [ 1894.115725][ C1] run_ksoftirqd+0x2e/0x60 [ 1894.115851][ C1] smpboot_thread_fn+0x306/0x840 [ 1894.116002][ C1] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 1894.116130][ C1] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 1894.116269][ C1] kthread+0x28a/0x350 [ 1894.116362][ C1] ? __pfx_kthread+0x10/0x10 [ 1894.116485][ C1] ret_from_fork+0x31/0x70 [ 1894.116608][ C1] ? __pfx_kthread+0x10/0x10 [ 1894.116732][ C1] ret_from_fork_asm+0x1a/0x30 [ 1894.116861][ C1] [ 1894.116955][ C1] Modules linked in: nft_chain_nat xt_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nft_compat nf_tables xfrm_user geneve vxlan act_csum libcrc32c act_pedit cls_flower sch_prio [ 1894.117401][ C1] ---[ end trace 0000000000000000 ]--- [ 1894.117527][ C1] RIP: 0010:sock_def_write_space_wfree+0x221/0x360 [ 1894.117697][ C1] Code: 00 4c 8b bb a0 01 00 00 be 08 00 00 00 4d 8d 77 08 4c 89 f7 e8 e0 0e 8b fe 4c 89 f2 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 fe 00 00 00 49 8b 47 08 a8 04 0f 85 dc fe ff ff [ 1894.118305][ C1] RSP: 0018:ffffc900001af6b8 EFLAGS: 00010202 [ 1894.118477][ C1] RAX: dffffc0000000000 RBX: ffff888005960040 RCX: ffffffffa799564a [ 1894.118743][ C1] RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffffffffacefda00 [ 1894.118928][ C1] RBP: ffff8880059600a0 R08: 0000000000000001 R09: fffffbfff59dfb40 [ 1894.119116][ C1] R10: ffffffffacefda07 R11: 205d314320202020 R12: 0000000000000000 [ 1894.119361][ C1] R13: ffff8880059601c0 R14: 0000000000000008 R15: 0000000000000000 [ 1894.119547][ C1] FS: 0000000000000000(0000) GS:ffff888036080000(0000) knlGS:0000000000000000 [ 1894.119772][ C1] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1894.119936][ C1] CR2: 00007f15d000e000 CR3: 0000000012538001 CR4: 0000000000770ef0 [ 1894.120127][ C1] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 1894.120318][ C1] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 1894.120506][ C1] PKRU: 55555554 [ 1894.120599][ C1] Kernel panic - not syncing: Fatal exception in interrupt [ 1894.120983][ C1] Kernel Offset: 0x26600000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) [ 1894.121361][ C1] ---[ end Kernel panic - not syncing: Fatal exception in interrupt ]--- WAIT TIMEOUT stderr Ctrl-C stderr Ctrl-C stderr WAIT TIMEOUT stderr