syz.4.5 uses obsolete (PF_INET,SOCK_PACKET) ------------[ cut here ]------------ kernel BUG at fs/hfsplus/xattr.c:175! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 0 UID: 0 PID: 6552 Comm: syz.4.5 Not tainted 6.12.0-syzkaller-g7b1d1d4cfac0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : hfsplus_create_attributes_file fs/hfsplus/xattr.c:175 [inline] pc : __hfsplus_setxattr+0x1c90/0x1cf4 fs/hfsplus/xattr.c:331 lr : hfsplus_create_attributes_file fs/hfsplus/xattr.c:175 [inline] lr : __hfsplus_setxattr+0x1c90/0x1cf4 fs/hfsplus/xattr.c:331 sp : ffff8000a46d70a0 x29: ffff8000a46d7500 x28: ffff0000ef4be800 x27: ffff0000d6917800 x26: 0000000000000000 x25: ffff0000ef4be838 x24: 0000000000000001 x23: 0000000000010000 x22: ffff0000f128b140 x21: dfff800000000000 x20: ffff7000148dae2c x19: ffff0000f128aa30 x18: ffff8000a46d6ac0 x17: 0000000000019199 x16: ffff8000802a7fe0 x15: 0000000000000001 x14: 1fffe0001e251628 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000040000 x10: 000000000000311c x9 : ffff8000a869f000 x8 : 000000000000311d x7 : ffff800080c34b38 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff80008123e0c0 x2 : 0000000000000000 x1 : 0000000000010000 x0 : 0000000000000000 Call trace: hfsplus_create_attributes_file fs/hfsplus/xattr.c:175 [inline] (P) __hfsplus_setxattr+0x1c90/0x1cf4 fs/hfsplus/xattr.c:331 (P) hfsplus_create_attributes_file fs/hfsplus/xattr.c:175 [inline] (L) __hfsplus_setxattr+0x1c90/0x1cf4 fs/hfsplus/xattr.c:331 (L) hfsplus_initxattrs+0x150/0x20c fs/hfsplus/xattr_security.c:59 security_inode_init_security+0x73c/0x908 security/security.c:1848 hfsplus_init_security+0x40/0x54 fs/hfsplus/xattr_security.c:71 hfsplus_mknod+0x190/0x268 fs/hfsplus/dir.c:498 hfsplus_create+0x38/0x4c fs/hfsplus/dir.c:523 lookup_open fs/namei.c:3595 [inline] open_last_lookups fs/namei.c:3694 [inline] path_openat+0x13e4/0x2b14 fs/namei.c:3930 do_filp_open+0x1bc/0x3cc fs/namei.c:3960 do_sys_openat2+0x124/0x1b8 fs/open.c:1415 do_sys_open fs/open.c:1430 [inline] __do_sys_openat fs/open.c:1446 [inline] __se_sys_openat fs/open.c:1441 [inline] __arm64_sys_openat+0x1f0/0x240 fs/open.c:1441 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:744 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 Code: d4210000 97cd1988 d4210000 97cd1986 (d4210000) ---[ end trace 0000000000000000 ]---