syzbot


WARNING in hfsplus_cat_write_inode

Status: fixed on 2023/06/08 14:41
Subsystems: hfs
[Documentation on labels]
Reported-by: syzbot+4913dca2ea6e4d43f3f1@syzkaller.appspotmail.com
Fix commit: 81b21c0f0138 fs: hfsplus: remove WARN_ON() from hfsplus_cat_{read,write}_inode()
First crash: 503d, last: 336d
Cause bisection: failed (error log, bisect log)
  
Discussions (10)
Title Replies (including bot) Last reply
[PATCH AUTOSEL 4.14] fs: hfsplus: remove WARN_ON() from hfsplus_cat_{read,write}_inode() 1 (1) 2023/04/30 12:13
[PATCH AUTOSEL 4.19] fs: hfsplus: remove WARN_ON() from hfsplus_cat_{read,write}_inode() 1 (1) 2023/04/30 12:13
[PATCH AUTOSEL 5.4] fs: hfsplus: remove WARN_ON() from hfsplus_cat_{read,write}_inode() 1 (1) 2023/04/30 12:13
[PATCH AUTOSEL 5.10] fs: hfsplus: remove WARN_ON() from hfsplus_cat_{read,write}_inode() 1 (1) 2023/04/30 12:13
[PATCH AUTOSEL 5.15] fs: hfsplus: remove WARN_ON() from hfsplus_cat_{read,write}_inode() 1 (1) 2023/04/30 12:13
[PATCH AUTOSEL 6.1 2/2] fs: hfsplus: remove WARN_ON() from hfsplus_cat_{read,write}_inode() 1 (1) 2023/04/30 12:13
[PATCH AUTOSEL 6.2 2/2] fs: hfsplus: remove WARN_ON() from hfsplus_cat_{read,write}_inode() 1 (1) 2023/04/30 12:13
[PATCH AUTOSEL 6.3 2/2] fs: hfsplus: remove WARN_ON() from hfsplus_cat_{read,write}_inode() 1 (1) 2023/04/30 12:12
[PATCH] fs: hfsplus: remove WARN_ON() from hfsplus_cat_{read,write}_inode() 3 (3) 2023/04/12 09:38
[syzbot] WARNING in hfsplus_cat_write_inode 0 (1) 2022/11/26 08:06
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in hfsplus_cat_write_inode origin:lts-only C done 9 326d 388d 3/3 fixed on 2023/06/26 14:47
linux-4.14 WARNING in hfsplus_cat_write_inode hfsplus C 1 415d 445d 0/1 upstream: reported C repro on 2023/01/23 02:49
linux-6.1 WARNING in hfsplus_cat_write_inode origin:lts-only C done 9 324d 384d 3/3 fixed on 2023/06/26 14:47

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 1062 at fs/hfsplus/inode.c:616 hfsplus_cat_write_inode+0xb33/0x1000
Modules linked in:
CPU: 0 PID: 1062 Comm: kworker/u4:5 Not tainted 6.3.0-rc4-syzkaller-00039-gffe78bbd5121 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
Workqueue: writeback wb_workfn (flush-7:0)
RIP: 0010:hfsplus_cat_write_inode+0xb33/0x1000 fs/hfsplus/inode.c:616
Code: 00 0f 85 e8 04 00 00 44 89 f0 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 59 ae 2d ff 0f 0b e9 d4 f7 ff ff e8 4d ae 2d ff <0f> 0b e9 85 fa ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 0b f6 ff
RSP: 0018:ffffc900059e7160 EFLAGS: 00010293
RAX: ffffffff825ca4a3 RBX: 0000000000000058 RCX: ffff888020423a80
RDX: 0000000000000000 RSI: 0000000000000058 RDI: 00000000000000f8
RBP: ffffc900059e7510 R08: ffffffff825c9f1e R09: ffffed1004a33029
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880251981b0
R13: dffffc0000000000 R14: ffffc900059e71c0 R15: ffffc900059e7220
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055be3340ba10 CR3: 000000001cf2e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 write_inode fs/fs-writeback.c:1453 [inline]
 __writeback_single_inode+0x69b/0xfb0 fs/fs-writeback.c:1665
 writeback_sb_inodes+0x8ef/0x11d0 fs/fs-writeback.c:1891
 wb_writeback+0x458/0xc70 fs/fs-writeback.c:2065
 wb_do_writeback fs/fs-writeback.c:2208 [inline]
 wb_workfn+0x400/0xff0 fs/fs-writeback.c:2248
 process_one_work+0x8a0/0x10e0 kernel/workqueue.c:2390
 worker_thread+0xa63/0x1210 kernel/workqueue.c:2537
 kthread+0x270/0x300 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>

Crashes (141):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/03/29 22:14 upstream ffe78bbd5121 f325deb0 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in hfsplus_cat_write_inode
2023/03/28 09:50 upstream 91fe204578ba 47f3aaf1 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root WARNING in hfsplus_cat_write_inode
2023/03/25 08:34 upstream 65aca32efdcb 9700afae .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in hfsplus_cat_write_inode
2023/03/21 16:28 upstream 17214b70a159 7939252e .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in hfsplus_cat_write_inode
2023/01/16 06:27 upstream 5dc4c995db9e a63719e7 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in hfsplus_cat_write_inode
2022/12/31 14:53 upstream bff687b3dad6 ab32d508 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in hfsplus_cat_write_inode
2022/12/17 21:55 upstream 77856d911a8c 05494336 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in hfsplus_cat_write_inode
2022/12/12 19:22 upstream 830b3c68c1fb 67be1ae7 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root WARNING in hfsplus_cat_write_inode
2022/12/11 06:29 upstream 296a7b7eb792 67be1ae7 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root WARNING in hfsplus_cat_write_inode
2022/11/27 07:24 upstream 644e9524388a f4470a7b .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in hfsplus_cat_write_inode
2022/11/25 22:48 upstream 08ad43d554ba f4470a7b .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in hfsplus_cat_write_inode
2023/03/19 09:23 linux-next 6f08c1de13a9 7939252e .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-linux-next-kasan-gce-root WARNING in hfsplus_cat_write_inode
2023/01/09 20:40 linux-next 543b9b2fe10b 1dac8c7a .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-linux-next-kasan-gce-root WARNING in hfsplus_cat_write_inode
2023/01/08 05:13 linux-next cc3c08b41a9c 1dac8c7a .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-linux-next-kasan-gce-root WARNING in hfsplus_cat_write_inode
2022/12/18 02:06 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 05494336 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 WARNING in hfsplus_cat_write_inode
2023/04/25 10:59 upstream 1a0beef98b58 65320f8e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in hfsplus_cat_write_inode
2023/04/24 16:23 upstream 457391b03803 fdc18293 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in hfsplus_cat_write_inode
2023/04/24 08:10 upstream 457391b03803 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in hfsplus_cat_write_inode
2023/04/24 04:24 upstream 457391b03803 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in hfsplus_cat_write_inode
2023/04/23 19:13 upstream 622322f53c6d 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in hfsplus_cat_write_inode
2023/04/23 15:33 upstream 622322f53c6d 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in hfsplus_cat_write_inode
2023/04/23 04:21 upstream 2caeeb9d4a1b 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in hfsplus_cat_write_inode
2023/04/22 15:40 upstream 8e41e0a57566 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in hfsplus_cat_write_inode
2023/04/20 19:31 upstream cb0856346a60 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in hfsplus_cat_write_inode
2023/04/20 15:14 upstream cb0856346a60 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in hfsplus_cat_write_inode
2023/04/20 07:44 upstream 789b4a41c247 a219f34e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in hfsplus_cat_write_inode
2023/04/16 13:35 upstream 3e7bb4f24617 ec410564 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in hfsplus_cat_write_inode
2023/04/16 08:46 upstream a7a55e27ad72 ec410564 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in hfsplus_cat_write_inode
2023/04/16 07:28 upstream a7a55e27ad72 ec410564 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in hfsplus_cat_write_inode
2023/04/15 09:28 upstream 7a934f4bd7d6 ec410564 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in hfsplus_cat_write_inode
2023/04/15 04:21 upstream 95abc817ab3a ec410564 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in hfsplus_cat_write_inode
2023/04/14 13:09 upstream 44149752e998 3cfcaa1b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in hfsplus_cat_write_inode
2023/04/12 18:21 upstream e62252bc55b6 1a1596b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in hfsplus_cat_write_inode
2023/04/12 16:09 upstream e62252bc55b6 1a1596b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in hfsplus_cat_write_inode
2023/04/12 13:59 upstream e62252bc55b6 1a1596b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in hfsplus_cat_write_inode
2023/04/10 11:20 upstream 09a9639e56c0 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in hfsplus_cat_write_inode
2023/04/09 15:33 upstream cdc9718d5e59 71147e29 .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in hfsplus_cat_write_inode
2023/04/07 19:15 upstream f2afccfefe7b f7ba566d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in hfsplus_cat_write_inode
2023/04/04 14:40 upstream 148341f0a2f5 928dd177 .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in hfsplus_cat_write_inode
2023/04/01 07:45 upstream 5a57b48fdfcb f325deb0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in hfsplus_cat_write_inode
2023/03/31 07:47 upstream 8bb95a1662f8 f325deb0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in hfsplus_cat_write_inode
2023/03/27 05:29 upstream 197b6b60ae7b fbf0499a .config console log report info ci-upstream-kasan-gce-root WARNING in hfsplus_cat_write_inode
2023/03/25 12:06 upstream 65aca32efdcb fbf0499a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in hfsplus_cat_write_inode
2023/03/25 10:28 upstream 65aca32efdcb fbf0499a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in hfsplus_cat_write_inode
2023/03/25 04:53 upstream 65aca32efdcb fbf0499a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in hfsplus_cat_write_inode
2023/03/25 01:36 upstream 1e760fa3596e 9700afae .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in hfsplus_cat_write_inode
2023/03/24 23:21 upstream 1e760fa3596e ee89d73c .config console log report info ci-qemu-upstream WARNING in hfsplus_cat_write_inode
2023/03/24 05:41 upstream 9fd6ba5420ba f94b4a29 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in hfsplus_cat_write_inode
2023/03/24 02:09 upstream 9fd6ba5420ba f94b4a29 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in hfsplus_cat_write_inode
2023/03/24 01:17 upstream 9fd6ba5420ba f94b4a29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in hfsplus_cat_write_inode
2022/11/25 22:30 upstream 08ad43d554ba f4470a7b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in hfsplus_cat_write_inode
2023/04/16 10:31 upstream a7a55e27ad72 ec410564 .config console log report info ci-qemu-upstream-386 WARNING in hfsplus_cat_write_inode
2023/04/03 14:56 upstream 7e364e56293b 41147e3e .config console log report info ci-qemu-upstream-386 WARNING in hfsplus_cat_write_inode
2023/03/31 19:19 upstream 62bad54b26db f325deb0 .config console log report info ci-qemu-upstream-386 WARNING in hfsplus_cat_write_inode
2023/04/12 00:36 linux-next 009795d283d1 49faf98d .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in hfsplus_cat_write_inode
2023/04/10 06:27 linux-next e134c93f788f 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in hfsplus_cat_write_inode
2023/04/10 02:51 linux-next e134c93f788f 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in hfsplus_cat_write_inode
2023/04/09 18:30 linux-next e134c93f788f 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in hfsplus_cat_write_inode
2023/04/08 15:59 linux-next e134c93f788f 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in hfsplus_cat_write_inode
2023/04/08 12:11 linux-next e134c93f788f 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in hfsplus_cat_write_inode
2023/04/07 21:13 linux-next e134c93f788f f7ba566d .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in hfsplus_cat_write_inode
2023/04/02 04:32 linux-next 4b0f4525dc4f f325deb0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in hfsplus_cat_write_inode
2023/03/31 14:01 linux-next 4b0f4525dc4f f325deb0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in hfsplus_cat_write_inode
2023/05/12 00:48 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a adb9a3cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in hfsplus_cat_write_inode
2023/04/21 22:24 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in hfsplus_cat_write_inode
* Struck through repros no longer work on HEAD.