------------[ cut here ]------------
WARNING: CPU: 1 PID: 11003 at mm/maccess.c:226 copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226
Modules linked in:
CPU: 1 PID: 11003 Comm: syz.0.13405 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
RIP: 0010:copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226
Code: 24 45 31 f6 31 ff 89 de e8 ed f6 d8 ff 85 db 48 c7 c0 f2 ff ff ff 49 0f 44 c6 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 70 f3 d8 ff <0f> 0b e9 1c ff ff ff 44 89 e1 80 e1 07 80 c1 03 38 c1 0f 8c ea fe
RSP: 0018:ffffc90000dd0c58 EFLAGS: 00010006
RAX: ffffffff819ed740 RBX: 0000000000000000 RCX: ffff88807587bb80
RDX: 0000000000010000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: dffffc0000000000 R09: ffffed100eb0f771
R10: ffffed100eb0f771 R11: 1ffff1100eb0f770 R12: ffff88807587d308
R13: 00007ffffffff000 R14: ffffc90000dd0cc8 R15: 00000000000006b9
FS: 00007f17ab40d6c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f94d3612f98 CR3: 0000000076d37000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
bpf_probe_read_user_common kernel/trace/bpf_trace.c:157 [inline]
____bpf_probe_read_compat kernel/trace/bpf_trace.c:281 [inline]
bpf_probe_read_compat+0xdd/0x170 kernel/trace/bpf_trace.c:277
bpf_prog_ec105dade7fdaf27+0x35/0x340
bpf_dispatcher_nop_func include/linux/bpf.h:790 [inline]
__bpf_prog_run include/linux/filter.h:621 [inline]
bpf_prog_run include/linux/filter.h:635 [inline]
__bpf_trace_run kernel/trace/bpf_trace.c:1878 [inline]
bpf_trace_run5+0x2b8/0x370 kernel/trace/bpf_trace.c:1918
trace_signal_generate+0x16b/0x1c0 include/trace/events/signal.h:50
__send_signal+0x5d0/0xdb0 kernel/signal.c:1184
do_send_sig_info kernel/signal.c:1294 [inline]
group_send_sig_info+0x1c6/0x220 kernel/signal.c:1442
do_bpf_send_signal+0x7b/0x150 kernel/trace/bpf_trace.c:779
irq_work_single kernel/irq_work.c:155 [inline]
irq_work_run_list+0x1bb/0x330 kernel/irq_work.c:177
irq_work_run+0x63/0xe0 kernel/irq_work.c:186
__sysvec_irq_work+0x98/0x240 arch/x86/kernel/irq_work.c:22
instr_sysvec_irq_work arch/x86/kernel/irq_work.c:17 [inline]
sysvec_irq_work+0x98/0xc0 arch/x86/kernel/irq_work.c:17
asm_sysvec_irq_work+0x16/0x20 arch/x86/include/asm/idtentry.h:713
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0xa5/0x100 kernel/locking/spinlock.c:194
Code: 74 05 e8 6e 8d cb f7 48 c7 44 24 20 00 00 00 00 9c 8f 44 24 20 f6 44 24 21 02 75 4b f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 26 16 9f f7 65 8b 05 27 14 50 76 85 c0 74 3c 48 c7 04 24 0e 36
RSP: 0018:ffffc90002e9ecc0 EFLAGS: 00000206
RAX: 23983f9c7e20c700 RBX: 0000000000000a02 RCX: 23983f9c7e20c700
RDX: dffffc0000000000 RSI: ffffffff8a0b1620 RDI: 0000000000000001
RBP: ffffc90002e9ed50 R08: dffffc0000000000 R09: fffffbfff1ff7621
R10: fffffbfff1ff7621 R11: 1ffffffff1ff7620 R12: dffffc0000000000
R13: 1ffff11017226aab R14: ffff88807388a050 R15: 1ffff920005d3d98
spin_unlock_irqrestore include/linux/spinlock.h:418 [inline]
unlock_page_lruvec_irqrestore include/linux/memcontrol.h:1538 [inline]
__pagevec_lru_add+0x142a/0x17c0 mm/swap.c:1055
lru_cache_add+0x516/0x750 mm/swap.c:453
shmem_getpage_gfp+0x1868/0x2d40 mm/shmem.c:1945
shmem_getpage mm/shmem.c:151 [inline]
shmem_write_begin+0xcd/0x1a0 mm/shmem.c:2474
generic_perform_write+0x2aa/0x530 mm/filemap.c:3785
__generic_file_write_iter+0x25f/0x4e0 mm/filemap.c:3912
generic_file_write_iter+0xa6/0x1b0 mm/filemap.c:3944
__kernel_write+0x4f9/0x930 fs/read_write.c:539
__dump_emit+0x243/0x360 fs/coredump.c:943
dump_user_range+0x84/0x340 fs/coredump.c:1017
elf_core_dump+0x2ff7/0x3530 fs/binfmt_elf.c:2285
do_coredump+0x1419/0x2960 fs/coredump.c:894
get_signal+0x40a/0x12c0 kernel/signal.c:2886
arch_do_signal_or_restart+0xc1/0x1300 arch/x86/kernel/signal.c:867
handle_signal_work kernel/entry/common.c:154 [inline]
exit_to_user_mode_loop+0x9e/0x130 kernel/entry/common.c:178
exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214
irqentry_exit_to_user_mode+0x5/0x30 kernel/entry/common.c:320
exc_page_fault+0x88/0x100 arch/x86/mm/fault.c:1504
asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:606
RIP: 0033:0x7f17ad1a5bf1
Code: 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 48 3d 01 f0 ff ff 73 01 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f
RSP: 002b:00000000fffffeb0 EFLAGS: 00010217
RAX: 0000000000000000 RBX: 00007f17ad3ccfa0 RCX: 00007f17ad1a5be9
RDX: 0000000000000000 RSI: 00000000fffffeb0 RDI: 0000000002000400
RBP: 00007f17ad228e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000
R13: 00007f17ad3cd038 R14: 00007f17ad3ccfa0 R15: 00007ffe941a1478
----------------
Code disassembly (best guess):
0: 74 05 je 0x7
2: e8 6e 8d cb f7 call 0xf7cb8d75
7: 48 c7 44 24 20 00 00 movq $0x0,0x20(%rsp)
e: 00 00
10: 9c pushf
11: 8f 44 24 20 pop 0x20(%rsp)
15: f6 44 24 21 02 testb $0x2,0x21(%rsp)
1a: 75 4b jne 0x67
1c: f7 c3 00 02 00 00 test $0x200,%ebx
22: 74 01 je 0x25
24: fb sti
25: bf 01 00 00 00 mov $0x1,%edi
* 2a: e8 26 16 9f f7 call 0xf79f1655 <-- trapping instruction
2f: 65 8b 05 27 14 50 76 mov %gs:0x76501427(%rip),%eax # 0x7650145d
36: 85 c0 test %eax,%eax
38: 74 3c je 0x76
3a: 48 rex.W
3b: c7 .byte 0xc7
3c: 04 24 add $0x24,%al
3e: 0e (bad)
3f: 36 ss