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: 383d, last: 3d15h
Fix bisection: failed (error log, bisect log)
  
Bug presence (2)
Date Name Commit Repro Result
2023/12/30 upstream (ToT) f016f7547aee C [report] kernel BUG in __hfsplus_setxattr
2024/04/13 upstream (ToT) 8f2c057754b2 C Failed due to an error; will retry later
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 428d 514d 0/1 upstream: reported C repro on 2022/11/26 07:08
upstream kernel BUG in __hfsplus_setxattr hfs C error 3351 23m 514d 0/26 upstream: reported C repro on 2022/11/26 08:06
linux-6.1 kernel BUG in __hfsplus_setxattr origin:upstream C 35 2d05h 385d 0/3 upstream: reported C repro on 2023/04/04 04:32
linux-4.14 kernel BUG in __hfsplus_setxattr C 3 418d 507d 0/1 upstream: reported C repro on 2022/12/03 06:20

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: 3500 Comm: syz-executor175 Not tainted 5.15.153-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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 9f ed d9 07 e8 5a 2e 3e ff 4c 89 e7 48 c7 c6 00 6f 9f 8a e8 fb 66 74 ff 0f 0b e8 44 2e 3e ff 0f 0b e8 3d 2e 3e ff <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 90 55 53 89 f5 48 89 fb e8 24
RSP: 0018:ffffc90002c374e0 EFLAGS: 00010293
RAX: ffffffff82420b73 RBX: 0000000000010000 RCX: ffff88807b66d940
RDX: 0000000000000000 RSI: 0000000000010000 RDI: 0000000000000000
RBP: ffffc90002c37970 R08: ffffffff8241f294 R09: ffffed100fcc6558
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88807e632a30
R13: dffffc0000000000 R14: 1ffff92000586eb4 R15: 0000000000000001
FS:  00005555571e3380(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffc06b97000 CR3: 00000000726dc000 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_setxattr fs/xattr.c:646 [inline]
 __se_sys_setxattr fs/xattr.c:642 [inline]
 __x64_sys_setxattr+0xb7/0xd0 fs/xattr.c:642
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7febe9b92639
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:00007ffc06b968e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc
RAX: ffffffffffffffda RBX: 0031656c69662f2e RCX: 00007febe9b92639
RDX: 0000000000000000 RSI: 0000000020000240 RDI: 0000000020000100
RBP: 00007febe9c05610 R08: 0000000000000003 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffc06b96ab8 R14: 0000000000000001 R15: 0000000000000001
 </TASK>
Modules linked in:
---[ end trace 18e5cb6a6b6cb6df ]---
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 9f ed d9 07 e8 5a 2e 3e ff 4c 89 e7 48 c7 c6 00 6f 9f 8a e8 fb 66 74 ff 0f 0b e8 44 2e 3e ff 0f 0b e8 3d 2e 3e ff <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 90 55 53 89 f5 48 89 fb e8 24
RSP: 0018:ffffc90002c374e0 EFLAGS: 00010293
RAX: ffffffff82420b73 RBX: 0000000000010000 RCX: ffff88807b66d940
RDX: 0000000000000000 RSI: 0000000000010000 RDI: 0000000000000000
RBP: ffffc90002c37970 R08: ffffffff8241f294 R09: ffffed100fcc6558
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88807e632a30
R13: dffffc0000000000 R14: 1ffff92000586eb4 R15: 0000000000000001
FS:  00005555571e3380(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffc06b97000 CR3: 00000000726dc000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (37):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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
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
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/04/19 16:27 linux-5.15.y c52b9710c83d af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in __hfsplus_setxattr
2024/04/15 05:00 linux-5.15.y fa3df276cd36 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in __hfsplus_setxattr
2024/04/15 03:44 linux-5.15.y fa3df276cd36 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in __hfsplus_setxattr
2024/04/13 19:22 linux-5.15.y fa3df276cd36 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in __hfsplus_setxattr
2024/04/08 09:38 linux-5.15.y 9465fef4ae35 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in __hfsplus_setxattr
2024/04/06 16:33 linux-5.15.y 9465fef4ae35 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in __hfsplus_setxattr
2024/04/06 16:15 linux-5.15.y 9465fef4ae35 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in __hfsplus_setxattr
2024/04/02 05:21 linux-5.15.y 9465fef4ae35 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in __hfsplus_setxattr
2024/04/01 19:27 linux-5.15.y 9465fef4ae35 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in __hfsplus_setxattr
2024/03/29 00:46 linux-5.15.y 9465fef4ae35 e91187ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in __hfsplus_setxattr
2023/12/29 02:56 linux-5.15.y d93fa2c78854 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in __hfsplus_setxattr
2023/09/22 00:05 linux-5.15.y 35ecaa3632bf 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in __hfsplus_setxattr
2024/04/20 11:55 linux-5.15.y c52b9710c83d af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
2024/04/15 08:12 linux-5.15.y fa3df276cd36 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
2024/04/15 04:17 linux-5.15.y fa3df276cd36 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
2024/04/14 06:13 linux-5.15.y fa3df276cd36 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
2024/04/14 04:34 linux-5.15.y fa3df276cd36 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
2024/04/13 21:03 linux-5.15.y fa3df276cd36 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
2024/04/10 11:04 linux-5.15.y 9465fef4ae35 171ec371 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
2024/04/08 09:10 linux-5.15.y 9465fef4ae35 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
2024/04/05 18:32 linux-5.15.y 9465fef4ae35 77230c29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
2024/04/04 09:09 linux-5.15.y 9465fef4ae35 51c4dcff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
2024/04/02 02:55 linux-5.15.y 9465fef4ae35 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
2024/04/01 18:12 linux-5.15.y 9465fef4ae35 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
2024/03/30 14:48 linux-5.15.y 9465fef4ae35 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
2024/03/27 12:09 linux-5.15.y 9465fef4ae35 454571b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
2024/03/26 06:12 linux-5.15.y b95c01af2113 bcd9b39f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in __hfsplus_setxattr
2023/08/21 00:26 linux-5.15.y f6f7927ac664 d216d8a0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in __hfsplus_setxattr
2023/04/18 07:03 linux-5.15.y 4fdad925aa1a 436577a9 .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.