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: 69943 Comm: syz-executor.0 Not tainted 6.18.0-rc5-next-20251112 #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:ffff88802e727db0 EFLAGS: 00010216 RAX: dffffc0000000000 RBX: 0000000000000001 RCX: ffffc90003931000 RDX: 0000000000000017 RSI: ffffffff81712278 RDI: 00000000000000ba RBP: ffffffffffffffea R08: 0000000000000001 R09: ffffed1005ce4fa3 R10: 0000000000000000 R11: 0000000000000001 R12: ffff88801bb056c0 R13: ffff88801bb05874 R14: ffffffff85cfbf20 R15: ffff88801be9bff8 FS: 00007feaf790e700(0000) GS:ffff8880e5497000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007feaf78ed718 CR3: 00000000168eb000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 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:0x7feafa398b19 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:00007feaf790e188 EFLAGS: 00000246 ORIG_RAX: 0000000000000110 RAX: ffffffffffffffda RBX: 00007feafa4abf60 RCX: 00007feafa398b19 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000024000000 RBP: 00007feafa3f2f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff86543ecf R14: 00007feaf790e300 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:ffff88802e727db0 EFLAGS: 00010216 RAX: dffffc0000000000 RBX: 0000000000000001 RCX: ffffc90003931000 RDX: 0000000000000017 RSI: ffffffff81712278 RDI: 00000000000000ba RBP: ffffffffffffffea R08: 0000000000000001 R09: ffffed1005ce4fa3 R10: 0000000000000000 R11: 0000000000000001 R12: ffff88801bb056c0 R13: ffff88801bb05874 R14: ffffffff85cfbf20 R15: ffff88801be9bff8 FS: 00007feaf790e700(0000) GS:ffff8880e5497000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007feaf78ed718 CR3: 00000000168eb000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 netlink: 60 bytes leftover after parsing attributes in process `syz-executor.4'. netlink: 60 bytes leftover after parsing attributes in process `syz-executor.4'. netlink: 60 bytes leftover after parsing attributes in process `syz-executor.4'. netlink: 60 bytes leftover after parsing attributes in process `syz-executor.4'. netlink: 60 bytes leftover after parsing attributes in process `syz-executor.4'. netlink: 60 bytes leftover after parsing attributes in process `syz-executor.2'. netlink: 60 bytes leftover after parsing attributes in process `syz-executor.6'. netlink: 60 bytes leftover after parsing attributes in process `syz-executor.2'. netlink: 60 bytes leftover after parsing attributes in process `syz-executor.6'. netlink: 60 bytes leftover after parsing attributes in process `syz-executor.2'. program syz-executor.4 is using a deprecated SCSI ioctl, please convert it to SG_IO program syz-executor.4 is using a deprecated SCSI ioctl, please convert it to SG_IO audit: type=1400 audit(2000000228.688:53): avc: denied { tracepoint } for pid=71943 comm="syz-executor.7" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=perf_event permissive=1 program syz-executor.4 is using a deprecated SCSI ioctl, please convert it to SG_IO program syz-executor.4 is using a deprecated SCSI ioctl, please convert it to SG_IO UDC core: USB Raw Gadget: couldn't find an available UDC or it's busy misc raw-gadget: fail, usb_gadget_register_driver returned -16 audit: type=1326 audit(2000000229.517:54): auid=0 uid=0 gid=0 ses=4 subj=system_u:system_r:kernel_t:s0 pid=72378 comm="syz-executor.2" exe="/syz-executor.2" sig=31 arch=c000003e syscall=202 compat=0 ip=0x7f89467ecb19 code=0x0 ieee802154 phy0 wpan0: encryption failed: -22 UDC core: USB Raw Gadget: couldn't find an available UDC or it's busy misc raw-gadget: fail, usb_gadget_register_driver returned -16 Process accounting paused audit: type=1326 audit(2000000230.355:55): auid=0 uid=0 gid=0 ses=4 subj=system_u:system_r:kernel_t:s0 pid=72378 comm="syz-executor.2" exe="/syz-executor.2" sig=31 arch=c000003e syscall=202 compat=0 ip=0x7f89467ecb19 code=0x0 UDC core: USB Raw Gadget: couldn't find an available UDC or it's busy misc raw-gadget: fail, usb_gadget_register_driver returned -16 ieee802154 phy0 wpan0: encryption failed: -22 audit: type=1326 audit(2000000230.422:56): auid=0 uid=0 gid=0 ses=4 subj=system_u:system_r:kernel_t:s0 pid=72574 comm="syz-executor.2" exe="/syz-executor.2" sig=31 arch=c000003e syscall=202 compat=0 ip=0x7f89467ecb19 code=0x0 ieee802154 phy0 wpan0: encryption failed: -22 audit: type=1326 audit(2000000230.515:57): auid=0 uid=0 gid=0 ses=4 subj=system_u:system_r:kernel_t:s0 pid=72586 comm="syz-executor.0" exe="/syz-executor.0" sig=31 arch=c000003e syscall=202 compat=0 ip=0x7feafa398b19 code=0x0 ieee802154 phy0 wpan0: encryption failed: -22 UDC core: USB Raw Gadget: couldn't find an available UDC or it's busy misc raw-gadget: fail, usb_gadget_register_driver returned -16 audit: type=1326 audit(2000000231.397:58): auid=0 uid=0 gid=0 ses=4 subj=system_u:system_r:kernel_t:s0 pid=72598 comm="syz-executor.1" exe="/syz-executor.1" sig=31 arch=c000003e syscall=202 compat=0 ip=0x7f30475d5b19 code=0x0 audit: type=1326 audit(2000000231.399:59): auid=0 uid=0 gid=0 ses=4 subj=system_u:system_r:kernel_t:s0 pid=72602 comm="syz-executor.2" exe="/syz-executor.2" sig=31 arch=c000003e syscall=202 compat=0 ip=0x7f89467ecb19 code=0x0 audit: type=1326 audit(2000000231.402:60): auid=0 uid=0 gid=0 ses=4 subj=system_u:system_r:kernel_t:s0 pid=72604 comm="syz-executor.0" exe="/syz-executor.0" sig=31 arch=c000003e syscall=202 compat=0 ip=0x7feafa398b19 code=0x0 ieee802154 phy0 wpan0: encryption failed: -22 ieee802154 phy0 wpan0: encryption failed: -22 ieee802154 phy0 wpan0: encryption failed: -22 UDC core: USB Raw Gadget: couldn't find an available UDC or it's busy misc raw-gadget: fail, usb_gadget_register_driver returned -16 audit: type=1326 audit(2000000232.546:61): auid=0 uid=0 gid=0 ses=4 subj=system_u:system_r:kernel_t:s0 pid=72635 comm="syz-executor.0" exe="/syz-executor.0" sig=31 arch=c000003e syscall=202 compat=0 ip=0x7feafa398b19 code=0x0 audit: type=1326 audit(2000000232.548:62): auid=0 uid=0 gid=0 ses=4 subj=system_u:system_r:kernel_t:s0 pid=72636 comm="syz-executor.1" exe="/syz-executor.1" sig=31 arch=c000003e syscall=202 compat=0 ip=0x7f30475d5b19 code=0x0 ---------------- 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