syzbot


WARNING in bpf_probe_read_user

Status: upstream: reported C repro on 2023/11/04 18:36
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+9fef5b251417ebc881c0@syzkaller.appspotmail.com
First crash: 534d, last: 29m
Fix commit to backport (bisect log) :
tree: upstream
commit d319f344561de23e810515d109c7278919bff7b0
Author: Alexei Starovoitov <ast@kernel.org>
Date: Mon Apr 10 17:43:44 2023 +0000

  mm: Fix copy_from_user_nofault().

  
Bug presence (2)
Date Name Commit Repro Result
2023/11/05 linux-5.15.y (ToT) 12952a23a5da C [report] WARNING in bpf_probe_read_user
2023/11/05 upstream (ToT) aea6bf908d73 C Didn't crash
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2023/11/05 20:34 4h18m fix candidate upstream OK (1) job log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 14 at mm/maccess.c:226 copy_from_user_nofault+0x15c/0x1c0 mm/maccess.c:-1
Modules linked in:
CPU: 0 PID: 14 Comm: ksoftirqd/0 Not tainted 5.15.180-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 3b b1 d5 ff 48 c7 c0 f2 ff ff ff 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 24 b1 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:ffffc90000d378a8 EFLAGS: 00010246
RAX: ffffffff81aa911c RBX: 0000000000000000 RCX: ffff88813ff21dc0
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: dffffc0000000000 R08: ffffffff81aa902d R09: fffffbfff2131819
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: 0000000000000008 R14: 0000000000000000 R15: ffffc90000d37908
FS:  0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555581fbfca8 CR3: 000000000c88e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 bpf_probe_read_user_common kernel/trace/bpf_trace.c:157 [inline]
 ____bpf_probe_read_user kernel/trace/bpf_trace.c:166 [inline]
 bpf_probe_read_user+0x26/0x70 kernel/trace/bpf_trace.c:163
 </TASK>
Kernel panic - not syncing: kernel: panic_on_warn set ...
CPU: 0 PID: 14 Comm: ksoftirqd/0 Not tainted 5.15.180-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106
 panic+0x318/0x860 kernel/panic.c:309
 __warn+0x2b2/0x300 kernel/panic.c:-1
 report_bug+0x1b7/0x2e0 lib/bug.c:199
 handle_bug+0x3d/0x70 arch/x86/kernel/traps.c:239
 exc_invalid_op+0x16/0x40 arch/x86/kernel/traps.c:259
 asm_exc_invalid_op+0x16/0x20 arch/x86/include/asm/idtentry.h:604
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 3b b1 d5 ff 48 c7 c0 f2 ff ff ff 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 24 b1 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:ffffc90000d378a8 EFLAGS: 00010246
RAX: ffffffff81aa911c RBX: 0000000000000000 RCX: ffff88813ff21dc0
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: dffffc0000000000 R08: ffffffff81aa902d R09: fffffbfff2131819
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: 0000000000000008 R14: 0000000000000000 R15: ffffc90000d37908
 bpf_probe_read_user_common kernel/trace/bpf_trace.c:157 [inline]
 ____bpf_probe_read_user kernel/trace/bpf_trace.c:166 [inline]
 bpf_probe_read_user+0x26/0x70 kernel/trace/bpf_trace.c:163
 </TASK>
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (81777):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/04/20 14:00 linux-5.15.y f7347f400572 2a20f901 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_user
2025/04/20 08:38 linux-5.15.y f7347f400572 2a20f901 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_user
2025/04/20 07:39 linux-5.15.y f7347f400572 2a20f901 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_user
2025/04/07 23:46 linux-5.15.y 0c935c049b5c a2ada0e7 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_user
2025/03/23 03:15 linux-5.15.y 0c935c049b5c c6512ef7 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_user
2025/03/16 12:00 linux-5.15.y 0c935c049b5c e2826670 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_user
2025/03/16 03:32 linux-5.15.y 0c935c049b5c e2826670 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_user
2025/03/15 13:27 linux-5.15.y 0c935c049b5c e2826670 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_user
2025/03/15 09:11 linux-5.15.y 0c935c049b5c e2826670 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_user
2025/03/15 02:22 linux-5.15.y 0c935c049b5c e2826670 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_user
2025/03/09 00:25 linux-5.15.y c16c81c81336 7e3bd60d .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_user
2025/03/08 08:25 linux-5.15.y c16c81c81336 7e3bd60d .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_user
2025/03/08 07:56 linux-5.15.y c16c81c81336 7e3bd60d .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_user
2025/03/03 22:26 linux-5.15.y c16c81c81336 c3901742 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_user
2025/03/03 21:24 linux-5.15.y c16c81c81336 c3901742 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_user
2025/03/03 05:22 linux-5.15.y c16c81c81336 c3901742 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_user
2025/03/02 01:31 linux-5.15.y c16c81c81336 c3901742 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_user
2025/03/01 15:28 linux-5.15.y c16c81c81336 67cf5345 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_user
2025/02/25 06:41 linux-5.15.y c16c81c81336 d34966d1 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_user
2025/02/22 13:22 linux-5.15.y c16c81c81336 d34966d1 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_user
2025/02/22 09:37 linux-5.15.y c16c81c81336 d34966d1 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_user
2025/02/21 12:10 linux-5.15.y c16c81c81336 0808a665 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_user
2025/02/15 20:18 linux-5.15.y c16c81c81336 40a34ec9 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_user
2025/02/15 15:38 linux-5.15.y c16c81c81336 40a34ec9 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_user
2025/02/15 05:21 linux-5.15.y c16c81c81336 1022af74 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_user
2025/02/15 02:27 linux-5.15.y c16c81c81336 1022af74 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_user
2025/02/13 05:50 linux-5.15.y c16c81c81336 b27c2402 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_user
2025/02/08 12:52 linux-5.15.y c16c81c81336 ef44b750 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_user
2025/02/08 02:32 linux-5.15.y c16c81c81336 ef44b750 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_user
2025/02/06 15:12 linux-5.15.y c16c81c81336 577d049b .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_user
2025/02/06 10:03 linux-5.15.y c16c81c81336 577d049b .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_user
2025/01/31 08:18 linux-5.15.y 003148680b79 4c6ac32f .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_user
2025/01/29 07:04 linux-5.15.y 003148680b79 865ef71e .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_user
2025/01/25 01:45 linux-5.15.y 003148680b79 1293872d .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_user
2025/01/23 16:05 linux-5.15.y 4735586da88e a44b0418 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_user
2025/01/23 09:32 linux-5.15.y 4735586da88e a44b0418 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_user
2025/01/22 07:33 linux-5.15.y 4735586da88e da72ac06 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_user
2023/11/04 23:31 linux-5.15.y 12952a23a5da 500bfdc4 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_user
2025/04/14 13:38 linux-5.15.y f7347f400572 0bd6db41 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_user
2025/03/03 20:32 linux-5.15.y c16c81c81336 c3901742 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_user
2025/02/14 12:44 linux-5.15.y c16c81c81336 d9a046cf .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_user
2025/04/21 22:15 linux-5.15.y f7347f400572 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_user
2025/04/21 18:52 linux-5.15.y f7347f400572 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_user
2025/04/21 18:49 linux-5.15.y f7347f400572 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_user
2025/04/21 17:48 linux-5.15.y f7347f400572 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_user
2025/04/21 14:28 linux-5.15.y f7347f400572 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_user
2025/04/21 13:04 linux-5.15.y f7347f400572 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_user
2025/04/21 10:52 linux-5.15.y f7347f400572 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_user
2025/04/21 10:08 linux-5.15.y f7347f400572 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_user
2025/04/21 09:26 linux-5.15.y f7347f400572 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_user
2025/04/21 05:39 linux-5.15.y f7347f400572 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_user
2025/04/21 00:00 linux-5.15.y f7347f400572 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_user
2025/04/20 22:22 linux-5.15.y f7347f400572 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_user
2025/04/20 21:03 linux-5.15.y f7347f400572 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_user
2025/04/20 20:27 linux-5.15.y f7347f400572 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_user
2025/04/20 20:07 linux-5.15.y f7347f400572 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_user
2025/04/20 19:59 linux-5.15.y f7347f400572 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_user
2025/04/20 17:18 linux-5.15.y f7347f400572 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_user
2025/04/20 15:39 linux-5.15.y f7347f400572 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_user
2025/04/20 15:29 linux-5.15.y f7347f400572 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_user
2025/04/20 13:18 linux-5.15.y f7347f400572 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_user
2025/04/20 13:18 linux-5.15.y f7347f400572 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_user
2025/04/20 12:16 linux-5.15.y f7347f400572 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_user
2025/04/20 11:12 linux-5.15.y f7347f400572 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_user
2025/04/20 08:04 linux-5.15.y f7347f400572 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_user
2025/04/20 07:10 linux-5.15.y f7347f400572 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_user
2025/04/20 06:41 linux-5.15.y f7347f400572 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_user
2025/04/20 01:16 linux-5.15.y f7347f400572 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_user
2025/04/19 23:20 linux-5.15.y f7347f400572 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_user
2025/04/19 22:47 linux-5.15.y f7347f400572 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_user
2025/04/19 19:55 linux-5.15.y f7347f400572 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_user
2025/04/19 19:53 linux-5.15.y f7347f400572 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_user
2025/04/19 17:59 linux-5.15.y f7347f400572 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_user
2025/04/19 17:23 linux-5.15.y f7347f400572 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_user
2025/04/19 16:13 linux-5.15.y f7347f400572 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_user
2025/04/19 14:46 linux-5.15.y f7347f400572 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_user
2025/04/19 13:41 linux-5.15.y f7347f400572 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_user
2025/04/19 12:46 linux-5.15.y f7347f400572 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_user
2025/04/19 12:45 linux-5.15.y f7347f400572 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_user
2025/04/19 11:33 linux-5.15.y f7347f400572 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in bpf_probe_read_user
2025/04/19 10:30 linux-5.15.y f7347f400572 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_user
2025/04/19 09:55 linux-5.15.y f7347f400572 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_user
2025/04/19 09:11 linux-5.15.y f7347f400572 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_user
2025/04/19 09:05 linux-5.15.y f7347f400572 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_user
2025/04/19 07:59 linux-5.15.y f7347f400572 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_user
2023/11/04 18:36 linux-5.15.y 12952a23a5da 500bfdc4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bpf_probe_read_user
* Struck through repros no longer work on HEAD.