---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to syzkaller-bugs
There is no problem in 5.11.0-rc1.When hfs mounted, the sb->next_id readed from mdb->drNxtCNID is 16. But using disk image of this bug to test, I found the sb->next_id is 0.
So, the i_ino number of first created inode is 0 which causes the problem. The first used cnid must be 16, which defined as HFS_FIRSTUSER_CNID.
I don't know why it is 0. I will test hfs driver using 6.10-rc1.
Alex Sebastian
unread,
Aug 2, 2024, 12:11:00 AM8/2/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to syzkaller-bugs
This is the problem of test environment. I puff the compressed hfs file `mounted_in_repo`, the four bytes starts from 1054 is "00 00 00 00". This means that cnid is not initialized to HFS_FIRSTUSER_CNID.