================================================================== BUG: KASAN: use-after-free in kobject_get+0x113/0x120 lib/kobject.c:663 Read of size 1 at addr ffff8881160f903c by task syz.1.454/1561 CPU: 0 PID: 1561 Comm: syz.1.454 Tainted: G W syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Call Trace: __dump_stack+0x21/0x24 lib/dump_stack.c:77 dump_stack_lvl+0x1a7/0x208 lib/dump_stack.c:118 print_address_description+0x7f/0x2c0 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:435 [inline] kasan_report+0x100/0x140 mm/kasan/report.c:452 __asan_report_load1_noabort+0x14/0x20 mm/kasan/report_generic.c:306 kobject_get+0x113/0x120 lib/kobject.c:663 get_device drivers/base/core.c:3361 [inline] device_add+0x331/0xc00 drivers/base/core.c:3191 device_create_groups_vargs drivers/base/core.c:3960 [inline] device_create+0x26c/0x300 drivers/base/core.c:4002 create_function_device+0x60/0x70 drivers/usb/gadget/configfs.c:31 create_alsa_device drivers/usb/gadget/function/f_midi.c:1262 [inline] f_midi_alloc_inst+0x1a8/0x380 drivers/usb/gadget/function/f_midi.c:1303 try_get_usb_function_instance drivers/usb/gadget/functions.c:28 [inline] usb_get_function_instance+0xe2/0x2f0 drivers/usb/gadget/functions.c:44 function_make+0x118/0x350 drivers/usb/gadget/configfs.c:636 configfs_mkdir+0x5d2/0xd90 fs/configfs/dir.c:1354 vfs_mkdir+0x42c/0x600 fs/namei.c:3798 do_mkdirat+0x14c/0x340 fs/namei.c:3820 __do_sys_mkdir fs/namei.c:3836 [inline] __se_sys_mkdir fs/namei.c:3834 [inline] __x64_sys_mkdir+0x60/0x70 fs/namei.c:3834 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fa418c4a019 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fa4176a3028 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 00007fa418ed1fa0 RCX: 00007fa418c4a019 RDX: 0000000000000000 RSI: 00000000000001ff RDI: 0000200000000800 RBP: 00007fa418ce100c R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fa418ed2038 R14: 00007fa418ed1fa0 R15: 00007ffc9e1cb9a8 Allocated by task 501: kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:45 [inline] set_alloc_info mm/kasan/common.c:430 [inline] ____kasan_kmalloc mm/kasan/common.c:509 [inline] __kasan_kmalloc+0xd4/0x100 mm/kasan/common.c:518 kasan_kmalloc include/linux/kasan.h:254 [inline] kmem_cache_alloc_trace+0x179/0x2e0 mm/slub.c:2979 kmalloc include/linux/slab.h:555 [inline] kzalloc include/linux/slab.h:667 [inline] device_create_groups_vargs drivers/base/core.c:3942 [inline] device_create+0x13a/0x300 drivers/base/core.c:4002 android_device_create drivers/usb/gadget/configfs.c:1789 [inline] gadgets_make+0x816/0xa70 drivers/usb/gadget/configfs.c:1886 configfs_mkdir+0x5d2/0xd90 fs/configfs/dir.c:1354 vfs_mkdir+0x42c/0x600 fs/namei.c:3798 do_mkdirat+0x14c/0x340 fs/namei.c:3820 __do_sys_mkdirat fs/namei.c:3831 [inline] __se_sys_mkdirat fs/namei.c:3829 [inline] __x64_sys_mkdirat+0x7b/0x90 fs/namei.c:3829 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb Freed by task 1378: kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track+0x4a/0x70 mm/kasan/common.c:45 kasan_set_free_info+0x23/0x40 mm/kasan/generic.c:370 ____kasan_slab_free+0x125/0x160 mm/kasan/common.c:362 __kasan_slab_free+0x11/0x20 mm/kasan/common.c:370 kasan_slab_free include/linux/kasan.h:220 [inline] slab_free_hook mm/slub.c:1600 [inline] slab_free_freelist_hook+0xc5/0x190 mm/slub.c:1626 slab_free mm/slub.c:3208 [inline] kfree+0xc0/0x270 mm/slub.c:4196 skb_free_head net/core/skbuff.c:606 [inline] skb_release_data+0x53b/0x690 net/core/skbuff.c:626 skb_release_all net/core/skbuff.c:680 [inline] __kfree_skb net/core/skbuff.c:694 [inline] consume_skb+0xab/0x1f0 net/core/skbuff.c:851 netlink_broadcast_filtered+0x11ce/0x12c0 net/netlink/af_netlink.c:1535 netlink_broadcast net/netlink/af_netlink.c:1557 [inline] nlmsg_multicast include/net/netlink.h:1033 [inline] nlmsg_notify+0xe9/0x1a0 net/netlink/af_netlink.c:2551 rtnl_notify+0x9a/0xc0 net/core/rtnetlink.c:740 rtmsg_fib+0x781/0xd90 net/ipv4/fib_semantics.c:539 fib_table_insert+0xee3/0x1d50 net/ipv4/fib_trie.c:1335 fib_magic net/ipv4/fib_frontend.c:1107 [inline] fib_add_ifaddr+0xbe3/0xf90 net/ipv4/fib_frontend.c:1153 fib_inetaddr_event+0x15d/0x310 net/ipv4/fib_frontend.c:1445 notifier_call_chain kernel/notifier.c:83 [inline] blocking_notifier_call_chain+0xba/0x140 kernel/notifier.c:337 __inet_insert_ifa+0x88e/0xa80 net/ipv4/devinet.c:567 inet_insert_ifa net/ipv4/devinet.c:574 [inline] inetdev_event+0xbe6/0x1010 net/ipv4/devinet.c:1584 notifier_call_chain kernel/notifier.c:83 [inline] raw_notifier_call_chain+0x90/0x100 kernel/notifier.c:410 call_netdevice_notifiers_info net/core/dev.c:2052 [inline] call_netdevice_notifiers_extack net/core/dev.c:2064 [inline] call_netdevice_notifiers net/core/dev.c:2078 [inline] __dev_notify_flags+0x2f4/0x5b0 net/core/dev.c:8583 dev_change_flags+0xe3/0x1a0 net/core/dev.c:8621 do_setlink+0xb19/0x29a0 net/core/rtnetlink.c:2736 __rtnl_newlink net/core/rtnetlink.c:3414 [inline] rtnl_newlink+0x13e6/0x1830 net/core/rtnetlink.c:3534 rtnetlink_rcv_msg+0x9e9/0xca0 net/core/rtnetlink.c:5614 netlink_rcv_skb+0x1e9/0x430 net/netlink/af_netlink.c:2508 rtnetlink_rcv+0x1c/0x20 net/core/rtnetlink.c:5632 netlink_unicast_kernel net/netlink/af_netlink.c:1314 [inline] netlink_unicast+0x86c/0xa30 net/netlink/af_netlink.c:1340 netlink_sendmsg+0x949/0xb70 net/netlink/af_netlink.c:1919 sock_sendmsg_nosec net/socket.c:652 [inline] __sock_sendmsg net/socket.c:664 [inline] __sys_sendto+0x467/0x620 net/socket.c:2007 __do_sys_sendto net/socket.c:2019 [inline] __se_sys_sendto net/socket.c:2015 [inline] __x64_sys_sendto+0xe5/0x100 net/socket.c:2015 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb The buggy address belongs to the object at ffff8881160f9000 which belongs to the cache kmalloc-1k of size 1024 The buggy address is located 60 bytes inside of 1024-byte region [ffff8881160f9000, ffff8881160f9400) The buggy address belongs to the page: page:ffffea0004583e00 refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff8881160fb800 pfn:0x1160f8 head:ffffea0004583e00 order:3 compound_mapcount:0 compound_pincount:0 flags: 0x4000000000010200(slab|head) raw: 4000000000010200 ffffea00045a0208 ffffea0004598e08 ffff888100042f00 raw: ffff8881160fb800 000000000010000f 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 3, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 106, ts 7265272376, free_ts 0 set_page_owner include/linux/page_owner.h:35 [inline] post_alloc_hook mm/page_alloc.c:2456 [inline] prep_new_page+0x176/0x190 mm/page_alloc.c:2462 get_page_from_freelist+0x225f/0x23f0 mm/page_alloc.c:4254 __alloc_pages_nodemask+0x29a/0x640 mm/page_alloc.c:5384 alloc_slab_page mm/slub.c:-1 [inline] allocate_slab mm/slub.c:1813 [inline] new_slab+0x84/0x3f0 mm/slub.c:1874 new_slab_objects mm/slub.c:2632 [inline] ___slab_alloc+0x2f8/0x4c0 mm/slub.c:2796 __slab_alloc+0x63/0xa0 mm/slub.c:2836 slab_alloc_node mm/slub.c:2918 [inline] slab_alloc mm/slub.c:2960 [inline] __kmalloc_track_caller+0x1e4/0x310 mm/slub.c:4541 __kmalloc_reserve net/core/skbuff.c:144 [inline] __alloc_skb+0xdc/0x520 net/core/skbuff.c:212 alloc_skb include/linux/skbuff.h:1126 [inline] alloc_uevent_skb+0x85/0x240 lib/kobject_uevent.c:290 uevent_net_broadcast_tagged lib/kobject_uevent.c:351 [inline] kobject_uevent_net_broadcast+0x1a6/0x5a0 lib/kobject_uevent.c:412 kobject_uevent_env+0x52b/0x700 lib/kobject_uevent.c:608 kobject_synth_uevent+0x452/0x940 lib/kobject_uevent.c:208 uevent_store+0x25/0x60 drivers/base/core.c:2320 dev_attr_store+0x5e/0x80 drivers/base/core.c:2018 sysfs_kf_write+0x129/0x150 fs/sysfs/file.c:139 kernfs_fop_write_iter+0x2bd/0x400 fs/kernfs/file.c:296 page_owner free stack trace missing Memory state around the buggy address: ffff8881160f8f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8881160f8f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff8881160f9000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff8881160f9080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff8881160f9100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ================================================================== ------------[ cut here ]------------ kobject: '' (ffff8881160f9000): is not initialized, yet kobject_get() is being called. WARNING: CPU: 0 PID: 1561 at lib/kobject.c:666 kobject_get+0x7c/0x120 lib/kobject.c:664 Modules linked in: CPU: 0 PID: 1561 Comm: syz.1.454 Tainted: G B W syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 RIP: 0010:kobject_get+0x7c/0x120 lib/kobject.c:664 Code: 0a ff 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 16 31 45 ff 48 8b 33 48 c7 c7 40 9c 41 85 48 89 da e8 84 ff 1e 02 <0f> 0b eb 0c e8 db bb 0a ff eb 4c e8 d4 bb 0a ff 4c 8d 73 38 4c 89 RSP: 0018:ffffc90000c97970 EFLAGS: 00010246 RAX: 5b8baa74193bee00 RBX: ffff8881160f9000 RCX: 0000000000080000 RDX: ffffc900014cb000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: ffffc90000c97988 R08: 0000000000000003 R09: fffff52000192e94 R10: dffffc0000000000 R11: fffff52000192e74 R12: 0000000000000000 R13: ffff888124785068 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007fa4176a36c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2e51eff8 CR3: 0000000119264000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: get_device drivers/base/core.c:3361 [inline] device_add+0x331/0xc00 drivers/base/core.c:3191 device_create_groups_vargs drivers/base/core.c:3960 [inline] device_create+0x26c/0x300 drivers/base/core.c:4002 create_function_device+0x60/0x70 drivers/usb/gadget/configfs.c:31 create_alsa_device drivers/usb/gadget/function/f_midi.c:1262 [inline] f_midi_alloc_inst+0x1a8/0x380 drivers/usb/gadget/function/f_midi.c:1303 try_get_usb_function_instance drivers/usb/gadget/functions.c:28 [inline] usb_get_function_instance+0xe2/0x2f0 drivers/usb/gadget/functions.c:44 function_make+0x118/0x350 drivers/usb/gadget/configfs.c:636 configfs_mkdir+0x5d2/0xd90 fs/configfs/dir.c:1354 vfs_mkdir+0x42c/0x600 fs/namei.c:3798 do_mkdirat+0x14c/0x340 fs/namei.c:3820 __do_sys_mkdir fs/namei.c:3836 [inline] __se_sys_mkdir fs/namei.c:3834 [inline] __x64_sys_mkdir+0x60/0x70 fs/namei.c:3834 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fa418c4a019 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fa4176a3028 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 00007fa418ed1fa0 RCX: 00007fa418c4a019 RDX: 0000000000000000 RSI: 00000000000001ff RDI: 0000200000000800 RBP: 00007fa418ce100c R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fa418ed2038 R14: 00007fa418ed1fa0 R15: 00007ffc9e1cb9a8 ---[ end trace 60ea2176d98db99c ]--- ------------[ cut here ]------------ kobject: '' (ffff8881160f9000): is not initialized, yet kobject_get() is being called. WARNING: CPU: 0 PID: 1561 at lib/kobject.c:666 kobject_get lib/kobject.c:664 [inline] WARNING: CPU: 0 PID: 1561 at lib/kobject.c:666 kobject_add_internal+0x12e/0xde0 lib/kobject.c:248 Modules linked in: CPU: 0 PID: 1561 Comm: syz.1.454 Tainted: G B W syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 RIP: 0010:kobject_get lib/kobject.c:664 [inline] RIP: 0010:kobject_add_internal+0x12e/0xde0 lib/kobject.c:248 Code: b9 00 00 00 00 00 fc ff df 80 3c 08 00 74 08 4c 89 e7 e8 95 18 45 ff 49 8b 34 24 48 c7 c7 40 9c 41 85 4c 89 e2 e8 02 e7 1e 02 <0f> 0b e9 04 01 00 00 e8 56 a3 0a ff b8 fe ff ff ff e9 b0 09 00 00 RSP: 0018:ffffc90000c977d8 EFLAGS: 00010246 RAX: 5b8baa74193bee00 RBX: ffff888108585c00 RCX: 0000000000080000 RDX: ffffc900014cb000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: ffffc90000c97830 R08: ffffc90000c97167 R09: fffff52000192e60 R10: dffffc0000000000 R11: fffff52000192e2d R12: ffff8881160f9000 R13: ffff888108585c18 R14: 0000000000000000 R15: 1ffff110210b0b80 FS: 00007fa4176a36c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32c1bff8 CR3: 0000000119264000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kobject_add_varg lib/kobject.c:398 [inline] kobject_add+0x165/0x230 lib/kobject.c:450 class_dir_create_and_add drivers/base/core.c:2825 [inline] get_device_parent+0x3a6/0x410 drivers/base/core.c:2880 device_add+0x349/0xc00 drivers/base/core.c:3192 device_create_groups_vargs drivers/base/core.c:3960 [inline] device_create+0x26c/0x300 drivers/base/core.c:4002 create_function_device+0x60/0x70 drivers/usb/gadget/configfs.c:31 create_alsa_device drivers/usb/gadget/function/f_midi.c:1262 [inline] f_midi_alloc_inst+0x1a8/0x380 drivers/usb/gadget/function/f_midi.c:1303 try_get_usb_function_instance drivers/usb/gadget/functions.c:28 [inline] usb_get_function_instance+0xe2/0x2f0 drivers/usb/gadget/functions.c:44 function_make+0x118/0x350 drivers/usb/gadget/configfs.c:636 configfs_mkdir+0x5d2/0xd90 fs/configfs/dir.c:1354 vfs_mkdir+0x42c/0x600 fs/namei.c:3798 do_mkdirat+0x14c/0x340 fs/namei.c:3820 __do_sys_mkdir fs/namei.c:3836 [inline] __se_sys_mkdir fs/namei.c:3834 [inline] __x64_sys_mkdir+0x60/0x70 fs/namei.c:3834 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fa418c4a019 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fa4176a3028 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 00007fa418ed1fa0 RCX: 00007fa418c4a019 RDX: 0000000000000000 RSI: 00000000000001ff RDI: 0000200000000800 RBP: 00007fa418ce100c R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fa418ed2038 R14: 00007fa418ed1fa0 R15: 00007ffc9e1cb9a8 ---[ end trace 60ea2176d98db99d ]--- general protection fault, probably for non-canonical address 0xe000dc011ffffff3: 0000 [#1] PREEMPT SMP KASAN KASAN: maybe wild-memory-access in range [0x00070008ffffff98-0x00070008ffffff9f] CPU: 0 PID: 1561 Comm: syz.1.454 Tainted: G B W syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 RIP: 0010:kobj_child_ns_ops lib/kobject.c:1084 [inline] RIP: 0010:kobj_ns_ops lib/kobject.c:1092 [inline] RIP: 0010:kobject_namespace lib/kobject.c:30 [inline] RIP: 0010:create_dir lib/kobject.c:89 [inline] RIP: 0010:kobject_add_internal+0x5e3/0xde0 lib/kobject.c:263 Code: 4c 89 e7 e8 ef 13 45 ff 4d 8b 24 24 4d 85 e4 0f 84 db 00 00 00 49 83 c4 20 4c 89 e0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 4c 89 e7 e8 bf 13 45 ff 49 8b 04 24 48 85 c0 0f RSP: 0018:ffffc90000c977d8 EFLAGS: 00010207 RAX: 0000e0011ffffff3 RBX: ffff888108585c00 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff8881160f9028 RBP: ffffc90000c97830 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff52000192eec R12: 00070008ffffff9f R13: ffff888108585c18 R14: ffffffff8681cb60 R15: ffff8881160f9000 FS: 00007fa4176a36c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32c19ff8 CR3: 0000000119264000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kobject_add_varg lib/kobject.c:398 [inline] kobject_add+0x165/0x230 lib/kobject.c:450 class_dir_create_and_add drivers/base/core.c:2825 [inline] get_device_parent+0x3a6/0x410 drivers/base/core.c:2880 device_add+0x349/0xc00 drivers/base/core.c:3192 device_create_groups_vargs drivers/base/core.c:3960 [inline] device_create+0x26c/0x300 drivers/base/core.c:4002 create_function_device+0x60/0x70 drivers/usb/gadget/configfs.c:31 create_alsa_device drivers/usb/gadget/function/f_midi.c:1262 [inline] f_midi_alloc_inst+0x1a8/0x380 drivers/usb/gadget/function/f_midi.c:1303 try_get_usb_function_instance drivers/usb/gadget/functions.c:28 [inline] usb_get_function_instance+0xe2/0x2f0 drivers/usb/gadget/functions.c:44 function_make+0x118/0x350 drivers/usb/gadget/configfs.c:636 configfs_mkdir+0x5d2/0xd90 fs/configfs/dir.c:1354 vfs_mkdir+0x42c/0x600 fs/namei.c:3798 do_mkdirat+0x14c/0x340 fs/namei.c:3820 __do_sys_mkdir fs/namei.c:3836 [inline] __se_sys_mkdir fs/namei.c:3834 [inline] __x64_sys_mkdir+0x60/0x70 fs/namei.c:3834 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fa418c4a019 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fa4176a3028 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 00007fa418ed1fa0 RCX: 00007fa418c4a019 RDX: 0000000000000000 RSI: 00000000000001ff RDI: 0000200000000800 RBP: 00007fa418ce100c R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fa418ed2038 R14: 00007fa418ed1fa0 R15: 00007ffc9e1cb9a8 Modules linked in: ---[ end trace 60ea2176d98db99e ]--- RIP: 0010:kobj_child_ns_ops lib/kobject.c:1084 [inline] RIP: 0010:kobj_ns_ops lib/kobject.c:1092 [inline] RIP: 0010:kobject_namespace lib/kobject.c:30 [inline] RIP: 0010:create_dir lib/kobject.c:89 [inline] RIP: 0010:kobject_add_internal+0x5e3/0xde0 lib/kobject.c:263 Code: 4c 89 e7 e8 ef 13 45 ff 4d 8b 24 24 4d 85 e4 0f 84 db 00 00 00 49 83 c4 20 4c 89 e0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 4c 89 e7 e8 bf 13 45 ff 49 8b 04 24 48 85 c0 0f RSP: 0018:ffffc90000c977d8 EFLAGS: 00010207 RAX: 0000e0011ffffff3 RBX: ffff888108585c00 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff8881160f9028 RBP: ffffc90000c97830 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff52000192eec R12: 00070008ffffff9f R13: ffff888108585c18 R14: ffffffff8681cb60 R15: ffff8881160f9000 FS: 00007fa4176a36c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32c19ff8 CR3: 0000000119264000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 4c 89 e7 mov %r12,%rdi 3: e8 ef 13 45 ff call 0xff4513f7 8: 4d 8b 24 24 mov (%r12),%r12 c: 4d 85 e4 test %r12,%r12 f: 0f 84 db 00 00 00 je 0xf0 15: 49 83 c4 20 add $0x20,%r12 19: 4c 89 e0 mov %r12,%rax 1c: 48 c1 e8 03 shr $0x3,%rax 20: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx 27: fc ff df * 2a: 80 3c 08 00 cmpb $0x0,(%rax,%rcx,1) <-- trapping instruction 2e: 74 08 je 0x38 30: 4c 89 e7 mov %r12,%rdi 33: e8 bf 13 45 ff call 0xff4513f7 38: 49 8b 04 24 mov (%r12),%rax 3c: 48 85 c0 test %rax,%rax 3f: 0f .byte 0xf