Oops: general protection fault, probably for non-canonical address 0xdffffc0000000017: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x00000000000000b8-0x00000000000000bf] CPU: 1 UID: 0 PID: 5897 Comm: syz-executor.0 Not tainted 6.18.0-rc5-next-20251114 #1 PREEMPT(voluntary) Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:put_pid_ns+0x30/0x80 Code: 89 fd 53 e8 42 a0 03 00 48 85 ed 74 3d e8 38 a0 03 00 48 8d bd d0 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 75 35 48 8b 9d d0 00 00 00 bf 08 00 00 00 48 89 de e8 RSP: 0018:ffff88804bf97db0 EFLAGS: 00010216 RAX: dffffc0000000000 RBX: 0000000000000001 RCX: ffffc90000809000 RDX: 0000000000000017 RSI: ffffffff817193a8 RDI: 00000000000000ba RBP: ffffffffffffffea R08: 0000000000000001 R09: ffffed10097f2fa3 R10: 0000000000000000 R11: 0000000000000001 R12: ffff888020405998 R13: ffff888020405b4c R14: ffffffff85cfdf20 R15: ffff88804bc4bff8 FS: 00007fd06298f700(0000) GS:ffff8880e548f000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd06552d018 CR3: 000000004a105000 CR4: 0000000000350ef0 Call Trace: nsproxy_free+0xfa/0x5a0 create_new_namespaces+0x585/0x750 unshare_nsproxy_namespaces+0xc0/0x200 ksys_unshare+0x468/0xa10 __x64_sys_unshare+0x31/0x40 do_syscall_64+0xbf/0x430 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fd065419b19 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fd06298f188 EFLAGS: 00000246 ORIG_RAX: 0000000000000110 RAX: ffffffffffffffda RBX: 00007fd06552cf60 RCX: 00007fd065419b19 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000024000000 RBP: 00007fd065473f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc5a408a9f R14: 00007fd06298f300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:put_pid_ns+0x30/0x80 Code: 89 fd 53 e8 42 a0 03 00 48 85 ed 74 3d e8 38 a0 03 00 48 8d bd d0 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 75 35 48 8b 9d d0 00 00 00 bf 08 00 00 00 48 89 de e8 RSP: 0018:ffff88804bf97db0 EFLAGS: 00010216 RAX: dffffc0000000000 RBX: 0000000000000001 RCX: ffffc90000809000 RDX: 0000000000000017 RSI: ffffffff817193a8 RDI: 00000000000000ba RBP: ffffffffffffffea R08: 0000000000000001 R09: ffffed10097f2fa3 R10: 0000000000000000 R11: 0000000000000001 R12: ffff888020405998 R13: ffff888020405b4c R14: ffffffff85cfdf20 R15: ffff88804bc4bff8 FS: 00007fd06298f700(0000) GS:ffff8880e548f000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd06552d018 CR3: 000000004a105000 CR4: 0000000000350ef0 loop5: detected capacity change from 0 to 16 EXT4-fs (loop5): Invalid default hash set in the superblock loop5: detected capacity change from 0 to 16 EXT4-fs (loop5): Invalid default hash set in the superblock netlink: 16 bytes leftover after parsing attributes in process `syz-executor.7'. loop5: detected capacity change from 0 to 16 EXT4-fs (loop5): Invalid default hash set in the superblock netlink: 16 bytes leftover after parsing attributes in process `syz-executor.7'. netlink: 16 bytes leftover after parsing attributes in process `syz-executor.7'. netlink: 16 bytes leftover after parsing attributes in process `syz-executor.7'. netlink: 16 bytes leftover after parsing attributes in process `syz-executor.7'. ieee802154 phy1 wpan1: encryption failed: -90 ieee802154 phy1 wpan1: encryption failed: -90 loop7: detected capacity change from 0 to 64 FAT-fs (loop7): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) sg_write: data in/out 1354423275/2147479462 bytes for SCSI command 0x0-- guessing data in; program syz-executor.4 not setting count and/or reply_len properly sg_write: data in/out 1354423275/2147479462 bytes for SCSI command 0x0-- guessing data in; program syz-executor.4 not setting count and/or reply_len properly loop7: detected capacity change from 0 to 64 FAT-fs (loop7): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) sg_write: data in/out 1354423275/2147479462 bytes for SCSI command 0x0-- guessing data in; program syz-executor.4 not setting count and/or reply_len properly EXT4-fs warning (device sda): ext4_block_to_path:105: block 1768304430 > max in inode 16017 EXT4-fs warning (device sda): ext4_block_to_path:105: block 1768304430 > max in inode 16017 sg_write: data in/out 1354423275/2147479462 bytes for SCSI command 0x0-- guessing data in; program syz-executor.4 not setting count and/or reply_len properly loop7: detected capacity change from 0 to 64 FAT-fs (loop7): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) loop7: detected capacity change from 0 to 64 sg_write: data in/out 1354423275/2147479462 bytes for SCSI command 0x0-- guessing data in; program syz-executor.4 not setting count and/or reply_len properly FAT-fs (loop7): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) audit: type=1326 audit(1763109821.055:18): auid=0 uid=0 gid=0 ses=4 subj=system_u:system_r:kernel_t:s0 pid=6160 comm="syz-executor.0" exe="/syz-executor.0" sig=31 arch=c000003e syscall=202 compat=0 ip=0x7fd065419b19 code=0x0 audit: type=1326 audit(1763109821.885:19): auid=0 uid=0 gid=0 ses=4 subj=system_u:system_r:kernel_t:s0 pid=6160 comm="syz-executor.0" exe="/syz-executor.0" sig=31 arch=c000003e syscall=202 compat=0 ip=0x7fd065419b19 code=0x0 futex_wake_op: syz-executor.0 tries to shift op by 1536; fix this program futex_wake_op: syz-executor.0 tries to shift op by 1536; fix this program futex_wake_op: syz-executor.0 tries to shift op by 1536; fix this program futex_wake_op: syz-executor.0 tries to shift op by 1536; fix this program audit: type=1400 audit(1763109823.182:20): avc: denied { watch_reads } for pid=6231 comm="syz-executor.3" path="/syzkaller-testdir685502826/syzkaller.RGFCTj/119/file0" dev="sda" ino=16045 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=file permissive=1 futex_wake_op: syz-executor.0 tries to shift op by 1536; fix this program netlink: 4 bytes leftover after parsing attributes in process `syz-executor.2'. netlink: 4 bytes leftover after parsing attributes in process `syz-executor.2'. netlink: 4 bytes leftover after parsing attributes in process `syz-executor.2'. netlink: 'syz-executor.1': attribute type 11 has an invalid length. SELinux: security_context_str_to_sid (staff_u) failed with errno=-22 SELinux: security_context_str_to_sid (staff_u) failed with errno=-22 netlink: 'syz-executor.1': attribute type 11 has an invalid length. sr 1:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s sr 1:0:0:0: [sr0] tag#0 Sense Key : Not Ready [current] sr 1:0:0:0: [sr0] tag#0 Add. Sense: Medium not present sr 1:0:0:0: [sr0] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 40 00 blk_print_req_error: 1796 callbacks suppressed I/O error, dev sr0, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 32 prio class 2 netlink: 4 bytes leftover after parsing attributes in process `syz-executor.2'. sr 1:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s sr 1:0:0:0: [sr0] tag#0 Sense Key : Not Ready [current] sr 1:0:0:0: [sr0] tag#0 Add. Sense: Medium not present sr 1:0:0:0: [sr0] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 40 00 I/O error, dev sr0, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 30 prio class 2 SELinux: security_context_str_to_sid (staff_u) failed with errno=-22 sr 1:0:0:0: [sr0] CDROM not ready. Make sure there is a disc in the drive. netlink: 4 bytes leftover after parsing attributes in process `syz-executor.2'. syz-executor.4 calls setitimer() with new_value NULL pointer. Misfeature support will be removed SELinux: security_context_str_to_sid (staff_u) failed with errno=-22 sr 1:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s sr 1:0:0:0: [sr0] tag#0 Sense Key : Not Ready [current] sr 1:0:0:0: [sr0] tag#0 Add. Sense: Medium not present sr 1:0:0:0: [sr0] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 40 00 I/O error, dev sr0, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 32 prio class 2 sr 1:0:0:0: [sr0] CDROM not ready. Make sure there is a disc in the drive. ---------------- Code disassembly (best guess): 0: 89 fd mov %edi,%ebp 2: 53 push %rbx 3: e8 42 a0 03 00 callq 0x3a04a 8: 48 85 ed test %rbp,%rbp b: 74 3d je 0x4a d: e8 38 a0 03 00 callq 0x3a04a 12: 48 8d bd d0 00 00 00 lea 0xd0(%rbp),%rdi 19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 20: fc ff df 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 75 35 jne 0x65 30: 48 8b 9d d0 00 00 00 mov 0xd0(%rbp),%rbx 37: bf 08 00 00 00 mov $0x8,%edi 3c: 48 89 de mov %rbx,%rsi 3f: e8 .byte 0xe8