================================================================== BUG: KASAN: use-after-free in kobject_get+0x113/0x120 lib/kobject.c:663 Read of size 1 at addr ffff888110b6803c by task syz.9.2516/10562 CPU: 0 PID: 10562 Comm: syz.9.2516 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/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:3363 [inline] device_add+0x331/0xc00 drivers/base/core.c:3193 device_create_groups_vargs drivers/base/core.c:3962 [inline] device_create+0x26c/0x300 drivers/base/core.c:4004 create_function_device+0x60/0x70 drivers/usb/gadget/configfs.c:31 create_alsa_device drivers/usb/gadget/function/f_midi.c:1266 [inline] f_midi_alloc_inst+0x1a8/0x380 drivers/usb/gadget/function/f_midi.c:1307 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:1378 vfs_mkdir+0x42c/0x600 fs/namei.c:3840 do_mkdirat+0x14c/0x340 fs/namei.c:3862 __do_sys_mkdirat fs/namei.c:3873 [inline] __se_sys_mkdirat fs/namei.c:3871 [inline] __x64_sys_mkdirat+0x7b/0x90 fs/namei.c:3871 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f5c8cc5ab59 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:00007f5c8b687028 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007f5c8cee7098 RCX: 00007f5c8cc5ab59 RDX: 00000000000001ff RSI: 0000200000000ec0 RDI: ffffffffffffff9c RBP: 00007f5c8cceb18b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f5c8cee7130 R14: 00007f5c8cee7098 R15: 00007ffde78f0778 Allocated by task 8311: 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:3944 [inline] device_create+0x13a/0x300 drivers/base/core.c:4004 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:1378 vfs_mkdir+0x42c/0x600 fs/namei.c:3840 do_mkdirat+0x14c/0x340 fs/namei.c:3862 __do_sys_mkdirat fs/namei.c:3873 [inline] __se_sys_mkdirat fs/namei.c:3871 [inline] __x64_sys_mkdirat+0x7b/0x90 fs/namei.c:3871 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb Freed by task 10148: 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:855 netlink_broadcast_filtered+0x129e/0x1390 net/netlink/af_netlink.c:1543 netlink_broadcast net/netlink/af_netlink.c:1565 [inline] nlmsg_multicast include/net/netlink.h:1033 [inline] nlmsg_notify+0xe9/0x1a0 net/netlink/af_netlink.c:2567 rtnl_notify+0x9a/0xc0 net/core/rtnetlink.c:740 inet6_rt_notify+0x375/0x480 net/ipv6/route.c:6081 fib6_add_rt2node net/ipv6/ip6_fib.c:1252 [inline] fib6_add+0x2174/0x3c60 net/ipv6/ip6_fib.c:1481 __ip6_ins_rt net/ipv6/route.c:1305 [inline] ip6_ins_rt+0xd3/0x130 net/ipv6/route.c:1315 __ipv6_ifa_notify+0x4df/0xe70 net/ipv6/addrconf.c:6187 ipv6_ifa_notify net/ipv6/addrconf.c:6227 [inline] addrconf_dad_completed+0x18c/0xe30 net/ipv6/addrconf.c:4272 addrconf_dad_work+0xc5f/0x1480 net/ipv6/addrconf.c:-1 process_one_work+0x6fd/0xbc0 kernel/workqueue.c:2301 worker_thread+0xa8e/0x13c0 kernel/workqueue.c:2447 kthread+0x324/0x3b0 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 The buggy address belongs to the object at ffff888110b68000 which belongs to the cache kmalloc-1k of size 1024 The buggy address is located 60 bytes inside of 1024-byte region [ffff888110b68000, ffff888110b68400) The buggy address belongs to the page: page:ffffea000442da00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x110b68 head:ffffea000442da00 order:3 compound_mapcount:0 compound_pincount:0 flags: 0x4000000000010200(slab|head) raw: 4000000000010200 dead000000000100 dead000000000122 ffff888100042f00 raw: 0000000000000000 0000000000100010 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 0x1d20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC|__GFP_HARDWALL), pid 97, ts 343280788261, free_ts 343276002332 set_page_owner include/linux/page_owner.h:35 [inline] post_alloc_hook mm/page_alloc.c:2457 [inline] prep_new_page+0x176/0x190 mm/page_alloc.c:2463 get_page_from_freelist+0x225f/0x23f0 mm/page_alloc.c:4262 __alloc_pages_nodemask+0x29a/0x640 mm/page_alloc.c:5392 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_untagged lib/kobject_uevent.c:326 [inline] kobject_uevent_net_broadcast+0x335/0x5a0 lib/kobject_uevent.c:409 kobject_uevent_env+0x52b/0x700 lib/kobject_uevent.c:608 kobject_synth_uevent+0x42e/0x9d0 lib/kobject_uevent.c:208 uevent_store+0x25/0x90 drivers/base/core.c:2320 dev_attr_store+0x5e/0x80 drivers/base/core.c:2018 sysfs_kf_write+0x129/0x150 fs/sysfs/file.c:143 kernfs_fop_write_iter+0x2bd/0x400 fs/kernfs/file.c:296 page last free stack trace: reset_page_owner include/linux/page_owner.h:28 [inline] free_pages_prepare mm/page_alloc.c:1350 [inline] __free_pages_ok+0x80b/0x830 mm/page_alloc.c:1630 free_the_page mm/page_alloc.c:5453 [inline] __free_pages+0xd8/0x390 mm/page_alloc.c:5462 __free_slab+0xcf/0x190 mm/slub.c:1899 free_slab mm/slub.c:1914 [inline] discard_slab mm/slub.c:1920 [inline] unfreeze_partials+0x150/0x180 mm/slub.c:2415 put_cpu_partial+0xc1/0x180 mm/slub.c:2451 __slab_free+0x2c9/0x3a0 mm/slub.c:3100 do_slab_free mm/slub.c:3196 [inline] ___cache_free+0x10e/0x130 mm/slub.c:3215 qlink_free+0x50/0x90 mm/kasan/quarantine.c:157 qlist_free_all+0x5f/0xb0 mm/kasan/quarantine.c:176 kasan_quarantine_reduce+0x14a/0x160 mm/kasan/quarantine.c:283 __kasan_slab_alloc+0x2f/0xe0 mm/kasan/common.c:440 kasan_slab_alloc include/linux/kasan.h:244 [inline] slab_post_alloc_hook+0x5d/0x2f0 mm/slab.h:580 slab_alloc_node mm/slub.c:2952 [inline] slab_alloc mm/slub.c:2960 [inline] kmem_cache_alloc+0x15a/0x2d0 mm/slub.c:2965 getname_flags+0xba/0x510 fs/namei.c:141 getname+0x19/0x20 fs/namei.c:212 do_sys_openat2+0xde/0x750 fs/open.c:1213 Memory state around the buggy address: ffff888110b67f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888110b67f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff888110b68000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff888110b68080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff888110b68100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ================================================================== ------------[ cut here ]------------ kobject: '' (ffff888110b68000): is not initialized, yet kobject_get() is being called. WARNING: CPU: 0 PID: 10562 at lib/kobject.c:666 kobject_get+0x7c/0x120 lib/kobject.c:664 Modules linked in: CPU: 0 PID: 10562 Comm: syz.9.2516 Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/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 b6 f8 44 ff 48 8b 33 48 c7 c7 e0 ae 41 85 48 89 da e8 f4 cc 23 02 <0f> 0b eb 0c e8 5b 54 0a ff eb 4c e8 54 54 0a ff 4c 8d 73 38 4c 89 RSP: 0018:ffffc90002167970 EFLAGS: 00010246 RAX: 2e5fb9681719f000 RBX: ffff888110b68000 RCX: ffff88810f676400 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc90002167988 R08: ffff8881f7052fff R09: 1ffff1103ee0a5ff R10: dffffc0000000000 R11: ffffed103ee0a600 R12: 0000000000000000 R13: ffff88811b402868 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007f5c8b6876c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc4993c4000 CR3: 000000012718e000 CR4: 00000000003526b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: get_device drivers/base/core.c:3363 [inline] device_add+0x331/0xc00 drivers/base/core.c:3193 device_create_groups_vargs drivers/base/core.c:3962 [inline] device_create+0x26c/0x300 drivers/base/core.c:4004 create_function_device+0x60/0x70 drivers/usb/gadget/configfs.c:31 create_alsa_device drivers/usb/gadget/function/f_midi.c:1266 [inline] f_midi_alloc_inst+0x1a8/0x380 drivers/usb/gadget/function/f_midi.c:1307 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:1378 vfs_mkdir+0x42c/0x600 fs/namei.c:3840 do_mkdirat+0x14c/0x340 fs/namei.c:3862 __do_sys_mkdirat fs/namei.c:3873 [inline] __se_sys_mkdirat fs/namei.c:3871 [inline] __x64_sys_mkdirat+0x7b/0x90 fs/namei.c:3871 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f5c8cc5ab59 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:00007f5c8b687028 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007f5c8cee7098 RCX: 00007f5c8cc5ab59 RDX: 00000000000001ff RSI: 0000200000000ec0 RDI: ffffffffffffff9c RBP: 00007f5c8cceb18b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f5c8cee7130 R14: 00007f5c8cee7098 R15: 00007ffde78f0778 ---[ end trace 82eb1fa6e474d2af ]--- ------------[ cut here ]------------ kobject: '' (ffff888110b68000): is not initialized, yet kobject_get() is being called. WARNING: CPU: 0 PID: 10562 at lib/kobject.c:666 kobject_get lib/kobject.c:664 [inline] WARNING: CPU: 0 PID: 10562 at lib/kobject.c:666 kobject_add_internal+0x12e/0xde0 lib/kobject.c:248 Modules linked in: CPU: 0 PID: 10562 Comm: syz.9.2516 Tainted: G B W syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/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 35 e0 44 ff 49 8b 34 24 48 c7 c7 e0 ae 41 85 4c 89 e2 e8 72 b4 23 02 <0f> 0b e9 04 01 00 00 e8 d6 3b 0a ff b8 fe ff ff ff e9 b0 09 00 00 RSP: 0018:ffffc900021677d8 EFLAGS: 00010246 RAX: 2e5fb9681719f000 RBX: ffff88810bd6d800 RCX: ffff88810f676400 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc90002167830 R08: ffff8881f7052fff R09: 1ffff1103ee0a5ff R10: dffffc0000000000 R11: ffffed103ee0a600 R12: ffff888110b68000 R13: ffff88810bd6d818 R14: 0000000000000000 R15: 1ffff110217adb00 FS: 00007f5c8b6876c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc4993c4000 CR3: 000000012718e000 CR4: 00000000003526b0 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:2827 [inline] get_device_parent+0x3a6/0x410 drivers/base/core.c:2882 device_add+0x349/0xc00 drivers/base/core.c:3194 device_create_groups_vargs drivers/base/core.c:3962 [inline] device_create+0x26c/0x300 drivers/base/core.c:4004 create_function_device+0x60/0x70 drivers/usb/gadget/configfs.c:31 create_alsa_device drivers/usb/gadget/function/f_midi.c:1266 [inline] f_midi_alloc_inst+0x1a8/0x380 drivers/usb/gadget/function/f_midi.c:1307 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:1378 vfs_mkdir+0x42c/0x600 fs/namei.c:3840 do_mkdirat+0x14c/0x340 fs/namei.c:3862 __do_sys_mkdirat fs/namei.c:3873 [inline] __se_sys_mkdirat fs/namei.c:3871 [inline] __x64_sys_mkdirat+0x7b/0x90 fs/namei.c:3871 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f5c8cc5ab59 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:00007f5c8b687028 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007f5c8cee7098 RCX: 00007f5c8cc5ab59 RDX: 00000000000001ff RSI: 0000200000000ec0 RDI: ffffffffffffff9c RBP: 00007f5c8cceb18b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f5c8cee7130 R14: 00007f5c8cee7098 R15: 00007ffde78f0778 ---[ end trace 82eb1fa6e474d2b0 ]--- general protection fault, probably for non-canonical address 0xdffffc0000001023: 0000 [#1] PREEMPT SMP KASAN KASAN: probably user-memory-access in range [0x0000000000008118-0x000000000000811f] CPU: 0 PID: 10562 Comm: syz.9.2516 Tainted: G B W syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/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 8f db 44 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 5f db 44 ff 49 8b 04 24 48 85 c0 0f RSP: 0018:ffffc900021677d8 EFLAGS: 00010203 RAX: 0000000000001023 RBX: ffff88810bd6d800 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff888110b68028 RBP: ffffc90002167830 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff5200042ceec R12: 000000000000811e R13: ffff88810bd6d818 R14: ffffffff8681dbc0 R15: ffff888110b68000 FS: 00007f5c8b6876c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc4993c4000 CR3: 000000012718e000 CR4: 00000000003526b0 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:2827 [inline] get_device_parent+0x3a6/0x410 drivers/base/core.c:2882 device_add+0x349/0xc00 drivers/base/core.c:3194 device_create_groups_vargs drivers/base/core.c:3962 [inline] device_create+0x26c/0x300 drivers/base/core.c:4004 create_function_device+0x60/0x70 drivers/usb/gadget/configfs.c:31 create_alsa_device drivers/usb/gadget/function/f_midi.c:1266 [inline] f_midi_alloc_inst+0x1a8/0x380 drivers/usb/gadget/function/f_midi.c:1307 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:1378 vfs_mkdir+0x42c/0x600 fs/namei.c:3840 do_mkdirat+0x14c/0x340 fs/namei.c:3862 __do_sys_mkdirat fs/namei.c:3873 [inline] __se_sys_mkdirat fs/namei.c:3871 [inline] __x64_sys_mkdirat+0x7b/0x90 fs/namei.c:3871 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f5c8cc5ab59 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:00007f5c8b687028 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007f5c8cee7098 RCX: 00007f5c8cc5ab59 RDX: 00000000000001ff RSI: 0000200000000ec0 RDI: ffffffffffffff9c RBP: 00007f5c8cceb18b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f5c8cee7130 R14: 00007f5c8cee7098 R15: 00007ffde78f0778 Modules linked in: ---[ end trace 82eb1fa6e474d2b1 ]--- 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 8f db 44 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 5f db 44 ff 49 8b 04 24 48 85 c0 0f RSP: 0018:ffffc900021677d8 EFLAGS: 00010203 RAX: 0000000000001023 RBX: ffff88810bd6d800 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff888110b68028 RBP: ffffc90002167830 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff5200042ceec R12: 000000000000811e R13: ffff88810bd6d818 R14: ffffffff8681dbc0 R15: ffff888110b68000 FS: 00007f5c8b6876c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc4993c4000 CR3: 000000012718e000 CR4: 00000000003526b0 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 8f db 44 ff call 0xff44db97 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 5f db 44 ff call 0xff44db97 38: 49 8b 04 24 mov (%r12),%rax 3c: 48 85 c0 test %rax,%rax 3f: 0f .byte 0xf