syzbot


BUG: using smp_processor_id() in preemptible code in z_erofs_get_gbuf

Status: closed as invalid on 2024/04/23 23:34
Subsystems: erofs
[Documentation on labels]
Reported-by: syzbot+27cc650ef45b379dfe5a@syzkaller.appspotmail.com
First crash: 261d, last: 257d
Discussions (2)
Title Replies (including bot) Last reply
[syzbot] [erofs?] BUG: using smp_processor_id() in preemptible code in z_erofs_get_gbuf 3 (6) 2024/04/23 23:34
[PATCH v1] erofs: use raw_smp_processor_id() to get buffer from global buffer pool 4 (4) 2024/04/08 23:20
Last patch testing requests (2)
Created Duration User Patch Repo Result
2024/04/09 01:48 2h46m (2) hsiangkao@linux.alibaba.com git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git dev error
2024/04/09 01:17 11h40m (2) eadavis@qq.com patch https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git 2b3d5988ae2c OK log

Sample crash report:
BUG: using smp_processor_id() in preemptible [00000000] code: kworker/u9:1/4483
caller is z_erofs_gbuf_id fs/erofs/zutil.c:31 [inline]
caller is z_erofs_get_gbuf+0x2c/0xd0 fs/erofs/zutil.c:39
CPU: 0 PID: 4483 Comm: kworker/u9:1 Not tainted 6.9.0-rc2-next-20240404-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Workqueue: erofs_worker z_erofs_decompressqueue_work
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114
 check_preemption_disabled+0x10e/0x120 lib/smp_processor_id.c:49
 z_erofs_gbuf_id fs/erofs/zutil.c:31 [inline]
 z_erofs_get_gbuf+0x2c/0xd0 fs/erofs/zutil.c:39
 z_erofs_lz4_handle_overlap fs/erofs/decompressor.c:162 [inline]
 z_erofs_lz4_decompress_mem fs/erofs/decompressor.c:234 [inline]
 z_erofs_lz4_decompress+0xe42/0x17b0 fs/erofs/decompressor.c:307
 z_erofs_decompress_pcluster fs/erofs/zdata.c:1260 [inline]
 z_erofs_decompress_queue+0x1e30/0x3960 fs/erofs/zdata.c:1345
 z_erofs_decompressqueue_work+0x99/0xe0 fs/erofs/zdata.c:1360
 process_one_work kernel/workqueue.c:3218 [inline]
 process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3299
 worker_thread+0x86d/0xd70 kernel/workqueue.c:3380

Crashes (242):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/04 18:46 linux-next 2b3d5988ae2c 0ee3535e .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-linux-next-kasan-gce-root BUG: using smp_processor_id() in preemptible code in z_erofs_get_gbuf
2024/04/09 06:04 linux-next 11cb68ad52ac 53df08b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: using smp_processor_id() in preemptible code in z_erofs_get_gbuf
2024/04/09 05:02 linux-next 11cb68ad52ac 53df08b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: using smp_processor_id() in preemptible code in z_erofs_get_gbuf
2024/04/09 04:20 linux-next 11cb68ad52ac 53df08b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: using smp_processor_id() in preemptible code in z_erofs_get_gbuf
2024/04/09 01:53 linux-next 11cb68ad52ac 53df08b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: using smp_processor_id() in preemptible code in z_erofs_get_gbuf
2024/04/09 00:50 linux-next 11cb68ad52ac 53df08b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: using smp_processor_id() in preemptible code in z_erofs_get_gbuf
2024/04/08 22:31 linux-next 11cb68ad52ac 53df08b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: using smp_processor_id() in preemptible code in z_erofs_get_gbuf
2024/04/08 20:56 linux-next 11cb68ad52ac 53df08b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: using smp_processor_id() in preemptible code in z_erofs_get_gbuf
2024/04/08 19:41 linux-next 11cb68ad52ac 53df08b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: using smp_processor_id() in preemptible code in z_erofs_get_gbuf
2024/04/08 18:22 linux-next 11cb68ad52ac 53df08b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: using smp_processor_id() in preemptible code in z_erofs_get_gbuf
2024/04/08 15:53 linux-next 11cb68ad52ac 53df08b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: using smp_processor_id() in preemptible code in z_erofs_get_gbuf
2024/04/08 15:37 linux-next 11cb68ad52ac 53df08b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: using smp_processor_id() in preemptible code in z_erofs_get_gbuf
2024/04/08 13:48 linux-next 11cb68ad52ac ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: using smp_processor_id() in preemptible code in z_erofs_get_gbuf
2024/04/08 12:11 linux-next 11cb68ad52ac ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: using smp_processor_id() in preemptible code in z_erofs_get_gbuf
2024/04/08 10:49 linux-next 11cb68ad52ac ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: using smp_processor_id() in preemptible code in z_erofs_get_gbuf
2024/04/08 10:21 linux-next 11cb68ad52ac ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: using smp_processor_id() in preemptible code in z_erofs_get_gbuf
2024/04/08 08:59 linux-next 11cb68ad52ac ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: using smp_processor_id() in preemptible code in z_erofs_get_gbuf
2024/04/08 07:57 linux-next 11cb68ad52ac ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: using smp_processor_id() in preemptible code in z_erofs_get_gbuf
2024/04/08 07:36 linux-next 11cb68ad52ac ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: using smp_processor_id() in preemptible code in z_erofs_get_gbuf
2024/04/08 06:27 linux-next 11cb68ad52ac ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: using smp_processor_id() in preemptible code in z_erofs_get_gbuf
2024/04/08 05:21 linux-next 11cb68ad52ac ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: using smp_processor_id() in preemptible code in z_erofs_get_gbuf
2024/04/08 03:39 linux-next 8568bb2ccc27 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: using smp_processor_id() in preemptible code in z_erofs_get_gbuf
2024/04/08 01:58 linux-next 8568bb2ccc27 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: using smp_processor_id() in preemptible code in z_erofs_get_gbuf
2024/04/08 00:12 linux-next 8568bb2ccc27 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: using smp_processor_id() in preemptible code in z_erofs_get_gbuf
2024/04/07 23:05 linux-next 8568bb2ccc27 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: using smp_processor_id() in preemptible code in z_erofs_get_gbuf
2024/04/07 21:58 linux-next 8568bb2ccc27 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: using smp_processor_id() in preemptible code in z_erofs_get_gbuf
2024/04/07 20:52 linux-next 8568bb2ccc27 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: using smp_processor_id() in preemptible code in z_erofs_get_gbuf
2024/04/07 19:17 linux-next 8568bb2ccc27 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: using smp_processor_id() in preemptible code in z_erofs_get_gbuf
2024/04/07 18:04 linux-next 8568bb2ccc27 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: using smp_processor_id() in preemptible code in z_erofs_get_gbuf
2024/04/07 18:03 linux-next 8568bb2ccc27 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: using smp_processor_id() in preemptible code in z_erofs_get_gbuf
2024/04/07 16:29 linux-next 8568bb2ccc27 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: using smp_processor_id() in preemptible code in z_erofs_get_gbuf
2024/04/07 15:24 linux-next 8568bb2ccc27 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: using smp_processor_id() in preemptible code in z_erofs_get_gbuf
2024/04/07 14:19 linux-next 8568bb2ccc27 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: using smp_processor_id() in preemptible code in z_erofs_get_gbuf
2024/04/07 13:09 linux-next 8568bb2ccc27 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: using smp_processor_id() in preemptible code in z_erofs_get_gbuf
2024/04/07 11:34 linux-next 8568bb2ccc27 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: using smp_processor_id() in preemptible code in z_erofs_get_gbuf
2024/04/07 10:24 linux-next 8568bb2ccc27 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: using smp_processor_id() in preemptible code in z_erofs_get_gbuf
2024/04/07 09:38 linux-next 8568bb2ccc27 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: using smp_processor_id() in preemptible code in z_erofs_get_gbuf
2024/04/07 07:36 linux-next 8568bb2ccc27 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: using smp_processor_id() in preemptible code in z_erofs_get_gbuf
2024/04/07 06:06 linux-next 8568bb2ccc27 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: using smp_processor_id() in preemptible code in z_erofs_get_gbuf
2024/04/07 04:40 linux-next 8568bb2ccc27 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: using smp_processor_id() in preemptible code in z_erofs_get_gbuf
2024/04/07 02:20 linux-next 8568bb2ccc27 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: using smp_processor_id() in preemptible code in z_erofs_get_gbuf
2024/04/07 01:53 linux-next 8568bb2ccc27 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: using smp_processor_id() in preemptible code in z_erofs_get_gbuf
2024/04/07 00:39 linux-next 8568bb2ccc27 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: using smp_processor_id() in preemptible code in z_erofs_get_gbuf
2024/04/06 23:34 linux-next 8568bb2ccc27 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: using smp_processor_id() in preemptible code in z_erofs_get_gbuf
* Struck through repros no longer work on HEAD.