Kernel | Title | Repro | Cause bisect | Fix bisect | Count | Last | Reported | Patched | Status |
---|---|---|---|---|---|---|---|---|---|
upstream | BUG: scheduling while atomic in __stack_chk_fail kernel | 3 | 180d | 182d | 0/28 | closed as invalid on 2024/09/13 10:29 |
syzbot |
sign-in | mailing list | source | docs |
Kernel | Title | Repro | Cause bisect | Fix bisect | Count | Last | Reported | Patched | Status |
---|---|---|---|---|---|---|---|---|---|
upstream | BUG: scheduling while atomic in __stack_chk_fail kernel | 3 | 180d | 182d | 0/28 | closed as invalid on 2024/09/13 10:29 |
================================================================== BUG: KASAN: stack-out-of-bounds in symbol_string+0xb6/0x3b0 lib/vsprintf.c:987 Write of size 666 at addr ffffc90004bcdcc0 by task syz.0.29/5430 CPU: 1 UID: 0 PID: 5430 Comm: syz.0.29 Not tainted 6.11.0-rc4-next-20240820-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Call Trace: <TASK> __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 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 kasan_check_range+0x282/0x290 mm/kasan/generic.c:189 __asan_memset+0x23/0x50 mm/kasan/shadow.c:84 symbol_string+0xb6/0x3b0 lib/vsprintf.c:987 pointer+0x8cb/0x1210 lib/vsprintf.c:2422 vsnprintf+0xdb0/0x1da0 lib/vsprintf.c:2828 vscnprintf+0x42/0x90 lib/vsprintf.c:2930 panic+0x245/0x870 kernel/panic.c:342 __stack_chk_fail+0x15/0x20 kernel/panic.c:827 fixup_exception+0x1c89/0x1cc0 </TASK> The buggy address belongs to stack of task syz.0.29/5430 and is located at offset 32 in frame: symbol_string+0x0/0x3b0 This frame has 1 object: [32, 698) 'sym' The buggy address belongs to the virtual mapping at [ffffc90004bc8000, ffffc90004bd1000) created by: copy_process+0x5d1/0x3d50 kernel/fork.c:2206 The buggy address belongs to the physical page: page: refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff88802dd51c00 pfn:0x2dd50 memcg:ffff888029f3a582 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 0000000000000000 dead000000000122 0000000000000000 raw: ffff88802dd51c00 0000000000000000 00000001ffffffff ffff888029f3a582 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x102dc2(GFP_HIGHUSER|__GFP_NOWARN|__GFP_ZERO), pid 2, tgid 2 (kthreadd), ts 82249478251, free_ts 81559784884 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1517 prep_new_page mm/page_alloc.c:1525 [inline] get_page_from_freelist+0x3004/0x30c0 mm/page_alloc.c:3476 __alloc_pages_noprof+0x29e/0x780 mm/page_alloc.c:4743 alloc_pages_mpol_noprof+0x3e8/0x680 mm/mempolicy.c:2265 vm_area_alloc_pages mm/vmalloc.c:3600 [inline] __vmalloc_area_node mm/vmalloc.c:3669 [inline] __vmalloc_node_range_noprof+0xa40/0x1400 mm/vmalloc.c:3850 alloc_thread_stack_node kernel/fork.c:314 [inline] dup_task_struct+0x444/0x8c0 kernel/fork.c:1115 copy_process+0x5d1/0x3d50 kernel/fork.c:2206 kernel_clone+0x226/0x8f0 kernel/fork.c:2787 kernel_thread+0x1bc/0x240 kernel/fork.c:2849 create_kthread kernel/kthread.c:412 [inline] kthreadd+0x60d/0x810 kernel/kthread.c:765 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 page last free pid 5404 tgid 5404 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1098 [inline] free_unref_page+0xc07/0xd90 mm/page_alloc.c:2651 __slab_free+0x31b/0x3d0 mm/slub.c:4432 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x9e/0x140 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x14f/0x170 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x23/0x80 mm/kasan/common.c:329 kasan_slab_alloc include/linux/kasan.h:250 [inline] slab_post_alloc_hook mm/slub.c:4036 [inline] slab_alloc_node mm/slub.c:4085 [inline] kmem_cache_alloc_noprof+0x135/0x2a0 mm/slub.c:4092 ptlock_alloc+0x20/0x70 mm/memory.c:6596 ptlock_init include/linux/mm.h:2895 [inline] pagetable_pte_ctor include/linux/mm.h:2922 [inline] __pte_alloc_one_noprof include/asm-generic/pgalloc.h:73 [inline] pte_alloc_one+0xcd/0x5d0 arch/x86/mm/pgtable.c:33 __pte_alloc+0x79/0x3a0 mm/memory.c:448 copy_pte_range mm/memory.c:1106 [inline] copy_pmd_range+0x7cca/0x8500 mm/memory.c:1252 copy_pud_range mm/memory.c:1289 [inline] copy_p4d_range mm/memory.c:1313 [inline] copy_page_range+0x99f/0xe90 mm/memory.c:1411 dup_mmap kernel/fork.c:750 [inline] dup_mm kernel/fork.c:1674 [inline] copy_mm+0x1203/0x1f50 kernel/fork.c:1723 copy_process+0x1845/0x3d50 kernel/fork.c:2375 kernel_clone+0x226/0x8f0 kernel/fork.c:2787 __do_sys_clone kernel/fork.c:2930 [inline] __se_sys_clone kernel/fork.c:2914 [inline] __x64_sys_clone+0x258/0x2a0 kernel/fork.c:2914 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 Memory state around the buggy address: ffffc90004bcdc00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffc90004bcdc80: 00 00 00 00 f1 f1 f1 f1 00 00 00 00 00 00 00 00 >ffffc90004bcdd00: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 f2 f2 f2 ^ ffffc90004bcdd80: 00 f3 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 ffffc90004bcde00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================
Time | Kernel | Commit | Syzkaller | Config | Log | Report | Syz repro | C repro | VM info | Assets (help?) | Manager | Title |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2024/08/20 13:04 | linux-next | bb1b0acdcd66 | 9f0ab3fb | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-linux-next-kasan-gce-root | KASAN: stack-out-of-bounds Write in __stack_chk_fail | ||
2024/08/21 12:39 | linux-next | eb8c5ca373cb | db5852f9 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-linux-next-kasan-gce-root | BUG: unable to handle kernel paging request in __stack_chk_fail | ||
2024/08/20 20:39 | linux-next | bb1b0acdcd66 | 9f0ab3fb | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-linux-next-kasan-gce-root | general protection fault in __stack_chk_fail |