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: 444d, last: 21d
Fix bisection: failed (error log, bisect log)
  
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 637d 714d 0/1 upstream: reported C repro on 2022/12/19 07:06
upstream WARNING in hfsplus_free_extents hfs C error 327 6d17h 728d 0/28 upstream: reported C repro on 2022/12/05 08:02
linux-5.15 WARNING in hfsplus_free_extents origin:upstream C error 12 32d 565d 0/3 upstream: reported C repro on 2023/05/17 17:56
Fix bisection attempts (5)
Created Duration User Patch Repo Result
2024/05/16 23:20 33m bisect fix linux-6.1.y error job log
2024/03/27 02:44 1h23m bisect fix linux-6.1.y OK (0) job log log
2024/02/25 10:05 1h43m bisect fix linux-6.1.y OK (0) job log log
2023/12/21 12:42 1h43m bisect fix linux-6.1.y OK (0) job log log
2023/10/22 09:51 1h26m bisect fix linux-6.1.y OK (0) job log 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 (23):
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/11/07 23:26 linux-6.1.y 7c15117f9468 867e44df .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in hfsplus_free_extents
2024/11/05 16:38 linux-6.1.y 7c15117f9468 da38b4c9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in hfsplus_free_extents
2024/10/31 10:28 linux-6.1.y 7ec6f9fa3d97 96eb609f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in hfsplus_free_extents
2024/10/26 14:38 linux-6.1.y 7ec6f9fa3d97 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in hfsplus_free_extents
2024/10/15 04:10 linux-6.1.y aa4cd140bba5 b01b6661 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in hfsplus_free_extents
2024/09/06 22:14 linux-6.1.y 699506173494 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in hfsplus_free_extents
2024/08/26 21:52 linux-6.1.y ee5e09825b81 9aee4e0b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in hfsplus_free_extents
2024/08/11 19:05 linux-6.1.y 36790ef5e00b 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in hfsplus_free_extents
2024/07/26 21:10 linux-6.1.y c18e82d3ee44 46eb10b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in hfsplus_free_extents
2024/06/05 03:00 linux-6.1.y 88690811da69 e1e2c66e .config console log report info [disk image] [vmlinux] [kernel image] 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/11/11 02:30 linux-6.1.y d7039b844a1c 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in hfsplus_free_extents
2024/11/07 15:30 linux-6.1.y 7c15117f9468 867e44df .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in hfsplus_free_extents
2024/09/12 13:49 linux-6.1.y 5f55cad62cc9 60e1a995 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in hfsplus_free_extents
2024/08/02 03:09 linux-6.1.y c1cec4dad96b 1e9c4cf3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in hfsplus_free_extents
2024/06/17 23:25 linux-6.1.y eb44d83053d6 1f11cfd7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 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.