syzbot


WARNING in hfsplus_free_extents

Status: upstream: reported C repro on 2023/09/15 03:08
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+2684e1a866fd9dca0a1a@syzkaller.appspotmail.com
First crash: 230d, last: 22d
Bug presence (1)
Date Name Commit Repro Result
2023/09/15 upstream (ToT) 9fdfb15a3dbf C [report] WARNING in hfsplus_free_extents
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING in hfsplus_free_extents hfsplus C 29 423d 500d 0/1 upstream: reported C repro on 2022/12/19 07:06
upstream WARNING in hfsplus_free_extents hfs C error 232 4h40m 514d 0/26 upstream: reported C repro on 2022/12/05 08:02
linux-5.15 WARNING in hfsplus_free_extents origin:upstream C 8 2d12h 351d 0/3 upstream: reported C repro on 2023/05/17 17:56
Fix bisection attempts (4)
Created Duration User Patch Repo Result
2024/03/27 02:44 1h23m bisect fix linux-6.1.y job log (0) log
2024/02/25 10:05 1h43m bisect fix linux-6.1.y job log (0) log
2023/12/21 12:42 1h43m bisect fix linux-6.1.y job log (0) log
2023/10/22 09:51 1h26m bisect fix linux-6.1.y job log (0) log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 3606 at fs/hfsplus/extents.c:346 hfsplus_free_extents+0x703/0xae0
Modules linked in:
CPU: 1 PID: 3606 Comm: syz-executor375 Not tainted 6.1.53-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023
RIP: 0010:hfsplus_free_extents+0x703/0xae0 fs/hfsplus/extents.c:346
Code: 0f cb 44 89 ef 89 de e8 2b 18 2d ff 41 39 dd 75 20 49 83 c7 28 e8 bd 16 2d ff 41 bc 05 00 00 00 e9 e2 f9 ff ff e8 ad 16 2d ff <0f> 0b e9 83 f9 ff ff 44 89 ef 89 de e8 fc 17 2d ff 41 29 dd 73 0a
RSP: 0018:ffffc90003baeb50 EFLAGS: 00010293
RAX: ffffffff825cfd83 RBX: ffff888079aac820 RCX: ffff88802924bb80
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff8880134b2048
RBP: ffff888077b56000 R08: dffffc0000000000 R09: ffffed100269640a
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 000000000000014e R14: ffffc90003baec70 R15: ffff88807ef521d8
FS:  00007ff4f8e286c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff4f8e49fe8 CR3: 0000000076908000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 hfsplus_file_truncate+0x7cc/0xb40 fs/hfsplus/extents.c:591
 hfsplus_write_begin+0xc2/0xd0 fs/hfsplus/inode.c:56
 cont_expand_zero fs/buffer.c:2383 [inline]
 cont_write_begin+0x312/0x880 fs/buffer.c:2446
 hfsplus_write_begin+0x86/0xd0 fs/hfsplus/inode.c:52
 generic_perform_write+0x2fc/0x5e0 mm/filemap.c:3754
 __generic_file_write_iter+0x176/0x400 mm/filemap.c:3882
 generic_file_write_iter+0xab/0x310 mm/filemap.c:3914
 __kernel_write_iter+0x2ff/0x710 fs/read_write.c:517
 dump_emit_page fs/coredump.c:881 [inline]
 dump_user_range+0x43d/0x8e0 fs/coredump.c:908
 elf_core_dump+0x3cff/0x45b0 fs/binfmt_elf.c:2312
 do_coredump+0x18b7/0x2700 fs/coredump.c:755
 get_signal+0x1454/0x17d0 kernel/signal.c:2848
 arch_do_signal_or_restart+0xb0/0x1a10 arch/x86/kernel/signal.c:871
 exit_to_user_mode_loop+0x6a/0x100 kernel/entry/common.c:168
 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:204
 irqentry_exit_to_user_mode+0x5/0x40 kernel/entry/common.c:310
 exc_page_fault+0x1c0/0x660 arch/x86/mm/fault.c:1530
 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:570
RIP: 0033:0x0
Code: Unable to access opcode bytes at 0xffffffffffffffd6.
RSP: 002b:00000000200002f0 EFLAGS: 00010217
RAX: 0000000000000000 RBX: 00007ff5012b66e8 RCX: 00007ff50122de49
RDX: 00007ff4f8e28120 RSI: 0000000000000058 RDI: 00007ff4f8e28120
RBP: 00007ff5012b66e0 R08: 00007fff90f294c7 R09: 0000000000042000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ff501282810
R13: 0030656c69662f2e R14: 0073756c70736668 R15: 0031656c69662f2e
 </TASK>

Crashes (8):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/09/18 05:04 linux-6.1.y 09045dae0d90 0b6a67ac .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING in hfsplus_free_extents
2023/09/15 03:08 linux-6.1.y 09045dae0d90 0b6a67ac .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING in hfsplus_free_extents
2024/01/17 15:22 linux-6.1.y fec3b1451d5f c9a1c95b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in hfsplus_free_extents
2024/01/15 02:29 linux-6.1.y 7c58bfa711cb 551587c1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in hfsplus_free_extents
2023/11/21 00:43 linux-6.1.y 69e434a1cb21 cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in hfsplus_free_extents
2023/10/23 21:43 linux-6.1.y 7d24402875c7 989a3687 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in hfsplus_free_extents
2023/09/16 11:38 linux-6.1.y 09045dae0d90 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in hfsplus_free_extents
2024/04/10 14:50 linux-6.1.y 347385861c50 4320ec32 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in hfsplus_free_extents
* Struck through repros no longer work on HEAD.