------------[ cut here ]------------
WARNING: CPU: 1 PID: 4968 at mm/maccess.c:226 copy_from_user_nofault+0x15c/0x1c0 mm/maccess.c:-1
Modules linked in:
CPU: 1 PID: 4968 Comm: syz-executor Not tainted 5.15.179-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
RIP: 0010:copy_from_user_nofault+0x15c/0x1c0 mm/maccess.c:226
Code: db 48 c7 c0 f2 ff ff ff 48 0f 44 c5 eb 0c e8 9b b0 d5 ff 48 c7 c0 f2 ff ff ff 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 84 b0 d5 ff <0f> 0b e9 1e ff ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c ef fe ff
RSP: 0018:ffffc90000dd07f0 EFLAGS: 00010046
RAX: ffffffff81aaec3c RBX: 0000000000000000 RCX: ffff88802952bb80
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: dffffc0000000000 R08: ffffffff81aaeb4d R09: ffffed10052a5771
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000020000000
R13: 0000000000000008 R14: 0000000020000000 R15: ffffc90000dd0868
FS: 000055555f515500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000000 CR3: 000000005d478000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
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+0xe4/0x180 kernel/trace/bpf_trace.c:277
bpf_prog_63d51858d7cca270+0x3d/0x164
bpf_dispatcher_nop_func include/linux/bpf.h:790 [inline]
__bpf_prog_run include/linux/filter.h:628 [inline]
bpf_prog_run include/linux/filter.h:635 [inline]
__bpf_trace_run kernel/trace/bpf_trace.c:1878 [inline]
bpf_trace_run3+0x1d1/0x380 kernel/trace/bpf_trace.c:1916
trace_timer_start include/trace/events/timer.h:52 [inline]
enqueue_timer+0x3ae/0x540 kernel/time/timer.c:586
internal_add_timer kernel/time/timer.c:611 [inline]
__mod_timer+0xa60/0xeb0 kernel/time/timer.c:1062
hsr_announce+0x22a/0x300 net/hsr/hsr_device.c:385
call_timer_fn+0x16d/0x560 kernel/time/timer.c:1451
expire_timers kernel/time/timer.c:1496 [inline]
__run_timers+0x67c/0x890 kernel/time/timer.c:1767
run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1780
handle_softirqs+0x3a7/0x930 kernel/softirq.c:558
__do_softirq kernel/softirq.c:592 [inline]
invoke_softirq kernel/softirq.c:432 [inline]
__irq_exit_rcu+0x157/0x240 kernel/softirq.c:641
irq_exit_rcu+0x5/0x20 kernel/softirq.c:653
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:unwind_next_frame+0x1/0x1fa0 arch/x86/kernel/unwind_orc.c:423
Code: 02 31 c0 5b 41 5e 41 5f c3 44 89 f1 80 e1 07 80 c1 03 38 c1 7c 95 4c 89 f7 e8 1b d6 91 00 eb 8b 66 0f 1f 84 00 00 00 00 00 55 <41> 57 41 56 41 55 41 54 53 48 81 ec 80 00 00 00 49 89 ff 48 b8 00
RSP: 0018:ffffc9000123e090 EFLAGS: 00000202
RAX: 0000000000000001 RBX: ffffc9000123e0a0 RCX: 0000000080000000
RDX: dffffc0000000000 RSI: ffffffff8893b810 RDI: ffffc9000123e0a0
RBP: ffffc9000123e130 R08: 0000000000000010 R09: ffffc9000123e190
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88802952bb80
R13: ffffffff816e2db0 R14: ffffc9000123e180 R15: 0000000000000000
arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122
kasan_save_stack mm/kasan/common.c:38 [inline]
kasan_set_track mm/kasan/common.c:46 [inline]
set_alloc_info mm/kasan/common.c:434 [inline]
____kasan_kmalloc+0xba/0xf0 mm/kasan/common.c:513
kasan_kmalloc include/linux/kasan.h:264 [inline]
__kmalloc_node_track_caller+0x195/0x390 mm/slub.c:4963
kmalloc_reserve net/core/skbuff.c:356 [inline]
__alloc_skb+0x12c/0x590 net/core/skbuff.c:427
alloc_skb include/linux/skbuff.h:1162 [inline]
nlmsg_new include/net/netlink.h:953 [inline]
rtmsg_fib+0x140/0x620 net/ipv4/fib_semantics.c:520
fib_table_insert+0xfc0/0x1f90 net/ipv4/fib_trie.c:1398
fib_magic+0x3d4/0x610 net/ipv4/fib_frontend.c:1092
fib_add_ifaddr+0x408/0x5e0 net/ipv4/fib_frontend.c:1136
fib_netdev_event+0x346/0x480 net/ipv4/fib_frontend.c:1474
notifier_call_chain kernel/notifier.c:83 [inline]
raw_notifier_call_chain+0xd0/0x170 kernel/notifier.c:391
__dev_notify_flags+0x1fd/0x3f0 net/core/dev.c:-1
dev_change_flags+0xe7/0x190 net/core/dev.c:8928
do_setlink+0xc26/0x3d80 net/core/rtnetlink.c:2776
__rtnl_newlink net/core/rtnetlink.c:3447 [inline]
rtnl_newlink+0x17bf/0x2050 net/core/rtnetlink.c:3569
rtnetlink_rcv_msg+0x99d/0xef0 net/core/rtnetlink.c:5647
netlink_rcv_skb+0x1cf/0x410 net/netlink/af_netlink.c:2489
netlink_unicast_kernel net/netlink/af_netlink.c:1311 [inline]
netlink_unicast+0x7c0/0x990 net/netlink/af_netlink.c:1337
netlink_sendmsg+0xa30/0xd60 net/netlink/af_netlink.c:1905
sock_sendmsg_nosec net/socket.c:704 [inline]
__sock_sendmsg net/socket.c:716 [inline]
__sys_sendto+0x564/0x720 net/socket.c:2063
__do_sys_sendto net/socket.c:2075 [inline]
__se_sys_sendto net/socket.c:2071 [inline]
__x64_sys_sendto+0xda/0xf0 net/socket.c:2071
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fb961d28ffc
Code: 2a 5f 02 00 44 8b 4c 24 2c 4c 8b 44 24 20 89 c5 44 8b 54 24 28 48 8b 54 24 18 b8 2c 00 00 00 48 8b 74 24 10 8b 7c 24 08 0f 05 <48> 3d 00 f0 ff ff 77 34 89 ef 48 89 44 24 08 e8 70 5f 02 00 48 8b
RSP: 002b:00007ffc771dd6f0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007fb962a6e620 RCX: 00007fb961d28ffc
RDX: 000000000000002c RSI: 00007fb962a6e670 RDI: 0000000000000003
RBP: 0000000000000000 R08: 00007ffc771dd744 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003
R13: 0000000000000000 R14: 00007fb962a6e670 R15: 0000000000000000
----------------
Code disassembly (best guess):
0: 02 31 add (%rcx),%dh
2: c0 5b 41 5e rcrb $0x5e,0x41(%rbx)
6: 41 5f pop %r15
8: c3 ret
9: 44 89 f1 mov %r14d,%ecx
c: 80 e1 07 and $0x7,%cl
f: 80 c1 03 add $0x3,%cl
12: 38 c1 cmp %al,%cl
14: 7c 95 jl 0xffffffab
16: 4c 89 f7 mov %r14,%rdi
19: e8 1b d6 91 00 call 0x91d639
1e: eb 8b jmp 0xffffffab
20: 66 0f 1f 84 00 00 00 nopw 0x0(%rax,%rax,1)
27: 00 00
29: 55 push %rbp
* 2a: 41 57 push %r15 <-- trapping instruction
2c: 41 56 push %r14
2e: 41 55 push %r13
30: 41 54 push %r12
32: 53 push %rbx
33: 48 81 ec 80 00 00 00 sub $0x80,%rsp
3a: 49 89 ff mov %rdi,%r15
3d: 48 rex.W
3e: b8 .byte 0xb8