syzbot


WARNING in dbAllocDmap

Status: upstream: reported C repro on 2022/10/01 14:10
Reported-by: syzbot+d484b2ec23e63cf055db@syzkaller.appspotmail.com
First crash: 632d, last: 489d
Fix bisection attempts (3)
Created Duration User Patch Repo Result
2023/02/21 12:08 29m bisect fix linux-4.14.y job log (0) log
2023/01/21 10:06 24m bisect fix linux-4.14.y job log (0) log
2022/11/04 13:47 21m bisect fix linux-4.14.y job log (0) log

Sample crash report:
DEBUG_LOCKS_WARN_ON(__owner_task(owner) != current)
------------[ cut here ]------------
WARNING: CPU: 1 PID: 7988 at kernel/locking/mutex.c:1032 __mutex_unlock_slowpath+0x75c/0x770 kernel/locking/mutex.c:1032
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 7988 Comm: syz-executor230 Not tainted 4.14.295-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x281 lib/dump_stack.c:58
 panic+0x1f9/0x42d kernel/panic.c:183
 __warn.cold+0x20/0x44 kernel/panic.c:547
 report_bug+0x208/0x250 lib/bug.c:183
 fixup_bug arch/x86/kernel/traps.c:177 [inline]
 fixup_bug arch/x86/kernel/traps.c:172 [inline]
 do_error_trap+0x195/0x2d0 arch/x86/kernel/traps.c:295
 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:964
RIP: 0010:__mutex_unlock_slowpath+0x75c/0x770 kernel/locking/mutex.c:1032
RSP: 0018:ffff8880b34d7540 EFLAGS: 00010282
RAX: 0000000000000033 RBX: ffff8880a8f1827f RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000002 RDI: ffffed101669ae9e
RBP: ffff88809dbc4490 R08: 0000000000000033 R09: 0000000000000000
R10: 0000000000000000 R11: ffff8880a8f18280 R12: ffffffff8becddc0
R13: 1ffff1101669aeac R14: ffff8880b34d7580 R15: 0000000000000003
 dbAllocDmap+0x5f/0x100 fs/jfs/jfs_dmap.c:2080
 dbAllocNext+0x2ad/0x370 fs/jfs/jfs_dmap.c:1233
 dbAlloc+0x31d/0x980 fs/jfs/jfs_dmap.c:799
 extBalloc fs/jfs/jfs_extent.c:531 [inline]
 extAlloc+0x478/0xc20 fs/jfs/jfs_extent.c:138
 jfs_get_block+0x1be/0x950 fs/jfs/inode.c:259
 nobh_write_begin+0x368/0xc10 fs/buffer.c:2676
 jfs_write_begin+0x3e/0x190 fs/jfs/inode.c:324
 generic_perform_write+0x1c9/0x420 mm/filemap.c:3055
 __generic_file_write_iter+0x227/0x590 mm/filemap.c:3180
 generic_file_write_iter+0x36f/0x650 mm/filemap.c:3208
 call_write_iter include/linux/fs.h:1780 [inline]
 do_iter_readv_writev+0x4cf/0x5f0 fs/read_write.c:675
 do_iter_write+0x152/0x550 fs/read_write.c:954
 vfs_writev+0x125/0x290 fs/read_write.c:999
 do_pwritev fs/read_write.c:1088 [inline]
 SYSC_pwritev fs/read_write.c:1135 [inline]
 SyS_pwritev+0x15a/0x200 fs/read_write.c:1130
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x7f5ce7023e59
RSP: 002b:00007ffe577c4be8 EFLAGS: 00000246 ORIG_RAX: 0000000000000128
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f5ce7023e59
RDX: 0000000000000001 RSI: 0000000020002200 RDI: 0000000000000003
RBP: 00007f5ce6fe36c0 R08: 0000000000000000 R09: 00007f5ce6fe36c0
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000f8008000
R13: 0000000000000000 R14: 00080000000000f8 R15: 0000000000000000
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/10/03 05:39 linux-4.14.y 9d5c0b3a8e1a feb56351 .config console log report syz C [disk image] [vmlinux] ci2-linux-4-14 WARNING in dbAllocDmap
2022/10/01 14:09 linux-4.14.y 9d5c0b3a8e1a feb56351 .config console log report syz C [disk image] [vmlinux] ci2-linux-4-14 WARNING in dbAllocDmap
* Struck through repros no longer work on HEAD.