------------[ cut here ]------------
kernel BUG at net/core/skbuff.c:2446!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 338 Comm: syz-executor.0 Not tainted 6.2.0-rc3-syzkaller-00021-g7dd4b804e080 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:__pskb_pull_tail+0x1196/0x1740 net/core/skbuff.c:2446
Code: 98 c8 00 00 00 e9 c7 f6 ff ff e8 75 f9 bd f9 48 8b 3c 24 be 02 00 00 00 e8 b7 0d ff ff 45 31 e4 e9 b4 f6 ff ff e8 5a f9 bd f9 <0f> 0b e8 53 f9 bd f9 4c 8b 7c 24 38 49 83 ef 01 e9 fb f4 ff ff 48
RSP: 0018:ffffc900001df9a8 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 00000000fffffff2 RCX: 0000000000000100
RDX: ffff888023e657c0 RSI: ffffffff87c35906 RDI: 0000000000000005
RBP: ffffc900001dfa30 R08: 0000000000000005 R09: 0000000000000000
R10: 00000000fffffff2 R11: 0000000000000000 R12: 00000000000002c0
R13: ffff88804e0b0000 R14: 0000000000000000 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2fbd5f7718 CR3: 0000000078a2a000 CR4: 0000000000350ee0
Call Trace:
skb_condense+0x140/0x2d0 net/core/skbuff.c:6485
___pskb_trim+0x979/0x11b0 net/core/skbuff.c:2381
__pskb_trim include/linux/skbuff.h:3016 [inline]
pskb_trim include/linux/skbuff.h:3023 [inline]
packet_rcv+0xd84/0x15c0 net/packet/af_packet.c:2200
dev_queue_xmit_nit+0x7fd/0xb10 net/core/dev.c:2290
xmit_one net/core/dev.c:3579 [inline]
dev_hard_start_xmit+0xac/0x990 net/core/dev.c:3599
sch_direct_xmit+0x1a3/0xbe0 net/sched/sch_generic.c:342
qdisc_restart net/sched/sch_generic.c:407 [inline]
__qdisc_run+0x4da/0x1750 net/sched/sch_generic.c:415
__dev_xmit_skb net/core/dev.c:3873 [inline]
__dev_queue_xmit+0x230b/0x3ba0 net/core/dev.c:4215
dev_queue_xmit include/linux/netdevice.h:3035 [inline]
neigh_hh_output include/net/neighbour.h:530 [inline]
neigh_output include/net/neighbour.h:544 [inline]
ip6_finish_output2+0xfa3/0x1530 net/ipv6/ip6_output.c:134
__ip6_finish_output net/ipv6/ip6_output.c:195 [inline]
ip6_finish_output+0x694/0x1170 net/ipv6/ip6_output.c:206
NF_HOOK_COND include/linux/netfilter.h:291 [inline]
ip6_output+0x1f1/0x540 net/ipv6/ip6_output.c:227
dst_output include/net/dst.h:444 [inline]
NF_HOOK include/linux/netfilter.h:302 [inline]
NF_HOOK include/linux/netfilter.h:296 [inline]
ip6_xmit+0x11f7/0x1c60 net/ipv6/ip6_output.c:343
sctp_v6_xmit+0xccc/0x1110 net/sctp/ipv6.c:250
sctp_packet_transmit+0x22ea/0x30d0 net/sctp/output.c:653
sctp_outq_flush_transports+0x406/0x7b0 net/sctp/outqueue.c:1173
sctp_outq_flush net/sctp/outqueue.c:1221 [inline]
sctp_outq_uncork+0x189/0x200 net/sctp/outqueue.c:764
sctp_cmd_interpreter net/sctp/sm_sideeffect.c:1816 [inline]
sctp_side_effects net/sctp/sm_sideeffect.c:1199 [inline]
sctp_do_sm+0x2823/0x5290 net/sctp/sm_sideeffect.c:1170
sctp_assoc_bh_rcv+0x38a/0x6c0 net/sctp/associola.c:1051
sctp_inq_push+0x1d6/0x270 net/sctp/inqueue.c:80
sctp_rcv+0x282c/0x35f0 net/sctp/input.c:243
sctp6_rcv+0x3c/0x60 net/sctp/ipv6.c:1122
ip6_protocol_deliver_rcu+0x2dd/0x1280 net/ipv6/ip6_input.c:439
ip6_input_finish+0x150/0x2c0 net/ipv6/ip6_input.c:484
NF_HOOK include/linux/netfilter.h:302 [inline]
NF_HOOK include/linux/netfilter.h:296 [inline]
ip6_input+0xa0/0xd0 net/ipv6/ip6_input.c:493
dst_input include/net/dst.h:454 [inline]
ip6_rcv_finish net/ipv6/ip6_input.c:79 [inline]
NF_HOOK include/linux/netfilter.h:302 [inline]
NF_HOOK include/linux/netfilter.h:296 [inline]
ipv6_rcv+0x250/0x380 net/ipv6/ip6_input.c:309
__netif_receive_skb_one_core+0x114/0x180 net/core/dev.c:5482
__netif_receive_skb+0x1f/0x1c0 net/core/dev.c:5596
process_backlog+0x3e4/0x810 net/core/dev.c:5924
__napi_poll+0xb8/0x770 net/core/dev.c:6485
napi_poll net/core/dev.c:6552 [inline]
net_rx_action+0xa00/0xde0 net/core/dev.c:6663
__do_softirq+0x1fb/0xadc kernel/softirq.c:571
invoke_softirq kernel/softirq.c:445 [inline]
__irq_exit_rcu+0x123/0x180 kernel/softirq.c:650
irq_exit_rcu+0x9/0x20 kernel/softirq.c:662
sysvec_apic_timer_interrupt+0x97/0xc0 arch/x86/kernel/apic/apic.c:1107
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:arch_atomic_read arch/x86/include/asm/atomic.h:29 [inline]
RIP: 0010:atomic_read include/linux/atomic/atomic-instrumented.h:28 [inline]
RIP: 0010:page_ref_count include/linux/page_ref.h:67 [inline]
RIP: 0010:page_expected_state mm/page_alloc.c:1242 [inline]
RIP: 0010:free_page_is_bad mm/page_alloc.c:1284 [inline]
RIP: 0010:free_pages_prepare mm/page_alloc.c:1439 [inline]
RIP: 0010:free_pcp_prepare+0x226/0xc00 mm/page_alloc.c:1496
Code: 49 8d 6f 34 be 04 00 00 00 4d 8b 6f 18 48 89 ef e8 7f 90 0b 00 48 89 ea 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 0f b6 14 02 <48> 89 e8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 7e 08 00 00 49
RSP: 0018:ffffc90003bc73c0 EFLAGS: 00000217
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff81c3c801
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffea0000e422b4
RBP: ffffea0000e422b4 R08: 0000000000000000 R09: ffffea0000e422b7
R10: fffff940001c8456 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: ffffea0000e42298 R15: ffffea0000e42280
free_unref_page_prepare mm/page_alloc.c:3369 [inline]
free_unref_page_list+0x176/0xcd0 mm/page_alloc.c:3510
release_pages+0xcb1/0x1330 mm/swap.c:1076
__pagevec_release+0x77/0xe0 mm/swap.c:1096
pagevec_release include/linux/pagevec.h:71 [inline]
folio_batch_release include/linux/pagevec.h:135 [inline]
shmem_undo_range+0x595/0x1340 mm/shmem.c:949
shmem_truncate_range mm/shmem.c:1044 [inline]
shmem_evict_inode+0x32f/0xb60 mm/shmem.c:1153
evict+0x2ed/0x6b0 fs/inode.c:664
iput_final fs/inode.c:1747 [inline]
iput.part.0+0x59b/0x880 fs/inode.c:1773
iput+0x5c/0x80 fs/inode.c:1763
dentry_unlink_inode+0x2b1/0x460 fs/dcache.c:401
__dentry_kill+0x3c0/0x640 fs/dcache.c:607
dentry_kill fs/dcache.c:733 [inline]
dput+0x80a/0xdb0 fs/dcache.c:913
__fput+0x3cc/0xa90 fs/file_table.c:328
task_work_run+0x16f/0x270 kernel/task_work.c:179
exit_task_work include/linux/task_work.h:38 [inline]
do_exit+0xaa8/0x2950 kernel/exit.c:867
do_group_exit+0xd4/0x2a0 kernel/exit.c:1012
get_signal+0x21c3/0x2450 kernel/signal.c:2859
arch_do_signal_or_restart+0x79/0x5c0 arch/x86/kernel/signal.c:306
exit_to_user_mode_loop kernel/entry/common.c:168 [inline]
exit_to_user_mode_prepare+0x15f/0x250 kernel/entry/common.c:203
__syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline]
syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:296
do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f05d0a8c0c9
Code: Unable to access opcode bytes at 0x7f05d0a8c09f.
RSP: 002b:00007ffcfd320788 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffdfc RBX: 00007f05d0babf8c RCX: 00007f05d0a8c0c9
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f05d0babf8c
RBP: 00007f05d0babf80 R08: 00007ffcfd3c6080 R09: 0000000000000000
R10: 00007ffcfd320870 R11: 0000000000000246 R12: 000000000021974e
R13: 00007ffcfd320870 R14: 00007ffcfd320890 R15: 0000000000000fd2
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__pskb_pull_tail+0x1196/0x1740 net/core/skbuff.c:2446
Code: 98 c8 00 00 00 e9 c7 f6 ff ff e8 75 f9 bd f9 48 8b 3c 24 be 02 00 00 00 e8 b7 0d ff ff 45 31 e4 e9 b4 f6 ff ff e8 5a f9 bd f9 <0f> 0b e8 53 f9 bd f9 4c 8b 7c 24 38 49 83 ef 01 e9 fb f4 ff ff 48
RSP: 0018:ffffc900001df9a8 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 00000000fffffff2 RCX: 0000000000000100
RDX: ffff888023e657c0 RSI: ffffffff87c35906 RDI: 0000000000000005
RBP: ffffc900001dfa30 R08: 0000000000000005 R09: 0000000000000000
R10: 00000000fffffff2 R11: 0000000000000000 R12: 00000000000002c0
R13: ffff88804e0b0000 R14: 0000000000000000 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2fbd5f7718 CR3: 0000000078a2a000 CR4: 0000000000350ee0
----------------
Code disassembly (best guess):
0: 49 8d 6f 34 lea 0x34(%r15),%rbp
4: be 04 00 00 00 mov $0x4,%esi
9: 4d 8b 6f 18 mov 0x18(%r15),%r13
d: 48 89 ef mov %rbp,%rdi
10: e8 7f 90 0b 00 callq 0xb9094
15: 48 89 ea mov %rbp,%rdx
18: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
1f: fc ff df
22: 48 c1 ea 03 shr $0x3,%rdx
26: 0f b6 14 02 movzbl (%rdx,%rax,1),%edx
* 2a: 48 89 e8 mov %rbp,%rax <-- trapping instruction
2d: 83 e0 07 and $0x7,%eax
30: 83 c0 03 add $0x3,%eax
33: 38 d0 cmp %dl,%al
35: 7c 08 jl 0x3f
37: 84 d2 test %dl,%dl
39: 0f 85 7e 08 00 00 jne 0x8bd
3f: 49 rex.WB