syzbot


upstream test error: BUG: using smp_processor_id() in preemptible code in ext4_ext_map_blocks

Status: closed as dup on 2020/06/10 12:54
Subsystems: ext4
[Documentation on labels]
Reported-by: syzbot+d541e928666fa26ff342@syzkaller.appspotmail.com
First crash: 1660d, last: 1658d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
linux-next test error: BUG: using smp_processor_id() in preemptible [ADDR] code: syz-fuzzer/6792 ext4 1 1668d 1668d
Discussions (1)
Title Replies (including bot) Last reply
upstream test error: BUG: using smp_processor_id() in preemptible code in ext4_ext_map_blocks 0 (1) 2020/06/10 08:58

Sample crash report:
BUG: using smp_processor_id() in preemptible [00000000] code: systemd-rfkill/6729
caller is ext4_mb_new_blocks+0x301/0x1620 fs/ext4/mballoc.c:4711
CPU: 0 PID: 6729 Comm: systemd-rfkill Not tainted 5.7.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1f0/0x31e lib/dump_stack.c:118
 check_preemption_disabled+0x1c9/0x240 lib/smp_processor_id.c:47
 ext4_ext_map_blocks+0x2ad5/0x6d20 fs/ext4/extents.c:4244
 ext4_map_blocks+0x8c1/0x19e0 fs/ext4/inode.c:626
 ext4_getblk+0xa4/0x460 fs/ext4/inode.c:833
 ext4_append+0x153/0x2d0 fs/ext4/namei.c:67
 vfs_mkdir+0x42a/0x620 fs/namei.c:3641
 do_syscall_64+0xf3/0x1b0 arch/x86/entry/common.c:295
RIP: 0033:0x7febf9ae4687
Code: Bad RIP value.
RSP: 002b:00007ffd9972a518 EFLAGS: 00000246 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 000056351fcab985 RCX: 00007febf9ae4687
RDX: 00007ffd9972a3e0 RSI: 00000000000001ed RDI: 000056351fcab985
RBP: 00007febf9ae4680 R08: 0000000000000100 R09: 0000000000000000
R10: 000056351fcab980 R11: 0000000000000246 R12: 00000000000001ed
R13: 00007ffd9972a6a0 R14: 0000000000000000 R15: 0000000000000000

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/06/12 03:05 upstream b791d1bdf921 58802067 .config console log report ci-upstream-kasan-gce-smack-root
2020/06/11 22:56 upstream 623f6dc593ea 3ab7a05a .config console log report ci-upstream-kasan-gce-selinux-root
2020/06/10 06:50 upstream 5b14671be58d 860c4de9 .config console log report ci-upstream-kasan-gce-selinux-root
* Struck through repros no longer work on HEAD.