Extracting prog: 2m48.252016295s Minimizing prog: 13m41.10292868s Simplifying prog options: 3m22.357700647s Extracting C: 39.750945795s Simplifying C: 0s 30 programs, timeouts [30s 1m40s 6m0s] extracting reproducer from 30 programs first checking the prog from the crash report single: executing 1 programs separately with timeout 30s testing program (duration=30s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): add_key$keyring-pipe2$watch_queue-setresuid-keyctl$KEYCTL_WATCH_KEY detailed listing: executing program 0: r0 = add_key$keyring(&(0x7f0000000000), &(0x7f0000000040)={'syz', 0x2}, 0x0, 0x0, 0xfffffffffffffffe) pipe2$watch_queue(&(0x7f00000000c0)={0xffffffffffffffff, 0xffffffffffffffff}, 0x80) setresuid(0xee01, 0xee00, 0x0) keyctl$KEYCTL_WATCH_KEY(0x20, r0, r1, 0x0) program crashed: KASAN: slab-use-after-free Read in smk_access single: successfully extracted reproducer found reproducer with 4 syscalls minimizing guilty program testing program (duration=1m19.659712417s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): add_key$keyring-pipe2$watch_queue-setresuid detailed listing: executing program 0: add_key$keyring(&(0x7f0000000000), &(0x7f0000000040)={'syz', 0x2}, 0x0, 0x0, 0xfffffffffffffffe) pipe2$watch_queue(&(0x7f00000000c0), 0x80) setresuid(0xee01, 0xee00, 0x0) program did not crash testing program (duration=1m19.659712417s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): add_key$keyring-pipe2$watch_queue-keyctl$KEYCTL_WATCH_KEY detailed listing: executing program 0: r0 = add_key$keyring(&(0x7f0000000000), &(0x7f0000000040)={'syz', 0x2}, 0x0, 0x0, 0xfffffffffffffffe) pipe2$watch_queue(&(0x7f00000000c0)={0xffffffffffffffff, 0xffffffffffffffff}, 0x80) keyctl$KEYCTL_WATCH_KEY(0x20, r0, r1, 0x0) program did not crash testing program (duration=1m19.659712417s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): add_key$keyring-setresuid-keyctl$KEYCTL_WATCH_KEY detailed listing: executing program 0: r0 = add_key$keyring(&(0x7f0000000000), &(0x7f0000000040)={'syz', 0x2}, 0x0, 0x0, 0xfffffffffffffffe) setresuid(0xee01, 0xee00, 0x0) keyctl$KEYCTL_WATCH_KEY(0x20, r0, 0xffffffffffffffff, 0x0) program did not crash testing program (duration=1m19.659712417s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): pipe2$watch_queue-setresuid-keyctl$KEYCTL_WATCH_KEY detailed listing: executing program 0: pipe2$watch_queue(&(0x7f00000000c0)={0xffffffffffffffff, 0xffffffffffffffff}, 0x80) setresuid(0xee01, 0xee00, 0x0) keyctl$KEYCTL_WATCH_KEY(0x20, 0x0, r0, 0x0) program did not crash testing program (duration=1m19.659712417s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): add_key$keyring-pipe2$watch_queue-setresuid-keyctl$KEYCTL_WATCH_KEY detailed listing: executing program 0: r0 = add_key$keyring(0x0, &(0x7f0000000040)={'syz', 0x2}, 0x0, 0x0, 0xfffffffffffffffe) pipe2$watch_queue(&(0x7f00000000c0)={0xffffffffffffffff, 0xffffffffffffffff}, 0x80) setresuid(0xee01, 0xee00, 0x0) keyctl$KEYCTL_WATCH_KEY(0x20, r0, r1, 0x0) program did not crash testing program (duration=1m19.659712417s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): add_key$keyring-pipe2$watch_queue-setresuid-keyctl$KEYCTL_WATCH_KEY detailed listing: executing program 0: r0 = add_key$keyring(&(0x7f0000000000), 0x0, 0x0, 0x0, 0xfffffffffffffffe) pipe2$watch_queue(&(0x7f00000000c0)={0xffffffffffffffff, 0xffffffffffffffff}, 0x80) setresuid(0xee01, 0xee00, 0x0) keyctl$KEYCTL_WATCH_KEY(0x20, r0, r1, 0x0) program did not crash testing program (duration=1m19.659712417s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): add_key$keyring-pipe2$watch_queue-setresuid-keyctl$KEYCTL_WATCH_KEY detailed listing: executing program 0: r0 = add_key$keyring(&(0x7f0000000000), &(0x7f0000000040)={'syz', 0x2}, 0x0, 0x0, 0xfffffffffffffffe) pipe2$watch_queue(0x0, 0x80) setresuid(0xee01, 0xee00, 0x0) keyctl$KEYCTL_WATCH_KEY(0x20, r0, 0xffffffffffffffff, 0x0) program did not crash extracting C reproducer testing compiled C program (duration=1m19.659712417s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): add_key$keyring-pipe2$watch_queue-setresuid-keyctl$KEYCTL_WATCH_KEY program crashed: KASAN: slab-out-of-bounds Read in smk_access a never seen crash title: KASAN: slab-out-of-bounds Read in smk_access, ignore simplifying guilty program options testing program (duration=1m19.659712417s, {Threaded:false Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): add_key$keyring-pipe2$watch_queue-setresuid-keyctl$KEYCTL_WATCH_KEY detailed listing: executing program 0: r0 = add_key$keyring(&(0x7f0000000000), &(0x7f0000000040)={'syz', 0x2}, 0x0, 0x0, 0xfffffffffffffffe) pipe2$watch_queue(&(0x7f00000000c0)={0xffffffffffffffff, 0xffffffffffffffff}, 0x80) setresuid(0xee01, 0xee00, 0x0) keyctl$KEYCTL_WATCH_KEY(0x20, r0, r1, 0x0) program crashed: KASAN: slab-out-of-bounds Read in smk_access a never seen crash title: KASAN: slab-out-of-bounds Read in smk_access, ignore testing program (duration=1m19.659712417s, {Threaded:true Repeat:true RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): add_key$keyring-pipe2$watch_queue-setresuid-keyctl$KEYCTL_WATCH_KEY detailed listing: executing program 0: r0 = add_key$keyring(&(0x7f0000000000), &(0x7f0000000040)={'syz', 0x2}, 0x0, 0x0, 0xfffffffffffffffe) pipe2$watch_queue(&(0x7f00000000c0)={0xffffffffffffffff, 0xffffffffffffffff}, 0x80) setresuid(0xee01, 0xee00, 0x0) keyctl$KEYCTL_WATCH_KEY(0x20, r0, r1, 0x0) program crashed: KASAN: slab-use-after-free Read in smk_access extracting C reproducer testing compiled C program (duration=1m19.659712417s, {Threaded:true Repeat:true RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): add_key$keyring-pipe2$watch_queue-setresuid-keyctl$KEYCTL_WATCH_KEY program crashed: KASAN: slab-out-of-bounds Read in smk_access a never seen crash title: KASAN: slab-out-of-bounds Read in smk_access, ignore reproducing took 22m2.680083067s repro crashed as (corrupted=false): ================================================================== BUG: KASAN: slab-use-after-free in smk_access+0xae/0x4e0 security/smack/smack_access.c:147 Read of size 8 at addr ffff88801fadf4a0 by task syz.0.15/5408 CPU: 0 UID: 60928 PID: 5408 Comm: syz.0.15 Not tainted 6.11.0-syzkaller-02574-ga430d95c5efa #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Call Trace: __dump_stack lib/dump_stack.c:93 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:119 print_address_description mm/kasan/report.c:377 [inline] print_report+0x169/0x550 mm/kasan/report.c:488 kasan_report+0x143/0x180 mm/kasan/report.c:601 smk_access+0xae/0x4e0 security/smack/smack_access.c:147 smack_watch_key+0x2f4/0x3a0 security/smack/smack_lsm.c:4656 security_watch_key+0x86/0x250 security/security.c:4448 keyctl_watch_key+0x2b7/0x480 security/keys/keyctl.c:1813 __do_sys_keyctl security/keys/keyctl.c:2021 [inline] __se_sys_keyctl+0x106/0xa50 security/keys/keyctl.c:1874 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc12ad7def9 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fc12a7ff038 EFLAGS: 00000246 ORIG_RAX: 00000000000000fa RAX: ffffffffffffffda RBX: 00007fc12af35f80 RCX: 00007fc12ad7def9 RDX: 0000000000000004 RSI: 0000000022357719 RDI: 0000000000000020 RBP: 00007fc12adf0b76 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fc12af35f80 R15: 00007fff85e55c38 Allocated by task 5188: kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3f/0x80 mm/kasan/common.c:68 poison_kmalloc_redzone mm/kasan/common.c:370 [inline] __kasan_kmalloc+0x98/0xb0 mm/kasan/common.c:387 kasan_kmalloc include/linux/kasan.h:211 [inline] __do_kmalloc_node mm/slub.c:4159 [inline] __kmalloc_node_track_caller_noprof+0x225/0x440 mm/slub.c:4178 kstrdup+0x3a/0x80 mm/util.c:64 bprm_change_interp+0x82/0xc0 fs/exec.c:1630 load_script+0x6a4/0x820 fs/binfmt_script.c:125 search_binary_handler fs/exec.c:1820 [inline] exec_binprm fs/exec.c:1862 [inline] bprm_execve+0xaf8/0x1770 fs/exec.c:1913 do_execveat_common+0x55f/0x6f0 fs/exec.c:2020 do_execve fs/exec.c:2094 [inline] __do_sys_execve fs/exec.c:2170 [inline] __se_sys_execve fs/exec.c:2165 [inline] __x64_sys_execve+0x92/0xb0 fs/exec.c:2165 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f Freed by task 5188: kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3f/0x80 mm/kasan/common.c:68 kasan_save_free_info+0x40/0x50 mm/kasan/generic.c:579 poison_slab_object+0xe0/0x150 mm/kasan/common.c:240 __kasan_slab_free+0x37/0x60 mm/kasan/common.c:256 kasan_slab_free include/linux/kasan.h:184 [inline] slab_free_hook mm/slub.c:2250 [inline] slab_free mm/slub.c:4474 [inline] kfree+0x149/0x360 mm/slub.c:4595 free_bprm+0x26e/0x2e0 fs/exec.c:1566 do_execveat_common+0x388/0x6f0 fs/exec.c:2022 do_execve fs/exec.c:2094 [inline] __do_sys_execve fs/exec.c:2170 [inline] __se_sys_execve fs/exec.c:2165 [inline] __x64_sys_execve+0x92/0xb0 fs/exec.c:2165 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f The buggy address belongs to the object at ffff88801fadf4a0 which belongs to the cache kmalloc-8 of size 8 The buggy address is located 0 bytes inside of freed 8-byte region [ffff88801fadf4a0, ffff88801fadf4a8) The buggy address belongs to the physical page: page: refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff88801fadff80 pfn:0x1fadf flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) page_type: 0xfdffffff(slab) raw: 00fff00000000000 ffff88801a841500 ffffea000084f400 dead000000000002 raw: ffff88801fadff80 000000008080007f 00000001fdffffff 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 0x52cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP), pid 1, tgid 1 (swapper/0), ts 2967980535, free_ts 2965906111 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1500 prep_new_page mm/page_alloc.c:1508 [inline] get_page_from_freelist+0x2e4c/0x2f10 mm/page_alloc.c:3446 __alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4702 __alloc_pages_node_noprof include/linux/gfp.h:269 [inline] alloc_pages_node_noprof include/linux/gfp.h:296 [inline] alloc_slab_page+0x5f/0x120 mm/slub.c:2319 allocate_slab+0x5a/0x2f0 mm/slub.c:2482 new_slab mm/slub.c:2535 [inline] ___slab_alloc+0xcd1/0x14b0 mm/slub.c:3721 __slab_alloc+0x58/0xa0 mm/slub.c:3811 __slab_alloc_node mm/slub.c:3864 [inline] slab_alloc_node mm/slub.c:4026 [inline] __do_kmalloc_node mm/slub.c:4158 [inline] __kmalloc_noprof+0x25a/0x400 mm/slub.c:4171 kmalloc_noprof include/linux/slab.h:694 [inline] kzalloc_noprof include/linux/slab.h:816 [inline] acpi_ut_copy_esimple_to_isimple drivers/acpi/acpica/utcopy.c:481 [inline] acpi_ut_copy_eobject_to_iobject+0x5e5/0x9d0 drivers/acpi/acpica/utcopy.c:618 acpi_evaluate_object+0x4ba/0xaf0 drivers/acpi/acpica/nsxfeval.c:259 acpi_run_osc+0x423/0x9c0 drivers/acpi/bus.c:228 acpi_processor_osc+0x3c7/0x520 drivers/acpi/acpi_processor.c:590 acpi_ns_walk_namespace+0x294/0x4f0 acpi_walk_namespace+0xeb/0x130 drivers/acpi/acpica/nsxfeval.c:606 acpi_early_processor_osc+0x30/0x80 drivers/acpi/acpi_processor.c:605 acpi_early_processor_control_setup+0xe/0x70 drivers/acpi/acpi_processor.c:621 page last free pid 46 tgid 46 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1101 [inline] free_unref_page+0xd19/0xea0 mm/page_alloc.c:2619 discard_slab mm/slub.c:2581 [inline] __put_partials+0xeb/0x130 mm/slub.c:3049 put_partials mm/slub.c:3068 [inline] flush_cpu_slab+0x2bf/0x450 mm/slub.c:3203 process_one_work kernel/workqueue.c:3231 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312 worker_thread+0x870/0xd30 kernel/workqueue.c:3393 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Memory state around the buggy address: ffff88801fadf380: fa fc fc fc 00 fc fc fc 00 fc fc fc 00 fc fc fc ffff88801fadf400: fa fc fc fc 05 fc fc fc 00 fc fc fc 05 fc fc fc >ffff88801fadf480: 00 fc fc fc fa fc fc fc fa fc fc fc fa fc fc fc ^ ffff88801fadf500: fa fc fc fc fa fc fc fc fa fc fc fc fa fc fc fc ffff88801fadf580: fa fc fc fc fa fc fc fc fa fc fc fc fa fc fc fc ================================================================== final repro crashed as (corrupted=false): ================================================================== BUG: KASAN: slab-use-after-free in smk_access+0xae/0x4e0 security/smack/smack_access.c:147 Read of size 8 at addr ffff88801fadf4a0 by task syz.0.15/5408 CPU: 0 UID: 60928 PID: 5408 Comm: syz.0.15 Not tainted 6.11.0-syzkaller-02574-ga430d95c5efa #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Call Trace: __dump_stack lib/dump_stack.c:93 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:119 print_address_description mm/kasan/report.c:377 [inline] print_report+0x169/0x550 mm/kasan/report.c:488 kasan_report+0x143/0x180 mm/kasan/report.c:601 smk_access+0xae/0x4e0 security/smack/smack_access.c:147 smack_watch_key+0x2f4/0x3a0 security/smack/smack_lsm.c:4656 security_watch_key+0x86/0x250 security/security.c:4448 keyctl_watch_key+0x2b7/0x480 security/keys/keyctl.c:1813 __do_sys_keyctl security/keys/keyctl.c:2021 [inline] __se_sys_keyctl+0x106/0xa50 security/keys/keyctl.c:1874 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc12ad7def9 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fc12a7ff038 EFLAGS: 00000246 ORIG_RAX: 00000000000000fa RAX: ffffffffffffffda RBX: 00007fc12af35f80 RCX: 00007fc12ad7def9 RDX: 0000000000000004 RSI: 0000000022357719 RDI: 0000000000000020 RBP: 00007fc12adf0b76 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fc12af35f80 R15: 00007fff85e55c38 Allocated by task 5188: kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3f/0x80 mm/kasan/common.c:68 poison_kmalloc_redzone mm/kasan/common.c:370 [inline] __kasan_kmalloc+0x98/0xb0 mm/kasan/common.c:387 kasan_kmalloc include/linux/kasan.h:211 [inline] __do_kmalloc_node mm/slub.c:4159 [inline] __kmalloc_node_track_caller_noprof+0x225/0x440 mm/slub.c:4178 kstrdup+0x3a/0x80 mm/util.c:64 bprm_change_interp+0x82/0xc0 fs/exec.c:1630 load_script+0x6a4/0x820 fs/binfmt_script.c:125 search_binary_handler fs/exec.c:1820 [inline] exec_binprm fs/exec.c:1862 [inline] bprm_execve+0xaf8/0x1770 fs/exec.c:1913 do_execveat_common+0x55f/0x6f0 fs/exec.c:2020 do_execve fs/exec.c:2094 [inline] __do_sys_execve fs/exec.c:2170 [inline] __se_sys_execve fs/exec.c:2165 [inline] __x64_sys_execve+0x92/0xb0 fs/exec.c:2165 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f Freed by task 5188: kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3f/0x80 mm/kasan/common.c:68 kasan_save_free_info+0x40/0x50 mm/kasan/generic.c:579 poison_slab_object+0xe0/0x150 mm/kasan/common.c:240 __kasan_slab_free+0x37/0x60 mm/kasan/common.c:256 kasan_slab_free include/linux/kasan.h:184 [inline] slab_free_hook mm/slub.c:2250 [inline] slab_free mm/slub.c:4474 [inline] kfree+0x149/0x360 mm/slub.c:4595 free_bprm+0x26e/0x2e0 fs/exec.c:1566 do_execveat_common+0x388/0x6f0 fs/exec.c:2022 do_execve fs/exec.c:2094 [inline] __do_sys_execve fs/exec.c:2170 [inline] __se_sys_execve fs/exec.c:2165 [inline] __x64_sys_execve+0x92/0xb0 fs/exec.c:2165 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f The buggy address belongs to the object at ffff88801fadf4a0 which belongs to the cache kmalloc-8 of size 8 The buggy address is located 0 bytes inside of freed 8-byte region [ffff88801fadf4a0, ffff88801fadf4a8) The buggy address belongs to the physical page: page: refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff88801fadff80 pfn:0x1fadf flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) page_type: 0xfdffffff(slab) raw: 00fff00000000000 ffff88801a841500 ffffea000084f400 dead000000000002 raw: ffff88801fadff80 000000008080007f 00000001fdffffff 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 0x52cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP), pid 1, tgid 1 (swapper/0), ts 2967980535, free_ts 2965906111 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1500 prep_new_page mm/page_alloc.c:1508 [inline] get_page_from_freelist+0x2e4c/0x2f10 mm/page_alloc.c:3446 __alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4702 __alloc_pages_node_noprof include/linux/gfp.h:269 [inline] alloc_pages_node_noprof include/linux/gfp.h:296 [inline] alloc_slab_page+0x5f/0x120 mm/slub.c:2319 allocate_slab+0x5a/0x2f0 mm/slub.c:2482 new_slab mm/slub.c:2535 [inline] ___slab_alloc+0xcd1/0x14b0 mm/slub.c:3721 __slab_alloc+0x58/0xa0 mm/slub.c:3811 __slab_alloc_node mm/slub.c:3864 [inline] slab_alloc_node mm/slub.c:4026 [inline] __do_kmalloc_node mm/slub.c:4158 [inline] __kmalloc_noprof+0x25a/0x400 mm/slub.c:4171 kmalloc_noprof include/linux/slab.h:694 [inline] kzalloc_noprof include/linux/slab.h:816 [inline] acpi_ut_copy_esimple_to_isimple drivers/acpi/acpica/utcopy.c:481 [inline] acpi_ut_copy_eobject_to_iobject+0x5e5/0x9d0 drivers/acpi/acpica/utcopy.c:618 acpi_evaluate_object+0x4ba/0xaf0 drivers/acpi/acpica/nsxfeval.c:259 acpi_run_osc+0x423/0x9c0 drivers/acpi/bus.c:228 acpi_processor_osc+0x3c7/0x520 drivers/acpi/acpi_processor.c:590 acpi_ns_walk_namespace+0x294/0x4f0 acpi_walk_namespace+0xeb/0x130 drivers/acpi/acpica/nsxfeval.c:606 acpi_early_processor_osc+0x30/0x80 drivers/acpi/acpi_processor.c:605 acpi_early_processor_control_setup+0xe/0x70 drivers/acpi/acpi_processor.c:621 page last free pid 46 tgid 46 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1101 [inline] free_unref_page+0xd19/0xea0 mm/page_alloc.c:2619 discard_slab mm/slub.c:2581 [inline] __put_partials+0xeb/0x130 mm/slub.c:3049 put_partials mm/slub.c:3068 [inline] flush_cpu_slab+0x2bf/0x450 mm/slub.c:3203 process_one_work kernel/workqueue.c:3231 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312 worker_thread+0x870/0xd30 kernel/workqueue.c:3393 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Memory state around the buggy address: ffff88801fadf380: fa fc fc fc 00 fc fc fc 00 fc fc fc 00 fc fc fc ffff88801fadf400: fa fc fc fc 05 fc fc fc 00 fc fc fc 05 fc fc fc >ffff88801fadf480: 00 fc fc fc fa fc fc fc fa fc fc fc fa fc fc fc ^ ffff88801fadf500: fa fc fc fc fa fc fc fc fa fc fc fc fa fc fc fc ffff88801fadf580: fa fc fc fc fa fc fc fc fa fc fc fc fa fc fc fc ==================================================================