[ 1855.387042][ C1] ================================================================== [ 1855.387412][ C1] BUG: KASAN: null-ptr-deref in sock_def_write_space_wfree+0x210/0x360 [ 1855.387644][ C1] Read of size 8 at addr 0000000000000008 by task ksoftirqd/1/23 [ 1855.387866][ C1] [ 1855.387947][ C1] CPU: 1 PID: 23 Comm: ksoftirqd/1 Not tainted 6.9.0-rc2-virtme #1 [ 1855.388166][ C1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 1855.388486][ C1] Call Trace: [ 1855.388597][ C1] [ 1855.388727][ C1] dump_stack_lvl+0x82/0xd0 [ 1855.388881][ C1] kasan_report+0xbd/0xf0 [ 1855.389025][ C1] ? sock_def_write_space_wfree+0x210/0x360 [ 1855.389237][ C1] kasan_check_range+0x39/0x1c0 [ 1855.389382][ C1] sock_def_write_space_wfree+0x210/0x360 [ 1855.389523][ C1] sock_wfree+0x25f/0x3e0 [ 1855.389632][ C1] skb_release_head_state+0x7a/0x1e0 [ 1855.389775][ C1] consume_skb+0x76/0x110 [ 1855.389881][ C1] skb_pp_cow_data+0x66b/0xad0 [ 1855.390027][ C1] ? __pfx_skb_pp_cow_data+0x10/0x10 [ 1855.390179][ C1] ? veth_xdp_rcv_skb+0x124/0x17f0 [ 1855.390325][ C1] veth_xdp_rcv_skb+0x322/0x17f0 [ 1855.390469][ C1] ? __pfx_veth_xdp_rcv_skb+0x10/0x10 [ 1855.390609][ C1] ? dev_gro_receive+0x1ea/0x1390 [ 1855.390752][ C1] ? trace_napi_gro_receive_exit+0xf3/0x160 [ 1855.390931][ C1] ? napi_gro_receive+0x533/0x780 [ 1855.391077][ C1] veth_xdp_rcv+0x2ff/0xa20 [ 1855.391229][ C1] ? stack_trace_save+0x94/0xd0 [ 1855.391377][ C1] ? __pfx_stack_trace_save+0x10/0x10 [ 1855.391519][ C1] ? __pfx_veth_xdp_rcv+0x10/0x10 [ 1855.391673][ C1] ? kasan_save_stack+0x34/0x50 [ 1855.391814][ C1] ? kasan_save_stack+0x24/0x50 [ 1855.391956][ C1] ? hlock_class+0x4e/0x130 [ 1855.392094][ C1] ? validate_chain+0x130/0x9b0 [ 1855.392237][ C1] veth_poll+0xff/0x620 [ 1855.392340][ C1] ? __pfx_validate_chain+0x10/0x10 [ 1855.392479][ C1] ? __pfx_veth_poll+0x10/0x10 [ 1855.392619][ C1] ? __lock_acquire+0xaf0/0x1570 [ 1855.392761][ C1] ? find_held_lock+0x2c/0x110 [ 1855.392906][ C1] ? __lock_release+0x103/0x460 [ 1855.393044][ C1] ? finish_task_switch.isra.0+0x20f/0x8c0 [ 1855.393218][ C1] ? __pfx___lock_release+0x10/0x10 [ 1855.393357][ C1] ? find_held_lock+0x2c/0x110 [ 1855.393501][ C1] __napi_poll.constprop.0+0xa2/0x460 [ 1855.393644][ C1] net_rx_action+0x49f/0xc00 [ 1855.393785][ C1] ? __schedule+0x6ea/0x1a20 [ 1855.393924][ C1] ? __pfx_net_rx_action+0x10/0x10 [ 1855.394069][ C1] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 1855.394207][ C1] __do_softirq+0x1f8/0x5df [ 1855.394345][ C1] ? __pfx_run_ksoftirqd+0x10/0x10 [ 1855.394484][ C1] run_ksoftirqd+0x2e/0x60 [ 1855.394622][ C1] smpboot_thread_fn+0x306/0x840 [ 1855.394761][ C1] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 1855.394901][ C1] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 1855.395040][ C1] kthread+0x28a/0x350 [ 1855.395148][ C1] ? __pfx_kthread+0x10/0x10 [ 1855.395287][ C1] ret_from_fork+0x31/0x70 [ 1855.395432][ C1] ? __pfx_kthread+0x10/0x10 [ 1855.395572][ C1] ret_from_fork_asm+0x1a/0x30 [ 1855.395719][ C1] [ 1855.395828][ C1] ================================================================== [ 1855.396044][ C1] Disabling lock debugging due to kernel taint [ 1855.396247][ C1] general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN NOPTI [ 1855.396557][ C1] KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] [ 1855.396763][ C1] CPU: 1 PID: 23 Comm: ksoftirqd/1 Tainted: G B 6.9.0-rc2-virtme #1 [ 1855.397012][ C1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 1855.397316][ C1] RIP: 0010:sock_def_write_space_wfree+0x221/0x360 [ 1855.397498][ 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 [ 1855.398015][ C1] RSP: 0018:ffffc900001af6b8 EFLAGS: 00010202 [ 1855.398191][ C1] RAX: dffffc0000000000 RBX: ffff888003eb3e40 RCX: ffffffff8559564a [ 1855.398411][ C1] RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffffffff8aafda00 [ 1855.398626][ C1] RBP: ffff888003eb3ea0 R08: 0000000000000001 R09: fffffbfff155fb40 [ 1855.398834][ C1] R10: ffffffff8aafda07 R11: 205d314320202020 R12: 0000000000000000 [ 1855.399041][ C1] R13: ffff888003eb3fc0 R14: 0000000000000008 R15: 0000000000000000 [ 1855.399247][ C1] FS: 0000000000000000(0000) GS:ffff888036080000(0000) knlGS:0000000000000000 [ 1855.399502][ C1] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1855.399679][ C1] CR2: 00007f5cb487d000 CR3: 000000001ab38004 CR4: 0000000000770ef0 [ 1855.399891][ C1] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 1855.400112][ C1] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 1855.400322][ C1] PKRU: 55555554 [ 1855.400431][ C1] Call Trace: [ 1855.400544][ C1] [ 1855.400619][ C1] ? die_addr+0x41/0xa0 [ 1855.400730][ C1] ? exc_general_protection+0x149/0x220 [ 1855.400874][ C1] ? asm_exc_general_protection+0x26/0x30 [ 1855.401021][ C1] ? add_taint+0x2a/0x90 [ 1855.401128][ C1] ? sock_def_write_space_wfree+0x221/0x360 [ 1855.401305][ C1] ? sock_def_write_space_wfree+0x210/0x360 [ 1855.401478][ C1] sock_wfree+0x25f/0x3e0 [ 1855.401587][ C1] skb_release_head_state+0x7a/0x1e0 [ 1855.401726][ C1] consume_skb+0x76/0x110 [ 1855.401830][ C1] skb_pp_cow_data+0x66b/0xad0 [ 1855.401972][ C1] ? __pfx_skb_pp_cow_data+0x10/0x10 [ 1855.402108][ C1] ? veth_xdp_rcv_skb+0x124/0x17f0 [ 1855.402246][ C1] veth_xdp_rcv_skb+0x322/0x17f0 [ 1855.402383][ C1] ? __pfx_veth_xdp_rcv_skb+0x10/0x10 [ 1855.402525][ C1] ? dev_gro_receive+0x1ea/0x1390 [ 1855.402668][ C1] ? trace_napi_gro_receive_exit+0xf3/0x160 [ 1855.402840][ C1] ? napi_gro_receive+0x533/0x780 [ 1855.403052][ C1] veth_xdp_rcv+0x2ff/0xa20 [ 1855.403330][ C1] ? stack_trace_save+0x94/0xd0 [ 1855.403466][ C1] ? __pfx_stack_trace_save+0x10/0x10 [ 1855.403602][ C1] ? __pfx_veth_xdp_rcv+0x10/0x10 [ 1855.403739][ C1] ? kasan_save_stack+0x34/0x50 [ 1855.403953][ C1] ? kasan_save_stack+0x24/0x50 [ 1855.404090][ C1] ? hlock_class+0x4e/0x130 [ 1855.404232][ C1] ? validate_chain+0x130/0x9b0 [ 1855.404373][ C1] veth_poll+0xff/0x620 [ 1855.404475][ C1] ? __pfx_validate_chain+0x10/0x10 [ 1855.404611][ C1] ? __pfx_veth_poll+0x10/0x10 [ 1855.404748][ C1] ? __lock_acquire+0xaf0/0x1570 [ 1855.404887][ C1] ? find_held_lock+0x2c/0x110 [ 1855.405023][ C1] ? __lock_release+0x103/0x460 [ 1855.405165][ C1] ? finish_task_switch.isra.0+0x20f/0x8c0 [ 1855.405336][ C1] ? __pfx___lock_release+0x10/0x10 [ 1855.405476][ C1] ? find_held_lock+0x2c/0x110 [ 1855.405613][ C1] __napi_poll.constprop.0+0xa2/0x460 [ 1855.405819][ C1] net_rx_action+0x49f/0xc00 [ 1855.405958][ C1] ? __schedule+0x6ea/0x1a20 [ 1855.406097][ C1] ? __pfx_net_rx_action+0x10/0x10 [ 1855.406234][ C1] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 1855.406439][ C1] __do_softirq+0x1f8/0x5df [ 1855.406575][ C1] ? __pfx_run_ksoftirqd+0x10/0x10 [ 1855.406714][ C1] run_ksoftirqd+0x2e/0x60 [ 1855.406849][ C1] smpboot_thread_fn+0x306/0x840 [ 1855.406992][ C1] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 1855.407198][ C1] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 1855.407337][ C1] kthread+0x28a/0x350 [ 1855.407442][ C1] ? __pfx_kthread+0x10/0x10 [ 1855.407575][ C1] ret_from_fork+0x31/0x70 [ 1855.407783][ C1] ? __pfx_kthread+0x10/0x10 [ 1855.407923][ C1] ret_from_fork_asm+0x1a/0x30 [ 1855.408066][ C1] [ 1855.408171][ C1] Modules linked in: xfrm_user geneve vxlan act_csum libcrc32c act_pedit cls_flower sch_prio [ 1855.408536][ C1] ---[ end trace 0000000000000000 ]--- [ 1855.408676][ C1] RIP: 0010:sock_def_write_space_wfree+0x221/0x360 [ 1855.408854][ 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 [ 1855.409408][ C1] RSP: 0018:ffffc900001af6b8 EFLAGS: 00010202 [ 1855.409582][ C1] RAX: dffffc0000000000 RBX: ffff888003eb3e40 RCX: ffffffff8559564a [ 1855.409860][ C1] RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffffffff8aafda00 [ 1855.410062][ C1] RBP: ffff888003eb3ea0 R08: 0000000000000001 R09: fffffbfff155fb40 [ 1855.410278][ C1] R10: ffffffff8aafda07 R11: 205d314320202020 R12: 0000000000000000 [ 1855.410549][ C1] R13: ffff888003eb3fc0 R14: 0000000000000008 R15: 0000000000000000 [ 1855.410753][ C1] FS: 0000000000000000(0000) GS:ffff888036080000(0000) knlGS:0000000000000000 [ 1855.411132][ C1] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1855.411305][ C1] CR2: 00007f5cb487d000 CR3: 000000001ab38004 CR4: 0000000000770ef0 [ 1855.411516][ C1] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 1855.411787][ C1] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 1855.411994][ C1] PKRU: 55555554 [ 1855.412098][ C1] Kernel panic - not syncing: Fatal exception in interrupt [ 1855.412480][ C1] Kernel Offset: 0x4200000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) [ 1855.412867][ C1] ---[ end Kernel panic - not syncing: Fatal exception in interrupt ]--- WAIT TIMEOUT stderr Ctrl-C stderr Ctrl-C stderr WAIT TIMEOUT stderr