syzbot


kernel BUG in hfs_bnode_unhash

Status: auto-obsoleted due to no activity on 2024/10/03 23:26
Subsystems: hfs
[Documentation on labels]
Reported-by: syzbot+b7ceb040f7552ed64dc9@syzkaller.appspotmail.com
First crash: 752d, last: 178d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] kernel BUG in hfs_bnode_unhash 0 (1) 2022/11/30 09:17

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/hfs/bnode.c:311!
Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI
CPU: 1 PID: 111 Comm: kswapd0 Not tainted 6.10.0-rc5-syzkaller-00018-g55027e689933 #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
RIP: 0010:hfs_bnode_unhash fs/hfs/bnode.c:311 [inline]
RIP: 0010:hfs_bnode_unhash+0xfd/0x1f0 fs/hfs/bnode.c:302
Code: 48 8d 6b 20 48 89 e8 48 c1 e8 03 42 80 3c 28 00 0f 85 c0 00 00 00 48 8b 5b 20 48 85 db 75 d2 e8 19 9f 20 ff e8 14 9f 20 ff 90 <0f> 0b e8 0c 9f 20 ff e8 07 9f 20 ff e8 02 9f 20 ff 49 8d 7c 24 20
RSP: 0018:ffffc90001f47218 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff826efe8b
RDX: ffff88801b4bc880 RSI: ffffffff826df0dc RDI: ffff8880206f4130
RBP: 0000000000000002 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: ffff88801cb57400
R13: ffff8880206f4000 R14: ffff8880206f4000 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff88802c100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055d311a95478 CR3: 0000000026aa2000 CR4: 0000000000350ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 hfs_release_folio+0x42d/0x570 fs/hfs/inode.c:117
 filemap_release_folio+0x1ed/0x280 mm/filemap.c:4173
 shrink_folio_list+0x254a/0x4150 mm/vmscan.c:1394
 evict_folios+0x6e6/0x1bf0 mm/vmscan.c:4553
 try_to_shrink_lruvec+0x618/0x9b0 mm/vmscan.c:4749
 shrink_one+0x3f8/0x7c0 mm/vmscan.c:4788
 shrink_many mm/vmscan.c:4851 [inline]
 lru_gen_shrink_node+0x89f/0x1750 mm/vmscan.c:4951
 shrink_node mm/vmscan.c:5910 [inline]
 kswapd_shrink_node mm/vmscan.c:6720 [inline]
 balance_pgdat+0x1105/0x1970 mm/vmscan.c:6911
 kswapd+0x5ea/0xbf0 mm/vmscan.c:7180
 kthread+0x2c1/0x3a0 kernel/kthread.c:389
 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:hfs_bnode_unhash fs/hfs/bnode.c:311 [inline]
RIP: 0010:hfs_bnode_unhash+0xfd/0x1f0 fs/hfs/bnode.c:302
Code: 48 8d 6b 20 48 89 e8 48 c1 e8 03 42 80 3c 28 00 0f 85 c0 00 00 00 48 8b 5b 20 48 85 db 75 d2 e8 19 9f 20 ff e8 14 9f 20 ff 90 <0f> 0b e8 0c 9f 20 ff e8 07 9f 20 ff e8 02 9f 20 ff 49 8d 7c 24 20
RSP: 0018:ffffc90001f47218 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff826efe8b
RDX: ffff88801b4bc880 RSI: ffffffff826df0dc RDI: ffff8880206f4130
RBP: 0000000000000002 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: ffff88801cb57400
R13: ffff8880206f4000 R14: ffff8880206f4000 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff88802c100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055d311a95478 CR3: 0000000026aa2000 CR4: 0000000000350ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (33):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/25 23:25 upstream 55027e689933 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel BUG in hfs_bnode_unhash
2024/06/18 10:44 upstream 2ccbdf43d5e7 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel BUG in hfs_bnode_unhash
2024/06/18 03:58 upstream 2ccbdf43d5e7 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel BUG in hfs_bnode_unhash
2024/06/11 08:22 upstream 83a7eefedc9b c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel BUG in hfs_bnode_unhash
2024/05/25 09:38 upstream 56fb6f92854f c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel BUG in hfs_bnode_unhash
2024/02/27 21:59 upstream 45ec2f5f6ed3 d367cbe5 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel BUG in hfs_bnode_unhash
2024/02/27 14:33 upstream 45ec2f5f6ed3 05e69c83 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel BUG in hfs_bnode_unhash
2024/01/15 20:55 upstream 052d534373b7 2a7bcc7f .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel BUG in hfs_bnode_unhash
2024/01/15 01:37 upstream 052d534373b7 551587c1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel BUG in hfs_bnode_unhash
2023/12/04 20:09 upstream 33cc938e65a9 f819d6f7 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel BUG in hfs_bnode_unhash
2023/09/13 05:45 upstream a747acc0b752 59da8366 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel BUG in hfs_bnode_unhash
2023/09/12 20:31 upstream a747acc0b752 59da8366 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel BUG in hfs_bnode_unhash
2023/09/12 00:03 upstream 0bb80ecc33a8 59da8366 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel BUG in hfs_bnode_unhash
2023/05/05 01:25 upstream 3c4aa4434377 518a39a6 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream kernel BUG in hfs_bnode_unhash
2023/04/28 02:44 upstream 32f7ad0fbe75 cc2b6c8b .config console log report info ci-qemu-upstream kernel BUG in hfs_bnode_unhash
2023/04/15 00:51 upstream 95abc817ab3a ec410564 .config console log report info ci-qemu-upstream kernel BUG in hfs_bnode_unhash
2023/04/12 05:48 upstream 2c40519251d6 49faf98d .config console log report info ci-qemu-upstream kernel BUG in hfs_bnode_unhash
2023/04/09 17:05 upstream cdc9718d5e59 71147e29 .config console log report info ci-qemu-upstream kernel BUG in hfs_bnode_unhash
2023/04/03 14:48 upstream 7e364e56293b 41147e3e .config console log report info ci-qemu-upstream kernel BUG in hfs_bnode_unhash
2023/03/04 12:08 upstream 0988a0ea7919 f8902b57 .config console log report info ci-qemu-upstream kernel BUG in hfs_bnode_unhash
2023/03/04 10:58 upstream 0988a0ea7919 f8902b57 .config console log report info ci-qemu-upstream kernel BUG in hfs_bnode_unhash
2022/11/30 03:29 upstream 01f856ae6d0c 579a3740 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in hfs_bnode_unhash
2023/07/30 22:19 upstream d31e3792919e 2a0d0f29 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel BUG in hfs_bnode_unhash
2023/06/08 14:46 upstream 5f63595ebd82 058b3a5a .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel BUG in hfs_bnode_unhash
2023/05/23 14:59 upstream ae8373a5add4 4bce1a3e .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel BUG in hfs_bnode_unhash
2023/05/18 10:42 upstream 1b66c114d161 3bb7af1d .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel BUG in hfs_bnode_unhash
2023/05/12 11:02 upstream cc3c44c9fda2 adb9a3cd .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel BUG in hfs_bnode_unhash
2023/05/09 09:24 upstream ba0ad6ed89fd f4168103 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel BUG in hfs_bnode_unhash
2023/04/27 21:32 upstream 32f7ad0fbe75 cc2b6c8b .config console log report info ci-qemu-upstream-386 kernel BUG in hfs_bnode_unhash
2023/04/15 06:23 upstream 95abc817ab3a ec410564 .config console log report info ci-qemu-upstream-386 kernel BUG in hfs_bnode_unhash
2023/04/11 12:53 upstream 0d3eb744aed4 71147e29 .config console log report info ci-qemu-upstream-386 kernel BUG in hfs_bnode_unhash
2023/03/29 09:33 upstream fcd476ea6a88 fc067f05 .config console log report info ci-qemu-upstream-386 kernel BUG in hfs_bnode_unhash
2023/03/05 18:01 upstream b01fe98d34f3 f8902b57 .config console log report info ci-qemu-upstream-386 kernel BUG in hfs_bnode_unhash
* Struck through repros no longer work on HEAD.