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(0xffffffffffffff9c, &(0x7f0000000040)='./file1\x00', 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000000040)={0x2, 0x80, 0xb4, 0x1, 0x0, 0x0, 0x0, 0xf, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x2, 0x0, @perf_bp={0x0, 0xf}, 0x0, 0x4}, 0xffffffffffffffff, 0x0, 0xffffffffffffffff, 0x0) close_range(r1, r0, 0x0) r2 = seccomp$SECCOMP_SET_MODE_FILTER_LISTENER(0x1, 0x0, &(0x7f0000000400)={0x1, &(0x7f0000000000)=[{0x6}]}) setsockopt$XDP_UMEM_COMPLETION_RING(0xffffffffffffffff, 0x11b, 0x6, 0x0, 0x0) r3 = socket$unix(0x1, 0x1, 0x0) syz_mount_image$ext4(&(0x7f0000000400)='ext4\x00', &(0x7f00000000c0)='./file0\x00', 0x0, &(0x7f0000000040)={[{@auto_da_alloc_val={'auto_da_alloc', 0x3d, 0x3408}}, {@debug_want_extra_isize={'debug_want_extra_isize', 0x3d, 0x8}}, {@noload}]}, 0x1, 0x3d0, &(0x7f00000004c0)="$eJzs3M1uG0UcAPD/br5I+mEjcUCFgyUQBAFxHQhQhEThyscFeAArSUuF21SNkWjJoSBOnDggbhz6Ahx4gKpCSEi8Ai+AKlUozQFuQWvvOm4cp7Fix2r6+0mjndkdZ/bv3axm1rsTwGOrEhHnI2IiIhYjopSvT/MUN9spq3d/c2N5a3NjOYnt7U/+SSLJ1xV/K8mXJ/LCfBqRfhfxzM3edtev3/ii3misXsvL1eblq9X16zdevXS5fnH14uqV2pvnarWlxbdqrw8t1p+ef+ncxPvnz/z8V+nO0vT0bLa/J/Nt3X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37aedaaeadec480f1d22a8fff"}, 0x11, 0x1) write$cgroup_type(0xffffffffffffffff, &(0x7f0000000100), 0x9) openat(0xffffffffffffff9c, &(0x7f0000000200)='./file1\x00', 0x2, 0x0) r4 = dup2(r3, r2) close_range(r4, 0xffffffffffffffff, 0x0) [ 73.132976][ T5319] Bluetooth: hci0: command tx timeout [ 73.258219][ T5334] loop0: detected capacity change from 0 to 1024 [ 73.303978][ T5334] process 'syz.0.0' launched './file1' with NULL argv: empty string added [ 73.319101][ T24] audit: type=1326 audit(1732079681.077:2): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined pid=5333 comm="syz.0.0" exe="/syz-executor" sig=31 arch=c000003e syscall=202 compat=0 ip=0x7f2ac9d7e759 code=0x0 [ 73.426382][ T5335] ------------[ cut here ]------------ [ 73.428406][ T5335] kernel BUG at fs/hfsplus/xattr.c:175! [ 73.430536][ T5335] Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI [ 73.433181][ T5335] CPU: 0 UID: 0 PID: 5335 Comm: syz.0.0 Not tainted 6.12.0-syzkaller-01782-gbf9aa14fc523 #0 [ 73.436968][ T5335] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 73.441006][ T5335] RIP: 0010:__hfsplus_setxattr+0x22c4/0x22d0 [ 73.443325][ T5335] Code: e8 31 c5 40 09 e8 ac cd 0b ff 4c 89 ff 48 c7 c6 e0 52 22 8c e8 3d 79 57 ff 90 0f 0b e8 95 cd 0b ff 90 0f 0b e8 8d cd 0b ff 90 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 [ 73.450503][ T5335] RSP: 0018:ffffc9000d44f400 EFLAGS: 00010283 [ 73.452823][ T5335] RAX: ffffffff82891c53 RBX: 0000000000010000 RCX: 0000000000040000 [ 73.455698][ T5335] RDX: ffffc9000db5a000 RSI: 00000000000004d5 RDI: 00000000000004d6 [ 73.458596][ T5335] RBP: ffffc9000d44f898 R08: ffffffff82890373 R09: 1ffff1100817dd56 [ 73.461606][ T5335] R10: dffffc0000000000 R11: ffffed100817dd57 R12: ffff888040bee370 [ 73.464583][ T5335] R13: dffffc0000000000 R14: ffff888040beea30 R15: 0000000000000000 [ 73.467566][ T5335] FS: 00007f2acac436c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 [ 73.470699][ T5335] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 73.473172][ T5335] CR2: 00007f2abec3f000 CR3: 000000003f044000 CR4: 0000000000352ef0 [ 73.475868][ T5335] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 73.478593][ T5335] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 73.481320][ T5335] Call Trace: [ 73.482473][ T5335] [ 73.483493][ T5335] ? __die_body+0x5f/0xb0 [ 73.484979][ T5335] ? die+0x9e/0xc0 [ 73.486271][ T5335] ? do_trap+0x15a/0x3a0 [ 73.487772][ T5335] ? __hfsplus_setxattr+0x22c4/0x22d0 [ 73.489760][ T5335] ? do_error_trap+0x1dc/0x2c0 [ 73.491586][ T5335] ? __hfsplus_setxattr+0x22c4/0x22d0 [ 73.493586][ T5335] ? __pfx_do_error_trap+0x10/0x10 [ 73.495562][ T5335] ? handle_invalid_op+0x34/0x40 [ 73.497456][ T5335] ? __hfsplus_setxattr+0x22c4/0x22d0 [ 73.499525][ T5335] ? exc_invalid_op+0x38/0x50 [ 73.501493][ T5335] ? asm_exc_invalid_op+0x1a/0x20 [ 73.503377][ T5335] ? __hfsplus_setxattr+0x9e3/0x22d0 [ 73.505300][ T5335] ? __hfsplus_setxattr+0x22c3/0x22d0 [ 73.507242][ T5335] ? __hfsplus_setxattr+0x22c4/0x22d0 [ 73.509365][ T5335] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 73.511730][ T5335] ? __pfx___hfsplus_setxattr+0x10/0x10 [ 73.513787][ T5335] ? _raw_spin_unlock_irqrestore+0xdd/0x140 [ 73.515987][ T5335] ? __pfx__raw_spin_unlock_irqrestore+0x10/0x10 [ 73.518461][ T5335] ? stack_trace_save+0x118/0x1d0 [ 73.520387][ T5335] ? stack_depot_save_flags+0x6e4/0x830 [ 73.522587][ T5335] ? __kasan_kmalloc+0x98/0xb0 [ 73.524321][ T5335] ? hfsplus_setxattr+0x68/0xe0 [ 73.526107][ T5335] ? __kmalloc_cache_noprof+0x19c/0x2c0 [ 73.528193][ T5335] hfsplus_setxattr+0xb0/0xe0 [ 73.530075][ T5335] hfsplus_security_setxattr+0x40/0x60 [ 73.532236][ T5335] ? __pfx_hfsplus_security_setxattr+0x10/0x10 [ 73.534627][ T5335] __vfs_setxattr+0x468/0x4a0 [ 73.536328][ T5335] __vfs_setxattr_noperm+0x12e/0x660 [ 73.538300][ T5335] vfs_setxattr+0x221/0x430 [ 73.540044][ T5335] ? __pfx_vfs_setxattr+0x10/0x10 [ 73.541886][ T5335] filename_setxattr+0x2af/0x430 [ 73.543690][ T5335] ? __pfx_filename_setxattr+0x10/0x10 [ 73.545661][ T5335] ? getname_flags+0x1e3/0x540 [ 73.547415][ T5335] path_setxattrat+0x440/0x510 [ 73.549253][ T5335] ? __pfx_path_setxattrat+0x10/0x10 [ 73.551229][ T5335] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 73.553359][ T5335] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 73.555679][ T5335] __x64_sys_setxattr+0xbc/0xe0 [ 73.557541][ T5335] do_syscall_64+0xf3/0x230 [ 73.559180][ T5335] ? clear_bhb_loop+0x35/0x90 [ 73.560905][ T5335] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 73.563045][ T5335] RIP: 0033:0x7f2ac9d7e759 [ 73.564767][ T5335] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 [ 73.571163][ T5335] RSP: 002b:00007f2acac43038 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc [ 73.573845][ T5335] RAX: ffffffffffffffda RBX: 00007f2ac9f36058 RCX: 00007f2ac9d7e759 [ 73.576587][ T5335] RDX: 0000000020000000 RSI: 00000000200001c0 RDI: 0000000020000180 [ 73.579462][ T5335] RBP: 00007f2ac9df175e R08: 0000000000000001 R09: 0000000000000000 [ 73.582249][ T5335] R10: 0000000000000011 R11: 0000000000000246 R12: 0000000000000000 [ 73.585062][ T5335] R13: 0000000000000000 R14: 00007f2ac9f36058 R15: 00007ffdbd5fbc98 [ 73.587896][ T5335] [ 73.589058][ T5335] Modules linked in: [ 73.590847][ T5335] ---[ end trace 0000000000000000 ]--- [ 73.599482][ T5335] RIP: 0010:__hfsplus_setxattr+0x22c4/0x22d0 [ 73.601939][ T5335] Code: e8 31 c5 40 09 e8 ac cd 0b ff 4c 89 ff 48 c7 c6 e0 52 22 8c e8 3d 79 57 ff 90 0f 0b e8 95 cd 0b ff 90 0f 0b e8 8d cd 0b ff 90 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 [ 73.609084][ T5335] RSP: 0018:ffffc9000d44f400 EFLAGS: 00010283 [ 73.611326][ T5335] RAX: ffffffff82891c53 RBX: 0000000000010000 RCX: 0000000000040000 [ 73.614898][ T5335] RDX: ffffc9000db5a000 RSI: 00000000000004d5 RDI: 00000000000004d6 [ 73.617754][ T5335] RBP: ffffc9000d44f898 R08: ffffffff82890373 R09: 1ffff1100817dd56 [ 73.620800][ T5335] R10: dffffc0000000000 R11: ffffed100817dd57 R12: ffff888040bee370 [ 73.624013][ T5335] R13: dffffc0000000000 R14: ffff888040beea30 R15: 0000000000000000 [ 73.626824][ T5335] FS: 00007f2acac436c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 [ 73.630006][ T5335] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 73.633067][ T5335] CR2: 00007f2acac21fe0 CR3: 000000003f044000 CR4: 0000000000352ef0 [ 73.635938][ T5335] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 73.638827][ T5335] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 73.642079][ T5335] Kernel panic - not syncing: Fatal exception [ 73.644316][ T5335] Kernel Offset: disabled [ 73.645762][ T5335] Rebooting in 86400 seconds..