Date
July 8, 2025, 11:09 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 19.093981] ================================================================== [ 19.094048] BUG: KASAN: slab-out-of-bounds in kmalloc_large_oob_right+0x278/0x2b8 [ 19.094097] Write of size 1 at addr fff00000c64be00a by task kunit_try_catch/146 [ 19.094144] [ 19.094636] CPU: 1 UID: 0 PID: 146 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc5 #1 PREEMPT [ 19.094724] Tainted: [B]=BAD_PAGE, [N]=TEST [ 19.095106] Hardware name: linux,dummy-virt (DT) [ 19.095148] Call trace: [ 19.095188] show_stack+0x20/0x38 (C) [ 19.095611] dump_stack_lvl+0x8c/0xd0 [ 19.095846] print_report+0x118/0x608 [ 19.095900] kasan_report+0xdc/0x128 [ 19.096036] __asan_report_store1_noabort+0x20/0x30 [ 19.096406] kmalloc_large_oob_right+0x278/0x2b8 [ 19.096464] kunit_try_run_case+0x170/0x3f0 [ 19.096897] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 19.096979] kthread+0x328/0x630 [ 19.097047] ret_from_fork+0x10/0x20 [ 19.097120] [ 19.097248] The buggy address belongs to the physical page: [ 19.097316] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1064bc [ 19.097670] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 19.097827] flags: 0xbfffe0000000040(head|node=0|zone=2|lastcpupid=0x1ffff) [ 19.098224] page_type: f8(unknown) [ 19.098317] raw: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000 [ 19.098369] raw: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 19.098575] head: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000 [ 19.098682] head: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 19.098858] head: 0bfffe0000000002 ffffc1ffc3192f01 00000000ffffffff 00000000ffffffff [ 19.099298] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 [ 19.099453] page dumped because: kasan: bad access detected [ 19.099487] [ 19.099505] Memory state around the buggy address: [ 19.099793] fff00000c64bdf00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 19.099983] fff00000c64bdf80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 19.100029] >fff00000c64be000: 00 02 fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 19.100087] ^ [ 19.100123] fff00000c64be080: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 19.100322] fff00000c64be100: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 19.100520] ==================================================================
[ 11.971053] ================================================================== [ 11.971452] BUG: KASAN: slab-out-of-bounds in kmalloc_large_oob_right+0x2e9/0x330 [ 11.971969] Write of size 1 at addr ffff888102a4e00a by task kunit_try_catch/164 [ 11.973275] [ 11.973732] CPU: 1 UID: 0 PID: 164 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc5 #1 PREEMPT(voluntary) [ 11.973781] Tainted: [B]=BAD_PAGE, [N]=TEST [ 11.973793] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 11.973821] Call Trace: [ 11.973834] <TASK> [ 11.973849] dump_stack_lvl+0x73/0xb0 [ 11.973882] print_report+0xd1/0x650 [ 11.973905] ? __virt_addr_valid+0x1db/0x2d0 [ 11.974150] ? kmalloc_large_oob_right+0x2e9/0x330 [ 11.974186] ? kasan_addr_to_slab+0x11/0xa0 [ 11.974207] ? kmalloc_large_oob_right+0x2e9/0x330 [ 11.974230] kasan_report+0x141/0x180 [ 11.974252] ? kmalloc_large_oob_right+0x2e9/0x330 [ 11.974279] __asan_report_store1_noabort+0x1b/0x30 [ 11.974304] kmalloc_large_oob_right+0x2e9/0x330 [ 11.974328] ? __pfx_kmalloc_large_oob_right+0x10/0x10 [ 11.974353] ? __schedule+0x10cc/0x2b60 [ 11.974374] ? __pfx_read_tsc+0x10/0x10 [ 11.974395] ? ktime_get_ts64+0x86/0x230 [ 11.974421] kunit_try_run_case+0x1a5/0x480 [ 11.974446] ? __pfx_kunit_try_run_case+0x10/0x10 [ 11.974468] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 11.974492] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 11.974515] ? __kthread_parkme+0x82/0x180 [ 11.974536] ? preempt_count_sub+0x50/0x80 [ 11.974560] ? __pfx_kunit_try_run_case+0x10/0x10 [ 11.974584] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 11.974618] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 11.974643] kthread+0x337/0x6f0 [ 11.974661] ? trace_preempt_on+0x20/0xc0 [ 11.974685] ? __pfx_kthread+0x10/0x10 [ 11.974705] ? _raw_spin_unlock_irq+0x47/0x80 [ 11.974726] ? calculate_sigpending+0x7b/0xa0 [ 11.974750] ? __pfx_kthread+0x10/0x10 [ 11.974771] ret_from_fork+0x116/0x1d0 [ 11.974789] ? __pfx_kthread+0x10/0x10 [ 11.974808] ret_from_fork_asm+0x1a/0x30 [ 11.974839] </TASK> [ 11.974850] [ 11.986846] The buggy address belongs to the physical page: [ 11.987264] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x102a4c [ 11.987784] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 11.988119] flags: 0x200000000000040(head|node=0|zone=2) [ 11.988590] page_type: f8(unknown) [ 11.988879] raw: 0200000000000040 0000000000000000 dead000000000122 0000000000000000 [ 11.989355] raw: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 11.989813] head: 0200000000000040 0000000000000000 dead000000000122 0000000000000000 [ 11.990454] head: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 11.991074] head: 0200000000000002 ffffea00040a9301 00000000ffffffff 00000000ffffffff [ 11.991494] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 [ 11.991735] page dumped because: kasan: bad access detected [ 11.991906] [ 11.992219] Memory state around the buggy address: [ 11.992693] ffff888102a4df00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 11.993454] ffff888102a4df80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 11.994273] >ffff888102a4e000: 00 02 fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 11.994908] ^ [ 11.995269] ffff888102a4e080: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 11.995486] ffff888102a4e100: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 11.996218] ==================================================================