ci2 starts bisection 2023-07-31 13:44:22.669370944 +0000 UTC m=+79045.587088664 bisecting fixing commit since 471e639e59d128f4bf58000a118b2ceca3893f98 building syzkaller on f3921d4d63f97d1f1fb49a69ea85744bb7ef184b ensuring issue is reproducible on original commit 471e639e59d128f4bf58000a118b2ceca3893f98 testing commit 471e639e59d128f4bf58000a118b2ceca3893f98 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a06f2610ed76764b012f3f84248cbb08e5df1cca98677d4c318fb1268828fb63 run #0: crashed: KASAN: use-after-free Read in ext4_search_dir run #1: crashed: KASAN: use-after-free Read in ext4_search_dir run #2: crashed: KASAN: use-after-free Read in ext4_search_dir run #3: crashed: KASAN: use-after-free Read in ext4_search_dir run #4: crashed: KASAN: use-after-free Read in ext4_search_dir run #5: crashed: KASAN: use-after-free Read in ext4_search_dir run #6: crashed: KASAN: use-after-free Read in ext4_search_dir run #7: crashed: KASAN: use-after-free Read in ext4_search_dir run #8: crashed: KASAN: use-after-free Read in ext4_search_dir run #9: crashed: KASAN: use-after-free Read in ext4_search_dir run #10: crashed: KASAN: use-after-free Read in ext4_search_dir run #11: crashed: KASAN: use-after-free Read in ext4_search_dir run #12: crashed: KASAN: use-after-free Read in ext4_search_dir run #13: crashed: KASAN: use-after-free Read in ext4_search_dir run #14: crashed: KASAN: use-after-free Read in ext4_search_dir run #15: crashed: KASAN: use-after-free Read in ext4_search_dir run #16: crashed: KASAN: use-after-free Read in ext4_search_dir run #17: crashed: KASAN: use-after-free Read in ext4_search_dir run #18: crashed: KASAN: use-after-free Read in ext4_search_dir run #19: crashed: KASAN: use-after-free Read in ext4_search_dir run #20: crashed: KASAN: use-after-free Read in ext4_search_dir run #21: crashed: KASAN: use-after-free Read in ext4_search_dir run #22: crashed: KASAN: use-after-free Read in ext4_search_dir run #23: crashed: KASAN: use-after-free Read in ext4_search_dir run #24: crashed: KASAN: use-after-free Read in ext4_search_dir run #25: crashed: KASAN: use-after-free Read in ext4_search_dir run #26: crashed: KASAN: use-after-free Read in ext4_search_dir run #27: crashed: KASAN: use-after-free Read in ext4_search_dir run #28: crashed: KASAN: use-after-free Read in ext4_search_dir run #29: crashed: KASAN: use-after-free Read in ext4_search_dir run #30: crashed: KASAN: use-after-free Read in ext4_search_dir run #31: crashed: KASAN: use-after-free Read in ext4_search_dir run #32: crashed: KASAN: use-after-free Read in ext4_search_dir run #33: crashed: KASAN: use-after-free Read in ext4_search_dir run #34: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #35: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #36: crashed: KASAN: use-after-free Read in ext4_search_dir run #37: crashed: KASAN: use-after-free Read in ext4_search_dir run #38: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #39: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir representative crash: KASAN: use-after-free Read in ext4_search_dir, types: [KASAN] check whether we can drop unnecessary instrumentation disabling configs for [UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit 471e639e59d128f4bf58000a118b2ceca3893f98 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3db6c9678d0d85ef98f512d89c9a012f8ab3153c2add8b12a7c3114e0d2731e6 run #0: crashed: KASAN: use-after-free Read in ext4_search_dir run #1: crashed: KASAN: use-after-free Read in ext4_search_dir run #2: crashed: KASAN: use-after-free Read in ext4_search_dir run #3: crashed: KASAN: use-after-free Read in ext4_search_dir run #4: crashed: KASAN: use-after-free Read in ext4_search_dir run #5: crashed: KASAN: use-after-free Read in ext4_search_dir run #6: crashed: KASAN: use-after-free Read in ext4_search_dir run #7: crashed: KASAN: use-after-free Read in ext4_search_dir run #8: crashed: KASAN: out-of-bounds Read in ext4_search_dir run #9: crashed: KASAN: out-of-bounds Read in ext4_search_dir run #10: crashed: KASAN: use-after-free Read in ext4_search_dir run #11: crashed: KASAN: use-after-free Read in ext4_search_dir run #12: crashed: KASAN: use-after-free Read in ext4_search_dir run #13: crashed: KASAN: use-after-free Read in ext4_search_dir run #14: crashed: KASAN: use-after-free Read in ext4_search_dir run #15: crashed: KASAN: use-after-free Read in ext4_search_dir run #16: crashed: KASAN: use-after-free Read in ext4_search_dir run #17: crashed: KASAN: use-after-free Read in ext4_search_dir run #18: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #19: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir representative crash: KASAN: use-after-free Read in ext4_search_dir, types: [KASAN] the bug reproduces without the instrumentation disabling configs for [UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed kconfig minimization: base=3703 full=7270 leaves diff=1987 split chunks (needed=false): <1987> split chunk #0 of len 1987 into 5 parts testing without sub-chunk 1/5 disabling configs for [UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit 471e639e59d128f4bf58000a118b2ceca3893f98 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9680c73d7f14635c7003acbe254b9304bf6b8dd192cd7bc4933f8a4bd5a9c6be run #0: crashed: KASAN: use-after-free Read in ext4_search_dir run #1: crashed: KASAN: use-after-free Read in ext4_search_dir run #2: crashed: KASAN: use-after-free Read in ext4_search_dir run #3: crashed: KASAN: use-after-free Read in ext4_search_dir run #4: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #5: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #6: crashed: KASAN: use-after-free Read in ext4_search_dir run #7: crashed: KASAN: use-after-free Read in ext4_search_dir run #8: crashed: KASAN: use-after-free Read in ext4_search_dir run #9: crashed: KASAN: use-after-free Read in ext4_search_dir run #10: crashed: KASAN: use-after-free Read in ext4_search_dir run #11: crashed: KASAN: use-after-free Read in ext4_search_dir run #12: crashed: KASAN: use-after-free Read in ext4_search_dir run #13: crashed: KASAN: use-after-free Read in ext4_search_dir run #14: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #15: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #16: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #17: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #18: crashed: KASAN: use-after-free Read in ext4_search_dir run #19: crashed: KASAN: use-after-free Read in ext4_search_dir representative crash: KASAN: use-after-free Read in ext4_search_dir, types: [KASAN] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit 471e639e59d128f4bf58000a118b2ceca3893f98 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ae437a5913d26edc3700c5448b8a2f30094bf2479ebfacf34f133bb8b0b2225f run #0: crashed: KASAN: use-after-free Read in ext4_search_dir run #1: crashed: KASAN: use-after-free Read in ext4_search_dir run #2: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #3: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #4: crashed: KASAN: use-after-free Read in ext4_search_dir run #5: crashed: KASAN: use-after-free Read in ext4_search_dir run #6: crashed: KASAN: use-after-free Read in ext4_search_dir run #7: crashed: KASAN: use-after-free Read in ext4_search_dir run #8: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #9: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #10: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #11: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #12: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #13: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #14: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #15: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #16: crashed: KASAN: out-of-bounds Read in ext4_search_dir run #17: crashed: KASAN: out-of-bounds Read in ext4_search_dir run #18: crashed: KASAN: use-after-free Read in ext4_search_dir run #19: crashed: KASAN: use-after-free Read in ext4_search_dir representative crash: KASAN: use-after-free Read in ext4_search_dir, types: [KASAN] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG LOCKDEP], they are not needed testing commit 471e639e59d128f4bf58000a118b2ceca3893f98 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 91b00aa9e3e2a1913d47a7af3dff1bfb591ac8ef5638ae694335f49b761e89bb run #0: crashed: KASAN: use-after-free Read in ext4_search_dir run #1: crashed: KASAN: use-after-free Read in ext4_search_dir run #2: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #3: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #4: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #5: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #6: crashed: KASAN: use-after-free Read in ext4_search_dir run #7: crashed: KASAN: use-after-free Read in ext4_search_dir run #8: crashed: KASAN: use-after-free Read in ext4_search_dir run #9: crashed: KASAN: use-after-free Read in ext4_search_dir run #10: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #11: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #12: crashed: KASAN: use-after-free Read in ext4_search_dir run #13: crashed: KASAN: use-after-free Read in ext4_search_dir run #14: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #15: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #16: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #17: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #18: crashed: KASAN: use-after-free Read in ext4_search_dir run #19: crashed: KASAN: use-after-free Read in ext4_search_dir representative crash: KASAN: use-after-free Read in ext4_search_dir, types: [KASAN] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit 471e639e59d128f4bf58000a118b2ceca3893f98 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0d82f259b90999ee3fb934806728aed6bbe56c5d6abd192a83406a41eb0d1599 run #0: crashed: KASAN: use-after-free Read in ext4_search_dir run #1: crashed: KASAN: use-after-free Read in ext4_search_dir run #2: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #3: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #4: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #5: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #6: crashed: KASAN: use-after-free Read in ext4_search_dir run #7: crashed: KASAN: use-after-free Read in ext4_search_dir run #8: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #9: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #10: crashed: KASAN: use-after-free Read in ext4_search_dir run #11: crashed: KASAN: use-after-free Read in ext4_search_dir run #12: crashed: KASAN: use-after-free Read in ext4_search_dir run #13: crashed: KASAN: use-after-free Read in ext4_search_dir run #14: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #15: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #16: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #17: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #18: crashed: KASAN: use-after-free Read in ext4_search_dir run #19: crashed: KASAN: use-after-free Read in ext4_search_dir representative crash: KASAN: use-after-free Read in ext4_search_dir, types: [KASAN] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit 471e639e59d128f4bf58000a118b2ceca3893f98 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: cebdfe50f1c2ee0d64e8d3f600913d5c9b6acc96b47bdba13797254bee29e802 run #0: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #1: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #2: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #3: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #4: crashed: KASAN: use-after-free Read in ext4_search_dir run #5: crashed: KASAN: use-after-free Read in ext4_search_dir run #6: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #7: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #8: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #9: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #10: crashed: KASAN: use-after-free Read in ext4_search_dir run #11: crashed: KASAN: use-after-free Read in ext4_search_dir run #12: crashed: KASAN: use-after-free Read in ext4_search_dir run #13: crashed: KASAN: use-after-free Read in ext4_search_dir run #14: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #15: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #16: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #17: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #18: crashed: KASAN: use-after-free Read in ext4_search_dir run #19: crashed: KASAN: use-after-free Read in ext4_search_dir representative crash: KASAN: slab-out-of-bounds Read in ext4_search_dir, types: [KASAN] the chunk can be dropped disabling configs for [HANG LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP], they are not needed testing current HEAD 09996673e3139a6d86fc3d95c852b3a020e2fe5f testing commit 09996673e3139a6d86fc3d95c852b3a020e2fe5f gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 07a2d26f9cd56f873063e33897df8771b3c1ceb50692003807d6c6bd860392b8 run #0: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #1: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #2: crashed: KASAN: use-after-free Read in ext4_search_dir run #3: crashed: KASAN: use-after-free Read in ext4_search_dir run #4: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #5: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #6: crashed: KASAN: use-after-free Read in ext4_search_dir run #7: crashed: KASAN: use-after-free Read in ext4_search_dir run #8: crashed: KASAN: use-after-free Read in ext4_search_dir run #9: crashed: KASAN: use-after-free Read in ext4_search_dir run #10: crashed: KASAN: use-after-free Read in ext4_search_dir run #11: crashed: KASAN: use-after-free Read in ext4_search_dir run #12: crashed: KASAN: use-after-free Read in ext4_search_dir run #13: crashed: KASAN: use-after-free Read in ext4_search_dir run #14: crashed: KASAN: use-after-free Read in ext4_search_dir run #15: crashed: KASAN: use-after-free Read in ext4_search_dir run #16: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #17: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #18: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir run #19: crashed: KASAN: slab-out-of-bounds Read in ext4_search_dir representative crash: KASAN: slab-out-of-bounds Read in ext4_search_dir, types: [KASAN] crash still not fixed/happens on the oldest tested release revisions tested: 8, total time: 1h22m10.447601538s (build: 54m51.454421539s, test: 24m39.942529724s) crash still not fixed on HEAD or HEAD had kernel test errors commit msg: Linux 5.15.123 crash: KASAN: slab-out-of-bounds Read in ext4_search_dir EXT4-fs (loop0): 1 truncate cleaned up EXT4-fs (loop0): mounted filesystem without journal. Opts: jqfmt=vfsold,resgid=0x000000000000ee00,bh,noload,data_err=ignore,usrjquota=,,errors=continue. Quota mode: none. ================================================================== BUG: KASAN: slab-out-of-bounds in ext4_search_dir+0x1df/0x260 fs/ext4/namei.c:1539 Read of size 1 at addr ffff8881119a43ed by task syz-executor.0/1506 CPU: 0 PID: 1506 Comm: syz-executor.0 Not tainted 5.15.123-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x41/0x5e lib/dump_stack.c:106 print_address_description.constprop.0.cold+0x6c/0x309 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:434 [inline] kasan_report.cold+0x83/0xdf mm/kasan/report.c:451 ext4_search_dir+0x1df/0x260 fs/ext4/namei.c:1539 ext4_find_inline_entry+0x355/0x440 fs/ext4/inline.c:1700 __ext4_find_entry+0x84a/0xce0 fs/ext4/namei.c:1612 ext4_lookup_entry fs/ext4/namei.c:1767 [inline] ext4_lookup fs/ext4/namei.c:1835 [inline] ext4_lookup+0x156/0x570 fs/ext4/namei.c:1826 lookup_open.isra.0+0x808/0x1680 fs/namei.c:3370 open_last_lookups fs/namei.c:3462 [inline] path_openat+0x800/0x24d0 fs/namei.c:3669 do_filp_open+0x199/0x3d0 fs/namei.c:3699 do_sys_openat2+0x11e/0x400 fs/open.c:1211 do_sys_open fs/open.c:1227 [inline] __do_sys_open fs/open.c:1235 [inline] __se_sys_open fs/open.c:1231 [inline] __x64_sys_open+0xfd/0x1a0 fs/open.c:1231 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0x80 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f787297fb29 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f78725020c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f7872a9ef80 RCX: 00007f787297fb29 RDX: 0000000000000000 RSI: 0000000000141042 RDI: 0000000020000100 RBP: 00007f78729cb47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000006 R14: 00007f7872a9ef80 R15: 00007ffe39248208 Allocated by task 1494: kasan_save_stack+0x1b/0x40 mm/kasan/common.c:38 kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:434 [inline] ____kasan_kmalloc mm/kasan/common.c:513 [inline] __kasan_kmalloc+0x7c/0x90 mm/kasan/common.c:522 kmalloc include/linux/slab.h:596 [inline] load_elf_binary+0x3bc/0x3eb0 fs/binfmt_elf.c:885 search_binary_handler fs/exec.c:1734 [inline] exec_binprm fs/exec.c:1775 [inline] bprm_execve fs/exec.c:1844 [inline] bprm_execve+0x62a/0x1330 fs/exec.c:1806 kernel_execve+0x2dc/0x400 fs/exec.c:2005 call_usermodehelper_exec_async+0x2c1/0x500 kernel/umh.c:112 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 Freed by task 1494: kasan_save_stack+0x1b/0x40 mm/kasan/common.c:38 kasan_set_track+0x1c/0x30 mm/kasan/common.c:46 kasan_set_free_info+0x20/0x30 mm/kasan/generic.c:360 ____kasan_slab_free mm/kasan/common.c:366 [inline] ____kasan_slab_free mm/kasan/common.c:328 [inline] __kasan_slab_free+0xe0/0x110 mm/kasan/common.c:374 kasan_slab_free include/linux/kasan.h:230 [inline] slab_free_hook mm/slub.c:1705 [inline] slab_free_freelist_hook mm/slub.c:1731 [inline] slab_free mm/slub.c:3499 [inline] kfree+0xd0/0x4c0 mm/slub.c:4559 load_elf_binary+0x546/0x3eb0 fs/binfmt_elf.c:899 search_binary_handler fs/exec.c:1734 [inline] exec_binprm fs/exec.c:1775 [inline] bprm_execve fs/exec.c:1844 [inline] bprm_execve+0x62a/0x1330 fs/exec.c:1806 kernel_execve+0x2dc/0x400 fs/exec.c:2005 call_usermodehelper_exec_async+0x2c1/0x500 kernel/umh.c:112 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 The buggy address belongs to the object at ffff8881119a43c0 which belongs to the cache kmalloc-32 of size 32 The buggy address is located 13 bytes to the right of 32-byte region [ffff8881119a43c0, ffff8881119a43e0) The buggy address belongs to the page: page:ffffea0004466900 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1119a4 flags: 0x200000000000200(slab|node=0|zone=2) raw: 0200000000000200 ffffea0004167280 0000000400000004 ffff888100041500 raw: 0000000000000000 0000000000400040 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x12cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY), pid 378, ts 4089191009, free_ts 0 prep_new_page mm/page_alloc.c:2426 [inline] get_page_from_freelist+0x166f/0x2910 mm/page_alloc.c:4159 __alloc_pages+0x2b3/0x590 mm/page_alloc.c:5421 alloc_slab_page mm/slub.c:1775 [inline] allocate_slab+0x2eb/0x430 mm/slub.c:1912 new_slab mm/slub.c:1975 [inline] ___slab_alloc+0xb1c/0xf80 mm/slub.c:3008 __slab_alloc mm/slub.c:3095 [inline] slab_alloc_node mm/slub.c:3186 [inline] slab_alloc mm/slub.c:3228 [inline] __kmalloc+0x2da/0x2f0 mm/slub.c:4403 kmalloc include/linux/slab.h:596 [inline] kzalloc include/linux/slab.h:721 [inline] kobject_get_path+0x9a/0x1d0 lib/kobject.c:184 kobject_uevent_env+0x1e7/0x10d0 lib/kobject_uevent.c:529 kobject_synth_uevent+0x468/0x680 lib/kobject_uevent.c:208 uevent_store+0x17/0x30 drivers/base/core.c:2410 kernfs_fop_write_iter+0x313/0x510 fs/kernfs/file.c:296 call_write_iter include/linux/fs.h:2103 [inline] new_sync_write+0x35d/0x5f0 fs/read_write.c:507 vfs_write+0x53e/0x7b0 fs/read_write.c:594 ksys_write+0xf4/0x1d0 fs/read_write.c:647 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0x80 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb page_owner free stack trace missing Memory state around the buggy address: ffff8881119a4280: fa fb fb fb fc fc fc fc fa fb fb fb fc fc fc fc ffff8881119a4300: fa fb fb fb fc fc fc fc fa fb fb fb fc fc fc fc >ffff8881119a4380: fa fb fb fb fc fc fc fc fa fb fb fb fc fc fc fc ^ ffff8881119a4400: fa fb fb fb fc fc fc fc fa fb fb fb fc fc fc fc ffff8881119a4480: fa fb fb fb fc fc fc fc fa fb fb fb fc fc fc fc ==================================================================