syzbot


net test error: BUG: using smp_processor_id() in preemptible code in ext4_mb_new_blocks

Status: closed as dup on 2020/06/13 00:43
Subsystems: ext4
[Documentation on labels]
Reported-by: syzbot+38af52cdcc116cee7742@syzkaller.appspotmail.com
First crash: 1662d, last: 1654d
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
net test error: BUG: using smp_processor_id() in preemptible code in ext4_mb_new_blocks 0 (1) 2020/06/12 18:34

Sample crash report:
BUG: using smp_processor_id() in preemptible [00000000] code: systemd-rfkill/6732
caller is ext4_mb_new_blocks+0xa4d/0x3b70 fs/ext4/mballoc.c:4711
CPU: 1 PID: 6732 Comm: systemd-rfkill Not tainted 5.8.0-rc1-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+0x18f/0x20d lib/dump_stack.c:118
 check_preemption_disabled+0x20d/0x220 lib/smp_processor_id.c:48
 ext4_mb_new_blocks+0xa4d/0x3b70 fs/ext4/mballoc.c:4711
 ext4_ext_map_blocks+0x201b/0x33e0 fs/ext4/extents.c:4244
 ext4_map_blocks+0x4cb/0x1640 fs/ext4/inode.c:626
 ext4_getblk+0xad/0x520 fs/ext4/inode.c:833
 ext4_bread+0x7c/0x380 fs/ext4/inode.c:883
 ext4_append+0x153/0x360 fs/ext4/namei.c:67
 ext4_init_new_dir fs/ext4/namei.c:2757 [inline]
 ext4_mkdir+0x5e0/0xdf0 fs/ext4/namei.c:2802
 vfs_mkdir+0x419/0x690 fs/namei.c:3641
 do_mkdirat+0x21e/0x280 fs/namei.c:3664
 do_syscall_64+0x60/0xe0 arch/x86/entry/common.c:359
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x7f88b3b9f687
Code: Bad RIP value.
RSP: 002b:00007ffcc8331ac8 EFLAGS: 00000246 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 00005640286cb985 RCX: 00007f88b3b9f687
RDX: 00007ffcc8331990 RSI: 00000000000001ed RDI: 00005640286cb985
RBP: 00007f88b3b9f680 R08: 0000000000000100 R09: 0000000000000000
R10: 00005640286cb980 R11: 0000000000000246 R12: 00000000000001ed
R13: 00007ffcc8331c50 R14: 0000000000000000 R15: 0000000000000000

Crashes (178):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/06/16 23:30 net-old c9f66b43ee27 559fbe2d .config console log report ci-upstream-net-this-kasan-gce
2020/06/16 20:48 net-old 662051215c75 559fbe2d .config console log report ci-upstream-net-this-kasan-gce
2020/06/16 18:03 net-old b8ad540dd4e4 559fbe2d .config console log report ci-upstream-net-this-kasan-gce
2020/06/16 07:51 net-old b8ad540dd4e4 baca2611 .config console log report ci-upstream-net-this-kasan-gce
2020/06/16 05:49 net-old b8ad540dd4e4 baca2611 .config console log report ci-upstream-net-this-kasan-gce
2020/06/16 05:49 net-old b8ad540dd4e4 baca2611 .config console log report ci-upstream-net-this-kasan-gce
2020/06/16 04:34 net-old b8ad540dd4e4 baca2611 .config console log report ci-upstream-net-this-kasan-gce
2020/06/16 01:31 net-old b8ad540dd4e4 baca2611 .config console log report ci-upstream-net-this-kasan-gce
2020/06/15 22:48 net-old c92cbaea3cc0 baca2611 .config console log report ci-upstream-net-this-kasan-gce
2020/06/15 21:45 net-old c92cbaea3cc0 baca2611 .config console log report ci-upstream-net-this-kasan-gce
2020/06/15 20:34 net-old b3a9e3b9622a baca2611 .config console log report ci-upstream-net-this-kasan-gce
2020/06/15 19:25 net-old 96144c58abe7 baca2611 .config console log report ci-upstream-net-this-kasan-gce
2020/06/15 18:28 net-old 96144c58abe7 baca2611 .config console log report ci-upstream-net-this-kasan-gce
2020/06/15 16:52 net-old 96144c58abe7 8e3ab941 .config console log report ci-upstream-net-this-kasan-gce
2020/06/15 13:11 net-old 96144c58abe7 8e3ab941 .config console log report ci-upstream-net-this-kasan-gce
2020/06/15 09:01 net-old 96144c58abe7 8e3ab941 .config console log report ci-upstream-net-this-kasan-gce
2020/06/15 06:39 net-old 96144c58abe7 2a22c77a .config console log report ci-upstream-net-this-kasan-gce
2020/06/14 23:57 net-old 96144c58abe7 2a22c77a .config console log report ci-upstream-net-this-kasan-gce
2020/06/14 22:37 net-old 96144c58abe7 2a22c77a .config console log report ci-upstream-net-this-kasan-gce
2020/06/14 22:37 net-old 96144c58abe7 2a22c77a .config console log report ci-upstream-net-this-kasan-gce
2020/06/14 19:03 net-old 96144c58abe7 2a22c77a .config console log report ci-upstream-net-this-kasan-gce
2020/06/14 11:56 net-old 96144c58abe7 2a22c77a .config console log report ci-upstream-net-this-kasan-gce
2020/06/14 10:04 net-old 96144c58abe7 2e9b5f59 .config console log report ci-upstream-net-this-kasan-gce
2020/06/14 05:28 net-old 96144c58abe7 a61674a5 .config console log report ci-upstream-net-this-kasan-gce
2020/06/14 00:39 net-old 96144c58abe7 dbce178a .config console log report ci-upstream-net-this-kasan-gce
2020/06/13 22:38 net-old bf97bac9dc64 dbce178a .config console log report ci-upstream-net-this-kasan-gce
2020/06/13 22:38 net-old bf97bac9dc64 dbce178a .config console log report ci-upstream-net-this-kasan-gce
2020/06/13 17:14 net-old 6954a9e4192b dbce178a .config console log report ci-upstream-net-this-kasan-gce
2020/06/13 07:30 net-old 6954a9e4192b f4724dd3 .config console log report ci-upstream-net-this-kasan-gce
2020/06/13 06:03 net-old 6954a9e4192b f4724dd3 .config console log report ci-upstream-net-this-kasan-gce
2020/06/13 04:24 net-old 6954a9e4192b f4724dd3 .config console log report ci-upstream-net-this-kasan-gce
2020/06/13 03:03 net-old 6954a9e4192b f4724dd3 .config console log report ci-upstream-net-this-kasan-gce
2020/06/13 01:42 net-old 6954a9e4192b f4724dd3 .config console log report ci-upstream-net-this-kasan-gce
2020/06/12 21:22 net-old 6954a9e4192b df590254 .config console log report ci-upstream-net-this-kasan-gce
2020/06/12 21:22 net-old 6954a9e4192b df590254 .config console log report ci-upstream-net-this-kasan-gce
2020/06/12 16:25 net-old 18dbd4cd9b8c df590254 .config console log report ci-upstream-net-this-kasan-gce
2020/06/12 01:28 net-old 2ad6691d988c 58802067 .config console log report ci-upstream-net-this-kasan-gce
2020/06/11 23:49 net-old 9798278260e8 58802067 .config console log report ci-upstream-net-this-kasan-gce
2020/06/11 20:18 net-old 9798278260e8 3ab7a05a .config console log report ci-upstream-net-this-kasan-gce
2020/06/11 12:18 net-old ae0b829df712 3ab7a05a .config console log report ci-upstream-net-this-kasan-gce
2020/06/11 05:11 net-old ae0b829df712 3ab7a05a .config console log report ci-upstream-net-this-kasan-gce
2020/06/10 23:52 net-old 4b5af44129d0 a6f7998d .config console log report ci-upstream-net-this-kasan-gce
2020/06/10 20:57 net-old 5969856ae8ce a6f7998d .config console log report ci-upstream-net-this-kasan-gce
2020/06/10 17:25 net-old 89dc68533b19 a6f7998d .config console log report ci-upstream-net-this-kasan-gce
2020/06/10 16:06 net-old 89dc68533b19 a6f7998d .config console log report ci-upstream-net-this-kasan-gce
2020/06/10 16:06 net-old 89dc68533b19 a6f7998d .config console log report ci-upstream-net-this-kasan-gce
2020/06/08 18:31 net-old af7b4801030c 7604bb03 .config console log report ci-upstream-net-this-kasan-gce
* Struck through repros no longer work on HEAD.