------------[ cut here ]------------ kernel BUG at net/core/skbuff.c:1619! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 20788 Comm: syz-executor.1 Not tainted 6.0.0-rc3-syzkaller-00134-gd9c0103b9cb0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 RIP: 0010:skb_copy+0x340/0x3c0 net/core/skbuff.c:1619 Code: 89 e7 e8 c3 f2 ff ff e8 de b5 2c fa 4c 89 e0 48 83 c4 08 5b 5d 41 5c 41 5d 41 5e 41 5f c3 e8 c7 b5 2c fa 0f 0b e8 c0 b5 2c fa <0f> 0b e8 09 17 79 fa e9 b4 fd ff ff e8 1f 17 79 fa e9 7b fd ff ff RSP: 0018:ffffc900001e02f8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 00000000fffffff2 RCX: 0000000000000100 RDX: ffff88805d0dbb00 RSI: ffffffff874f5470 RDI: 0000000000000005 RBP: ffff88802559e8c0 R08: 0000000000000005 R09: 0000000000000000 R10: 00000000fffffff2 R11: 0000000000000000 R12: ffff88802559eb40 R13: 0000000000008140 R14: ffff888030f00000 R15: 000000000000804a FS: 0000555556092400(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd5974cff4 CR3: 0000000047c70000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: skb_unshare include/linux/skbuff.h:1994 [inline] netem_enqueue+0x2939/0x3550 net/sched/sch_netem.c:504 dev_qdisc_enqueue+0x40/0x2f0 net/core/dev.c:3785 __dev_xmit_skb net/core/dev.c:3874 [inline] __dev_queue_xmit+0x2207/0x3ad0 net/core/dev.c:4222 dev_queue_xmit include/linux/netdevice.h:3008 [inline] neigh_hh_output include/net/neighbour.h:535 [inline] neigh_output include/net/neighbour.h:549 [inline] ip_finish_output2+0x14d3/0x2170 net/ipv4/ip_output.c:228 __ip_finish_output net/ipv4/ip_output.c:306 [inline] __ip_finish_output+0x396/0x650 net/ipv4/ip_output.c:288 ip_finish_output+0x2d/0x280 net/ipv4/ip_output.c:316 NF_HOOK_COND include/linux/netfilter.h:296 [inline] ip_output+0x19f/0x310 net/ipv4/ip_output.c:430 dst_output include/net/dst.h:451 [inline] ip_local_out net/ipv4/ip_output.c:126 [inline] __ip_queue_xmit+0x8de/0x1be0 net/ipv4/ip_output.c:532 __tcp_transmit_skb+0x1967/0x3800 net/ipv4/tcp_output.c:1402 tcp_transmit_skb net/ipv4/tcp_output.c:1420 [inline] __tcp_retransmit_skb+0x5f8/0x2960 net/ipv4/tcp_output.c:3239 tcp_retransmit_skb+0x2a/0x360 net/ipv4/tcp_output.c:3262 tcp_retransmit_timer+0xf2f/0x33d0 net/ipv4/tcp_timer.c:537 tcp_write_timer_handler net/ipv4/tcp_timer.c:620 [inline] tcp_write_timer_handler+0x4de/0x9f0 net/ipv4/tcp_timer.c:594 tcp_write_timer+0xa2/0x2b0 net/ipv4/tcp_timer.c:637 call_timer_fn+0x1a0/0x6b0 kernel/time/timer.c:1474 expire_timers kernel/time/timer.c:1519 [inline] __run_timers.part.0+0x674/0xa80 kernel/time/timer.c:1790 __run_timers kernel/time/timer.c:1768 [inline] run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1803 __do_softirq+0x1d3/0x9c6 kernel/softirq.c:571 invoke_softirq kernel/softirq.c:445 [inline] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:650 irq_exit_rcu+0x5/0x20 kernel/softirq.c:662 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:27 [inline] RIP: 0010:check_kcov_mode kernel/kcov.c:166 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x60 kernel/kcov.c:200 Code: 48 89 ef 5d e9 11 c0 4b 00 5d be 03 00 00 00 e9 56 3a 81 02 66 0f 1f 44 00 00 48 8b be a8 01 00 00 e8 b4 ff ff ff 31 c0 c3 90 <65> 8b 05 09 65 86 7e 89 c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b RSP: 0018:ffffc90015057918 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 0000000000000200 RCX: 0000000000000000 RDX: ffff88805d0dbb00 RSI: ffffffff81e555f1 RDI: 0000000000000007 RBP: ffffc90015057a28 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000200 R11: 000000000008c07c R12: 0000000000000000 R13: ffffc90015057db0 R14: dffffc0000000000 R15: dffffc0000000000 __seqprop_spinlock_sequence include/linux/seqlock.h:275 [inline] read_seqbegin include/linux/seqlock.h:836 [inline] read_seqbegin_or_lock include/linux/seqlock.h:1140 [inline] prepend_path+0x1d7/0xea0 fs/d_path.c:165 d_absolute_path+0xef/0x1a0 fs/d_path.c:233 tomoyo_get_absolute_path security/tomoyo/realpath.c:101 [inline] tomoyo_realpath_from_path+0x288/0x620 security/tomoyo/realpath.c:276 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_path_perm+0x21b/0x400 security/tomoyo/file.c:822 tomoyo_path_symlink+0x94/0xe0 security/tomoyo/tomoyo.c:199 security_path_symlink+0xdf/0x150 security/security.c:1182 do_symlinkat+0x106/0x2e0 fs/namei.c:4402 __do_sys_symlinkat fs/namei.c:4424 [inline] __se_sys_symlinkat fs/namei.c:4421 [inline] __x64_sys_symlinkat+0x93/0xc0 fs/namei.c:4421 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f7e9d288b87 Code: 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 0a 01 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffd5974db68 EFLAGS: 00000206 ORIG_RAX: 000000000000010a RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f7e9d288b87 RDX: 00007f7e9d2e338a RSI: 00000000ffffff9c RDI: 00007f7e9d2e2023 RBP: 0000000000000000 R08: 0000000000000000 R09: 00007ffd5974d5e0 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000001 R15: 00007ffd5974dc30 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:skb_copy+0x340/0x3c0 net/core/skbuff.c:1619 Code: 89 e7 e8 c3 f2 ff ff e8 de b5 2c fa 4c 89 e0 48 83 c4 08 5b 5d 41 5c 41 5d 41 5e 41 5f c3 e8 c7 b5 2c fa 0f 0b e8 c0 b5 2c fa <0f> 0b e8 09 17 79 fa e9 b4 fd ff ff e8 1f 17 79 fa e9 7b fd ff ff RSP: 0018:ffffc900001e02f8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 00000000fffffff2 RCX: 0000000000000100 RDX: ffff88805d0dbb00 RSI: ffffffff874f5470 RDI: 0000000000000005 RBP: ffff88802559e8c0 R08: 0000000000000005 R09: 0000000000000000 R10: 00000000fffffff2 R11: 0000000000000000 R12: ffff88802559eb40 R13: 0000000000008140 R14: ffff888030f00000 R15: 000000000000804a FS: 0000555556092400(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd5974cff4 CR3: 0000000047c70000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 48 89 ef mov %rbp,%rdi 3: 5d pop %rbp 4: e9 11 c0 4b 00 jmpq 0x4bc01a 9: 5d pop %rbp a: be 03 00 00 00 mov $0x3,%esi f: e9 56 3a 81 02 jmpq 0x2813a6a 14: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1) 1a: 48 8b be a8 01 00 00 mov 0x1a8(%rsi),%rdi 21: e8 b4 ff ff ff callq 0xffffffda 26: 31 c0 xor %eax,%eax 28: c3 retq 29: 90 nop * 2a: 65 8b 05 09 65 86 7e mov %gs:0x7e866509(%rip),%eax # 0x7e86653a <-- trapping instruction 31: 89 c1 mov %eax,%ecx 33: 48 8b 34 24 mov (%rsp),%rsi 37: 81 e1 00 01 00 00 and $0x100,%ecx 3d: 65 gs 3e: 48 rex.W 3f: 8b .byte 0x8b