================================================================== BUG: KASAN: stack-out-of-bounds in profile_pc+0x186/0x1a0 arch/x86/kernel/time.c:44 Read of size 8 at addr ffffc9000321fba0 by task strace-static-x/5086 CPU: 0 PID: 5086 Comm: strace-static-x Not tainted 6.9.0-rc6-syzkaller-00053-g0106679839f7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:114 print_address_description mm/kasan/report.c:377 [inline] print_report+0xc3/0x620 mm/kasan/report.c:488 kasan_report+0xd9/0x110 mm/kasan/report.c:601 profile_pc+0x186/0x1a0 arch/x86/kernel/time.c:44 profile_tick+0xd3/0x140 kernel/profile.c:339 tick_sched_handle kernel/time/tick-sched.c:277 [inline] tick_nohz_handler+0x380/0x530 kernel/time/tick-sched.c:297 __run_hrtimer kernel/time/hrtimer.c:1692 [inline] __hrtimer_run_queues+0x65a/0xcc0 kernel/time/hrtimer.c:1756 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1818 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x112/0x450 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:queued_read_lock_slowpath+0x135/0x2b1 kernel/locking/qrwlock.c:51 Code: 00 8b 03 84 c0 74 36 48 b8 00 00 00 00 00 fc ff df 49 89 de 48 89 dd 49 c1 ee 03 83 e5 07 49 01 c6 83 c5 03 f3 90 41 0f b6 06 <40> 38 c5 7c 08 84 c0 0f 85 1f 01 00 00 8b 03 84 c0 75 e7 48 c7 c0 RSP: 0018:ffffc9000321fb98 EFLAGS: 00000286 RAX: 0000000000000000 RBX: ffffffff8d60a080 RCX: ffffffff8ae033db RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffffff8d60a080 RBP: 0000000000000003 R08: 0000000000000001 R09: fffffbfff1ac1410 R10: ffffffff8d60a083 R11: 0000000000000000 R12: 1ffff92000643f74 R13: ffffffff8d60a084 R14: fffffbfff1ac1410 R15: ffffffff81530fe9 __do_wait+0x105/0x890 kernel/exit.c:1587 do_wait+0x219/0x570 kernel/exit.c:1631 kernel_wait4+0x16c/0x280 kernel/exit.c:1790 __do_sys_wait4+0x15f/0x170 kernel/exit.c:1818 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x4d6ad6 Code: 00 00 00 90 31 c9 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 49 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 11 b8 3d 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 5a c3 90 48 83 ec 28 89 54 24 14 48 89 74 24 RSP: 002b:00007ffff5e05038 EFLAGS: 00000246 ORIG_RAX: 000000000000003d RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00000000004d6ad6 RDX: 0000000040000000 RSI: 00007ffff5e0505c RDI: 00000000ffffffff RBP: 0000000000000000 R08: 0000000000000017 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000006a985b0 R13: 00007ffff5e0505c R14: 0000000006a93610 R15: 000000000063f160 The buggy address belongs to stack of task strace-static-x/5086 and is located at offset 0 in frame: queued_read_lock_slowpath+0x0/0x2b1 This frame has 1 object: [32, 36) 'val' The buggy address belongs to the virtual mapping at [ffffc90003218000, ffffc90003221000) created by: kernel_clone+0xfd/0x980 kernel/fork.c:2797 The buggy address belongs to the physical page: page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x118e9 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) page_type: 0xffffffff() raw: 00fff00000000000 0000000000000000 dead000000000122 0000000000000000 raw: 0000000000000000 0000000000000000 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 0x2dc2(GFP_KERNEL|__GFP_HIGHMEM|__GFP_NOWARN|__GFP_ZERO), pid 4908, tgid 805089822 (dhcpcd-run-hook), ts 4908, free_ts 62233464751 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x2d4/0x350 mm/page_alloc.c:1534 prep_new_page mm/page_alloc.c:1541 [inline] get_page_from_freelist+0xa28/0x3780 mm/page_alloc.c:3317 __alloc_pages+0x22b/0x2460 mm/page_alloc.c:4575 alloc_pages_mpol+0x275/0x610 mm/mempolicy.c:2264 vm_area_alloc_pages mm/vmalloc.c:3561 [inline] __vmalloc_area_node mm/vmalloc.c:3637 [inline] __vmalloc_node_range+0xa26/0x14b0 mm/vmalloc.c:3818 alloc_thread_stack_node kernel/fork.c:309 [inline] dup_task_struct kernel/fork.c:1115 [inline] copy_process+0xe56/0x9090 kernel/fork.c:2220 kernel_clone+0xfd/0x980 kernel/fork.c:2797 __do_sys_clone+0xba/0x100 kernel/fork.c:2940 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 4539 tgid 4539 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1141 [inline] free_unref_page_prepare+0x527/0xb10 mm/page_alloc.c:2347 free_unref_page+0x33/0x3c0 mm/page_alloc.c:2487 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x4e/0x140 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x192/0x1e0 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:322 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook mm/slub.c:3798 [inline] slab_alloc_node mm/slub.c:3845 [inline] __do_kmalloc_node mm/slub.c:3965 [inline] __kmalloc_node+0x1e9/0x480 mm/slub.c:3973 kmalloc_node include/linux/slab.h:648 [inline] kvmalloc_node+0x9d/0x1a0 mm/util.c:634 kvmalloc include/linux/slab.h:766 [inline] seq_buf_alloc fs/seq_file.c:38 [inline] seq_read_iter+0x830/0x12c0 fs/seq_file.c:210 kernfs_fop_read_iter+0x41a/0x590 fs/kernfs/file.c:279 call_read_iter include/linux/fs.h:2104 [inline] new_sync_read fs/read_write.c:395 [inline] vfs_read+0x6c3/0xb80 fs/read_write.c:476 ksys_read+0x12f/0x260 fs/read_write.c:619 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f Memory state around the buggy address: ffffc9000321fa80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffc9000321fb00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffffc9000321fb80: 00 00 00 00 f1 f1 f1 f1 04 f3 f3 f3 00 00 00 00 ^ ffffc9000321fc00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffc9000321fc80: 00 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 00 00 ================================================================== ================================================================== BUG: KASAN: stack-out-of-bounds in profile_pc+0x186/0x1a0 arch/x86/kernel/time.c:44 Read of size 8 at addr ffffc9000321fba0 by task strace-static-x/5086 CPU: 0 PID: 5086 Comm: strace-static-x Tainted: G B 6.9.0-rc6-syzkaller-00053-g0106679839f7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:114 print_address_description mm/kasan/report.c:377 [inline] print_report+0xc3/0x620 mm/kasan/report.c:488 kasan_report+0xd9/0x110 mm/kasan/report.c:601 profile_pc+0x186/0x1a0 arch/x86/kernel/time.c:44 profile_tick+0xd3/0x140 kernel/profile.c:339 tick_sched_handle kernel/time/tick-sched.c:277 [inline] tick_nohz_handler+0x380/0x530 kernel/time/tick-sched.c:297 __run_hrtimer kernel/time/hrtimer.c:1692 [inline] __hrtimer_run_queues+0x65a/0xcc0 kernel/time/hrtimer.c:1756 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1818 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x112/0x450 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:queued_read_lock_slowpath+0x135/0x2b1 kernel/locking/qrwlock.c:51 Code: 00 8b 03 84 c0 74 36 48 b8 00 00 00 00 00 fc ff df 49 89 de 48 89 dd 49 c1 ee 03 83 e5 07 49 01 c6 83 c5 03 f3 90 41 0f b6 06 <40> 38 c5 7c 08 84 c0 0f 85 1f 01 00 00 8b 03 84 c0 75 e7 48 c7 c0 RSP: 0018:ffffc9000321fb98 EFLAGS: 00000286 RAX: 0000000000000000 RBX: ffffffff8d60a080 RCX: ffffffff8ae033db RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffffff8d60a080 RBP: 0000000000000003 R08: 0000000000000001 R09: fffffbfff1ac1410 R10: ffffffff8d60a083 R11: 0000000000000000 R12: 1ffff92000643f74 R13: ffffffff8d60a084 R14: fffffbfff1ac1410 R15: ffffffff81530fe9 __do_wait+0x105/0x890 kernel/exit.c:1587 do_wait+0x219/0x570 kernel/exit.c:1631 kernel_wait4+0x16c/0x280 kernel/exit.c:1790 __do_sys_wait4+0x15f/0x170 kernel/exit.c:1818 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x4d6ad6 Code: 00 00 00 90 31 c9 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 49 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 11 b8 3d 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 5a c3 90 48 83 ec 28 89 54 24 14 48 89 74 24 RSP: 002b:00007ffff5e05038 EFLAGS: 00000246 ORIG_RAX: 000000000000003d RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00000000004d6ad6 RDX: 0000000040000000 RSI: 00007ffff5e0505c RDI: 00000000ffffffff RBP: 0000000000000000 R08: 0000000000000017 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000006a985b0 R13: 00007ffff5e0505c R14: 0000000006a93610 R15: 000000000063f160 The buggy address belongs to stack of task strace-static-x/5086 and is located at offset 0 in frame: queued_read_lock_slowpath+0x0/0x2b1 This frame has 1 object: [32, 36) 'val' The buggy address belongs to the virtual mapping at [ffffc90003218000, ffffc90003221000) created by: kernel_clone+0xfd/0x980 kernel/fork.c:2797 The buggy address belongs to the physical page: page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x118e9 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) page_type: 0xffffffff() raw: 00fff00000000000 0000000000000000 dead000000000122 0000000000000000 raw: 0000000000000000 0000000000000000 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 0x2dc2(GFP_KERNEL|__GFP_HIGHMEM|__GFP_NOWARN|__GFP_ZERO), pid 4908, tgid 805089822 (dhcpcd-run-hook), ts 4908, free_ts 62233464751 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x2d4/0x350 mm/page_alloc.c:1534 prep_new_page mm/page_alloc.c:1541 [inline] get_page_from_freelist+0xa28/0x3780 mm/page_alloc.c:3317 __alloc_pages+0x22b/0x2460 mm/page_alloc.c:4575 alloc_pages_mpol+0x275/0x610 mm/mempolicy.c:2264 vm_area_alloc_pages mm/vmalloc.c:3561 [inline] __vmalloc_area_node mm/vmalloc.c:3637 [inline] __vmalloc_node_range+0xa26/0x14b0 mm/vmalloc.c:3818 alloc_thread_stack_node kernel/fork.c:309 [inline] dup_task_struct kernel/fork.c:1115 [inline] copy_process+0xe56/0x9090 kernel/fork.c:2220 kernel_clone+0xfd/0x980 kernel/fork.c:2797 __do_sys_clone+0xba/0x100 kernel/fork.c:2940 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 4539 tgid 4539 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1141 [inline] free_unref_page_prepare+0x527/0xb10 mm/page_alloc.c:2347 free_unref_page+0x33/0x3c0 mm/page_alloc.c:2487 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x4e/0x140 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x192/0x1e0 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:322 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook mm/slub.c:3798 [inline] slab_alloc_node mm/slub.c:3845 [inline] __do_kmalloc_node mm/slub.c:3965 [inline] __kmalloc_node+0x1e9/0x480 mm/slub.c:3973 kmalloc_node include/linux/slab.h:648 [inline] kvmalloc_node+0x9d/0x1a0 mm/util.c:634 kvmalloc include/linux/slab.h:766 [inline] seq_buf_alloc fs/seq_file.c:38 [inline] seq_read_iter+0x830/0x12c0 fs/seq_file.c:210 kernfs_fop_read_iter+0x41a/0x590 fs/kernfs/file.c:279 call_read_iter include/linux/fs.h:2104 [inline] new_sync_read fs/read_write.c:395 [inline] vfs_read+0x6c3/0xb80 fs/read_write.c:476 ksys_read+0x12f/0x260 fs/read_write.c:619 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f Memory state around the buggy address: ffffc9000321fa80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffc9000321fb00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffffc9000321fb80: 00 00 00 00 f1 f1 f1 f1 04 f3 f3 f3 00 00 00 00 ^ ffffc9000321fc00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffc9000321fc80: 00 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 00 00 ================================================================== ================================================================== BUG: KASAN: stack-out-of-bounds in profile_pc+0x186/0x1a0 arch/x86/kernel/time.c:44 Read of size 8 at addr ffffc9000321fba0 by task strace-static-x/5086 CPU: 0 PID: 5086 Comm: strace-static-x Tainted: G B 6.9.0-rc6-syzkaller-00053-g0106679839f7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:114 print_address_description mm/kasan/report.c:377 [inline] print_report+0xc3/0x620 mm/kasan/report.c:488 kasan_report+0xd9/0x110 mm/kasan/report.c:601 profile_pc+0x186/0x1a0 arch/x86/kernel/time.c:44 profile_tick+0xd3/0x140 kernel/profile.c:339 tick_sched_handle kernel/time/tick-sched.c:277 [inline] tick_nohz_handler+0x380/0x530 kernel/time/tick-sched.c:297 __run_hrtimer kernel/time/hrtimer.c:1692 [inline] __hrtimer_run_queues+0x65a/0xcc0 kernel/time/hrtimer.c:1756 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1818 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x112/0x450 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:queued_read_lock_slowpath+0x135/0x2b1 kernel/locking/qrwlock.c:51 Code: 00 8b 03 84 c0 74 36 48 b8 00 00 00 00 00 fc ff df 49 89 de 48 89 dd 49 c1 ee 03 83 e5 07 49 01 c6 83 c5 03 f3 90 41 0f b6 06 <40> 38 c5 7c 08 84 c0 0f 85 1f 01 00 00 8b 03 84 c0 75 e7 48 c7 c0 RSP: 0018:ffffc9000321fb98 EFLAGS: 00000286 RAX: 0000000000000000 RBX: ffffffff8d60a080 RCX: ffffffff8ae033db RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffffff8d60a080 RBP: 0000000000000003 R08: 0000000000000001 R09: fffffbfff1ac1410 R10: ffffffff8d60a083 R11: 0000000000000000 R12: 1ffff92000643f74 R13: ffffffff8d60a084 R14: fffffbfff1ac1410 R15: ffffffff81530fe9 __do_wait+0x105/0x890 kernel/exit.c:1587 do_wait+0x219/0x570 kernel/exit.c:1631 kernel_wait4+0x16c/0x280 kernel/exit.c:1790 __do_sys_wait4+0x15f/0x170 kernel/exit.c:1818 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x4d6ad6 Code: 00 00 00 90 31 c9 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 49 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 11 b8 3d 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 5a c3 90 48 83 ec 28 89 54 24 14 48 89 74 24 RSP: 002b:00007ffff5e05038 EFLAGS: 00000246 ORIG_RAX: 000000000000003d RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00000000004d6ad6 RDX: 0000000040000000 RSI: 00007ffff5e0505c RDI: 00000000ffffffff RBP: 0000000000000000 R08: 0000000000000017 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000006a985b0 R13: 00007ffff5e0505c R14: 0000000006a93610 R15: 000000000063f160 The buggy address belongs to stack of task strace-static-x/5086 and is located at offset 0 in frame: queued_read_lock_slowpath+0x0/0x2b1 This frame has 1 object: [32, 36) 'val' The buggy address belongs to the virtual mapping at [ffffc90003218000, ffffc90003221000) created by: kernel_clone+0xfd/0x980 kernel/fork.c:2797 The buggy address belongs to the physical page: page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x118e9 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) page_type: 0xffffffff() raw: 00fff00000000000 0000000000000000 dead000000000122 0000000000000000 raw: 0000000000000000 0000000000000000 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 0x2dc2(GFP_KERNEL|__GFP_HIGHMEM|__GFP_NOWARN|__GFP_ZERO), pid 4908, tgid 805089822 (dhcpcd-run-hook), ts 4908, free_ts 62233464751 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x2d4/0x350 mm/page_alloc.c:1534 prep_new_page mm/page_alloc.c:1541 [inline] get_page_from_freelist+0xa28/0x3780 mm/page_alloc.c:3317 __alloc_pages+0x22b/0x2460 mm/page_alloc.c:4575 alloc_pages_mpol+0x275/0x610 mm/mempolicy.c:2264 vm_area_alloc_pages mm/vmalloc.c:3561 [inline] __vmalloc_area_node mm/vmalloc.c:3637 [inline] __vmalloc_node_range+0xa26/0x14b0 mm/vmalloc.c:3818 alloc_thread_stack_node kernel/fork.c:309 [inline] dup_task_struct kernel/fork.c:1115 [inline] copy_process+0xe56/0x9090 kernel/fork.c:2220 kernel_clone+0xfd/0x980 kernel/fork.c:2797 __do_sys_clone+0xba/0x100 kernel/fork.c:2940 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 4539 tgid 4539 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1141 [inline] free_unref_page_prepare+0x527/0xb10 mm/page_alloc.c:2347 free_unref_page+0x33/0x3c0 mm/page_alloc.c:2487 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x4e/0x140 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x192/0x1e0 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:322 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook mm/slub.c:3798 [inline] slab_alloc_node mm/slub.c:3845 [inline] __do_kmalloc_node mm/slub.c:3965 [inline] __kmalloc_node+0x1e9/0x480 mm/slub.c:3973 kmalloc_node include/linux/slab.h:648 [inline] kvmalloc_node+0x9d/0x1a0 mm/util.c:634 kvmalloc include/linux/slab.h:766 [inline] seq_buf_alloc fs/seq_file.c:38 [inline] seq_read_iter+0x830/0x12c0 fs/seq_file.c:210 kernfs_fop_read_iter+0x41a/0x590 fs/kernfs/file.c:279 call_read_iter include/linux/fs.h:2104 [inline] new_sync_read fs/read_write.c:395 [inline] vfs_read+0x6c3/0xb80 fs/read_write.c:476 ksys_read+0x12f/0x260 fs/read_write.c:619 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f Memory state around the buggy address: ffffc9000321fa80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffc9000321fb00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffffc9000321fb80: 00 00 00 00 f1 f1 f1 f1 04 f3 f3 f3 00 00 00 00 ^ ffffc9000321fc00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffc9000321fc80: 00 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 00 00 ================================================================== hrtimer: interrupt took 2142939645 ns ---------------- Code disassembly (best guess): 0: 00 8b 03 84 c0 74 add %cl,0x74c08403(%rbx) 6: 36 48 b8 00 00 00 00 ss movabs $0xdffffc0000000000,%rax d: 00 fc ff df 11: 49 89 de mov %rbx,%r14 14: 48 89 dd mov %rbx,%rbp 17: 49 c1 ee 03 shr $0x3,%r14 1b: 83 e5 07 and $0x7,%ebp 1e: 49 01 c6 add %rax,%r14 21: 83 c5 03 add $0x3,%ebp 24: f3 90 pause 26: 41 0f b6 06 movzbl (%r14),%eax * 2a: 40 38 c5 cmp %al,%bpl <-- trapping instruction 2d: 7c 08 jl 0x37 2f: 84 c0 test %al,%al 31: 0f 85 1f 01 00 00 jne 0x156 37: 8b 03 mov (%rbx),%eax 39: 84 c0 test %al,%al 3b: 75 e7 jne 0x24 3d: 48 rex.W 3e: c7 .byte 0xc7 3f: c0 .byte 0xc0