syzbot


WARNING in hfsplus_ext_write_extent

Status: upstream: reported on 2022/11/28 10:03
Reported-by: syzbot+41264293e62d9074e4a8@syzkaller.appspotmail.com
First crash: 69d, last: 10h16m

Sample crash report:
------------[ cut here ]------------
DEBUG_LOCKS_WARN_ON(lock->magic != lock)
WARNING: CPU: 0 PID: 56 at kernel/locking/mutex.c:582 __mutex_lock_common+0x1bb0/0x26e0 kernel/locking/mutex.c:582
Modules linked in:
CPU: 0 PID: 56 Comm: kworker/u4:4 Not tainted 6.1.0-rc6-syzkaller-00315-gfaf68e3523c2 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Workqueue: writeback wb_workfn
 (flush-7:3)

RIP: 0010:__mutex_lock_common+0x1bb0/0x26e0 kernel/locking/mutex.c:582
Code: 84 c0 0f 85 bd 08 00 00 83 3d 63 80 db 03 00 0f 85 6f e5 ff ff 48 c7 c7 a0 98 ed 8a 48 c7 c6 20 99 ed 8a 31 c0 e8 20 91 b7 f6 <0f> 0b e9 53 e5 ff ff e8 84 e5 65 f6 e9 5a fa ff ff 0f 0b e9 53 ef
RSP: 0018:ffffc900015771e0 EFLAGS: 00010246

RAX: 3dec4f730bdc4f00 RBX: ffff88806fda0190 RCX: ffff8880196b8000
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc90001577360 R08: ffffffff816e55cd R09: ffffed1017304f1c
R10: ffffed1017304f1c R11: 1ffff11017304f1b R12: dffffc0000000000
R13: 1ffff920002aee50 R14: 0000000000000000 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2ddf1a1000 CR3: 000000004730f000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __mutex_lock kernel/locking/mutex.c:747 [inline]
 mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:799
 hfsplus_ext_write_extent+0x87/0x1e0 fs/hfsplus/extents.c:149
 hfsplus_write_inode+0x1e/0x5c0 fs/hfsplus/super.c:154
 write_inode fs/fs-writeback.c:1440 [inline]
 __writeback_single_inode+0x4d6/0x670 fs/fs-writeback.c:1652
 writeback_sb_inodes+0xb3b/0x18f0 fs/fs-writeback.c:1878
 wb_writeback+0x41f/0x7b0 fs/fs-writeback.c:2052
 wb_do_writeback fs/fs-writeback.c:2195 [inline]
 wb_workfn+0x3cb/0xef0 fs/fs-writeback.c:2235
 process_one_work+0x877/0xdb0 kernel/workqueue.c:2289
 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436
 kthread+0x266/0x300 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
 </TASK>

Crashes (16):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci2-upstream-fs 2022/11/27 15:53 upstream faf68e3523c2 f4470a7b .config console log report info [disk image] [vmlinux] [kernel image] WARNING in hfsplus_ext_write_extent
ci-upstream-gce-arm64 2023/02/05 00:24 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci ca72d58361ee be607b78 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in hfsplus_ext_write_extent
ci-upstream-gce-arm64 2023/02/04 23:41 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci ca72d58361ee be607b78 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in hfsplus_ext_write_extent
ci-upstream-gce-arm64 2023/02/03 05:40 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci ca72d58361ee 16d19e30 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in hfsplus_ext_write_extent
ci-upstream-gce-arm64 2023/01/04 21:34 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] WARNING in hfsplus_ext_write_extent
ci-upstream-gce-arm64 2023/01/03 21:28 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] WARNING in hfsplus_ext_write_extent
ci-upstream-gce-arm64 2022/12/30 18:07 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 44712fbc .config console log report info [disk image] [vmlinux] [kernel image] WARNING in hfsplus_ext_write_extent
ci-upstream-gce-arm64 2022/12/30 05:44 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 44712fbc .config console log report info [disk image] [vmlinux] [kernel image] WARNING in hfsplus_ext_write_extent
ci-upstream-gce-arm64 2022/12/29 08:14 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 44712fbc .config console log report info [disk image] [vmlinux] [kernel image] WARNING in hfsplus_ext_write_extent
ci-upstream-gce-arm64 2022/12/24 23:38 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in hfsplus_ext_write_extent
ci-upstream-gce-arm64 2022/12/23 18:01 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in hfsplus_ext_write_extent
ci-upstream-gce-arm64 2022/12/16 23:47 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 05494336 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in hfsplus_ext_write_extent
ci-upstream-gce-arm64 2022/12/15 09:28 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 6f9c033e .config console log report info [disk image] [vmlinux] [kernel image] WARNING in hfsplus_ext_write_extent
ci-upstream-gce-arm64 2022/12/12 07:20 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 67be1ae7 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in hfsplus_ext_write_extent
ci-upstream-gce-arm64 2022/12/12 02:20 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 67be1ae7 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in hfsplus_ext_write_extent
ci-upstream-gce-arm64 2022/12/08 10:18 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 1034e5fa .config console log report info [disk image] [vmlinux] [kernel image] WARNING in hfsplus_ext_write_extent
* Struck through repros no longer work on HEAD.