syzbot


kernel BUG in __hfsplus_setxattr

Status: upstream: reported C repro on 2023/04/06 18:57
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+e738f6e5c8c88da180ef@syzkaller.appspotmail.com
First crash: 663d, last: 1d03h
Fix bisection: failed (error log, bisect log)
  
Bug presence (1)
Date Name Commit Repro Result
2023/12/30 upstream (ToT) f016f7547aee C [report] kernel BUG in __hfsplus_setxattr
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 kernel BUG in __hfsplus_setxattr hfsplus C 11 708d 794d 0/1 upstream: reported C repro on 2022/11/26 07:08
upstream kernel BUG in __hfsplus_setxattr hfs C error 13358 now 794d 0/28 upstream: reported C repro on 2022/11/26 08:06
linux-6.1 kernel BUG in __hfsplus_setxattr origin:upstream C error 62 1d14h 665d 0/3 upstream: reported C repro on 2023/04/04 04:32
linux-4.14 kernel BUG in __hfsplus_setxattr C 3 698d 787d 0/1 upstream: reported C repro on 2022/12/03 06:20
Last patch testing requests (8)
Created Duration User Patch Repo Result
2024/12/26 20:55 17m retest repro linux-5.15.y report log
2024/12/26 20:55 12m retest repro linux-5.15.y report log
2024/12/26 20:55 14m retest repro linux-5.15.y report log
2024/12/26 20:55 14m retest repro linux-5.15.y report log
2024/12/26 20:55 1h19m retest repro linux-5.15.y report log
2024/10/24 06:43 11m retest repro linux-5.15.y report log
2024/10/24 06:43 13m retest repro linux-5.15.y report log
2024/10/24 06:43 16m retest repro linux-5.15.y report log

Sample crash report:
loop0: detected capacity change from 0 to 1024
------------[ cut here ]------------
kernel BUG at fs/hfsplus/xattr.c:175!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 4160 Comm: syz-executor901 Not tainted 5.15.175-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:hfsplus_create_attributes_file fs/hfsplus/xattr.c:175 [inline]
RIP: 0010:__hfsplus_setxattr+0x22b3/0x22c0 fs/hfsplus/xattr.c:331
Code: e8 ff ff e8 0f dd fb 07 e8 ca 72 3d ff 4c 89 e7 48 c7 c6 00 90 bf 8a e8 eb c8 73 ff 0f 0b e8 b4 72 3d ff 0f 0b e8 ad 72 3d ff <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 90 55 53 89 f5 48 89 fb e8 94
RSP: 0018:ffffc90002eff4e0 EFLAGS: 00010293
RAX: ffffffff82431233 RBX: 0000000000010000 RCX: ffff888027e91dc0
RDX: 0000000000000000 RSI: 0000000000010000 RDI: 0000000000000000
RBP: ffffc90002eff970 R08: ffffffff8242f954 R09: ffffed10054e7558
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88802a73aa30
R13: dffffc0000000000 R14: 1ffff920005dfeb4 R15: 0000000000000001
FS:  000055555837f380(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000556ba66c0608 CR3: 00000000763e2000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 hfsplus_setxattr+0xac/0xe0 fs/hfsplus/xattr.c:434
 hfsplus_trusted_setxattr+0x3c/0x50 fs/hfsplus/xattr_trusted.c:30
 __vfs_setxattr+0x3e7/0x420 fs/xattr.c:182
 __vfs_setxattr_noperm+0x12a/0x5e0 fs/xattr.c:216
 vfs_setxattr+0x21d/0x420 fs/xattr.c:303
 do_setxattr fs/xattr.c:588 [inline]
 setxattr+0x27e/0x2e0 fs/xattr.c:611
 path_setxattr+0x1bc/0x2a0 fs/xattr.c:630
 __do_sys_lsetxattr fs/xattr.c:653 [inline]
 __se_sys_lsetxattr fs/xattr.c:649 [inline]
 __x64_sys_lsetxattr+0xb4/0xd0 fs/xattr.c:649
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fbc0fa766b9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fffea639418 EFLAGS: 00000246 ORIG_RAX: 00000000000000bd
RAX: ffffffffffffffda RBX: 00007fffea6395f8 RCX: 00007fbc0fa766b9
RDX: 00000000200002c0 RSI: 0000000020000180 RDI: 0000000020000100
RBP: 00007fbc0fae9610 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000000000b2 R11: 0000000000000246 R12: 0000000000000001
R13: 00007fffea6395e8 R14: 0000000000000001 R15: 0000000000000001
 </TASK>
Modules linked in:
---[ end trace 58ef1b34569ff22e ]---
RIP: 0010:hfsplus_create_attributes_file fs/hfsplus/xattr.c:175 [inline]
RIP: 0010:__hfsplus_setxattr+0x22b3/0x22c0 fs/hfsplus/xattr.c:331
Code: e8 ff ff e8 0f dd fb 07 e8 ca 72 3d ff 4c 89 e7 48 c7 c6 00 90 bf 8a e8 eb c8 73 ff 0f 0b e8 b4 72 3d ff 0f 0b e8 ad 72 3d ff <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 90 55 53 89 f5 48 89 fb e8 94
RSP: 0018:ffffc90002eff4e0 EFLAGS: 00010293
RAX: ffffffff82431233 RBX: 0000000000010000 RCX: ffff888027e91dc0
RDX: 0000000000000000 RSI: 0000000000010000 RDI: 0000000000000000
RBP: ffffc90002eff970 R08: ffffffff8242f954 R09: ffffed10054e7558
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88802a73aa30
R13: dffffc0000000000 R14: 1ffff920005dfeb4 R15: 0000000000000001
FS:  000055555837f380(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000556ba66c0608 CR3: 00000000763e2000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (114):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/12/28 20:33 linux-5.15.y 91786f140358 d3ccff63 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in __hfsplus_setxattr
2024/04/08 11:04 linux-5.15.y 9465fef4ae35 ca620dd8 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in __hfsplus_setxattr
2023/12/30 09:14 linux-5.15.y d93fa2c78854 fb427a07 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in __hfsplus_setxattr
2023/07/17 09:13 linux-5.15.y d54cfc420586 35d9ecc5 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in __hfsplus_setxattr
2023/06/28 07:57 linux-5.15.y f67653019430 4cd5bb25 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in __hfsplus_setxattr
2024/09/01 10:41 linux-5.15.y fa93fa65db6e 1eda0d14 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
2024/07/28 04:36 linux-5.15.y 7e89efd3ae1c 46eb10b7 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
2024/04/15 07:53 linux-5.15.y fa3df276cd36 c8349e48 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
2024/04/09 15:17 linux-5.15.y 9465fef4ae35 f3234354 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
2023/06/07 14:43 linux-5.15.y d7af3e5ba454 a4ae4f42 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
2025/01/20 01:29 linux-5.15.y 4735586da88e f2cb035c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in __hfsplus_setxattr
2025/01/09 07:57 linux-5.15.y 91786f140358 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in __hfsplus_setxattr
2025/01/08 01:15 linux-5.15.y 91786f140358 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in __hfsplus_setxattr
2025/01/07 13:14 linux-5.15.y 91786f140358 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in __hfsplus_setxattr
2025/01/07 00:22 linux-5.15.y 91786f140358 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in __hfsplus_setxattr
2025/01/05 07:11 linux-5.15.y 91786f140358 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in __hfsplus_setxattr
2025/01/05 00:20 linux-5.15.y 91786f140358 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in __hfsplus_setxattr
2024/12/30 18:14 linux-5.15.y 91786f140358 d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in __hfsplus_setxattr
2024/12/28 20:01 linux-5.15.y 91786f140358 d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in __hfsplus_setxattr
2024/12/09 06:25 linux-5.15.y 0a51d2d4527b 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in __hfsplus_setxattr
2024/11/17 01:48 linux-5.15.y d98fd109f827 cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in __hfsplus_setxattr
2024/10/28 10:34 linux-5.15.y 74cdd62cb470 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in __hfsplus_setxattr
2025/01/27 18:48 linux-5.15.y 003148680b79 d99a33ad .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
2025/01/25 18:10 linux-5.15.y 003148680b79 9fbd772e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
2025/01/24 05:39 linux-5.15.y 003148680b79 521b0ce3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
2025/01/20 02:52 linux-5.15.y 4735586da88e f2cb035c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
2025/01/19 08:13 linux-5.15.y 4735586da88e f2cb035c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
2025/01/19 01:34 linux-5.15.y 4735586da88e f2cb035c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
2025/01/18 14:16 linux-5.15.y 4735586da88e f2cb035c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
2025/01/15 13:02 linux-5.15.y 4735586da88e 7315a7cf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
2025/01/12 15:10 linux-5.15.y 4735586da88e 6dbc6a9b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
2025/01/08 08:32 linux-5.15.y 91786f140358 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
2025/01/07 21:55 linux-5.15.y 91786f140358 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
2025/01/07 18:10 linux-5.15.y 91786f140358 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
2025/01/07 11:34 linux-5.15.y 91786f140358 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
2025/01/07 07:51 linux-5.15.y 91786f140358 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
2025/01/06 21:45 linux-5.15.y 91786f140358 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
2025/01/06 13:12 linux-5.15.y 91786f140358 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
2025/01/06 11:28 linux-5.15.y 91786f140358 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
2025/01/05 21:34 linux-5.15.y 91786f140358 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
2025/01/05 18:10 linux-5.15.y 91786f140358 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
2025/01/05 14:31 linux-5.15.y 91786f140358 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
2025/01/05 06:09 linux-5.15.y 91786f140358 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
2024/12/01 14:26 linux-5.15.y 0a51d2d4527b 68914665 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
2024/11/30 20:38 linux-5.15.y 0a51d2d4527b 68914665 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
2024/11/29 01:12 linux-5.15.y 0a51d2d4527b 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
2024/11/25 10:37 linux-5.15.y 0a51d2d4527b 68da6d95 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
2024/11/23 10:40 linux-5.15.y 0a51d2d4527b 68da6d95 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
2024/11/18 23:21 linux-5.15.y 0a51d2d4527b e7bb5d6e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
2024/11/09 13:28 linux-5.15.y 3c17fc483905 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
2024/11/04 07:03 linux-5.15.y 72244eab0dad f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
2024/11/03 05:16 linux-5.15.y 72244eab0dad f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
2024/10/29 13:50 linux-5.15.y 74cdd62cb470 66aeb999 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
2024/10/09 04:52 linux-5.15.y 3a5928702e71 402f1df0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
2024/10/06 19:20 linux-5.15.y 3a5928702e71 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
2024/09/11 17:32 linux-5.15.y 14e468424d3e 8ab55d0e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
2023/04/06 18:57 linux-5.15.y d86dfc4d95cd 08707520 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
* Struck through repros no longer work on HEAD.