Date
May 12, 2025, 6:12 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 17.981965] ================================================================== [ 17.983197] BUG: KASAN: slab-out-of-bounds in kmalloc_large_oob_right+0x278/0x2b8 [ 17.983584] Write of size 1 at addr fff00000c609600a by task kunit_try_catch/135 [ 17.983935] [ 17.984089] CPU: 1 UID: 0 PID: 135 Comm: kunit_try_catch Tainted: G B N 6.14.7-rc1 #1 [ 17.984187] Tainted: [B]=BAD_PAGE, [N]=TEST [ 17.984219] Hardware name: linux,dummy-virt (DT) [ 17.984255] Call trace: [ 17.984282] show_stack+0x20/0x38 (C) [ 17.984340] dump_stack_lvl+0x8c/0xd0 [ 17.984392] print_report+0x118/0x608 [ 17.984442] kasan_report+0xdc/0x128 [ 17.984490] __asan_report_store1_noabort+0x20/0x30 [ 17.984540] kmalloc_large_oob_right+0x278/0x2b8 [ 17.984590] kunit_try_run_case+0x170/0x3f0 [ 17.984640] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 17.984694] kthread+0x318/0x620 [ 17.985054] ret_from_fork+0x10/0x20 [ 17.985196] [ 17.991111] The buggy address belongs to the physical page: [ 17.991905] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x106094 [ 17.992629] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 17.993207] flags: 0xbfffe0000000040(head|node=0|zone=2|lastcpupid=0x1ffff) [ 17.993486] raw: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000 [ 17.993722] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 17.993980] head: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000 [ 17.994226] head: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 17.994460] head: 0bfffe0000000002 ffffc1ffc3182501 ffffffffffffffff 0000000000000000 [ 17.995524] head: 0000000000000004 0000000000000000 00000000ffffffff 0000000000000000 [ 17.996333] page dumped because: kasan: bad access detected [ 17.996848] [ 17.997133] Memory state around the buggy address: [ 17.997548] fff00000c6095f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 17.998081] fff00000c6095f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 17.998757] >fff00000c6096000: 00 02 fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 17.999089] ^ [ 17.999243] fff00000c6096080: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 17.999456] fff00000c6096100: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 17.999659] ==================================================================
[ 11.864748] ================================================================== [ 11.865436] BUG: KASAN: slab-out-of-bounds in kmalloc_large_oob_right+0x2eb/0x340 [ 11.865696] Write of size 1 at addr ffff88810293a00a by task kunit_try_catch/154 [ 11.865958] [ 11.866138] CPU: 1 UID: 0 PID: 154 Comm: kunit_try_catch Tainted: G B N 6.14.7-rc1 #1 [ 11.866188] Tainted: [B]=BAD_PAGE, [N]=TEST [ 11.866200] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 11.866223] Call Trace: [ 11.866237] <TASK> [ 11.866258] dump_stack_lvl+0x73/0xb0 [ 11.866286] print_report+0xd1/0x650 [ 11.866309] ? __virt_addr_valid+0x1db/0x2d0 [ 11.866331] ? kmalloc_large_oob_right+0x2eb/0x340 [ 11.866351] ? kasan_addr_to_slab+0x11/0xa0 [ 11.866371] ? kmalloc_large_oob_right+0x2eb/0x340 [ 11.866391] kasan_report+0x140/0x180 [ 11.866412] ? kmalloc_large_oob_right+0x2eb/0x340 [ 11.866436] __asan_report_store1_noabort+0x1b/0x30 [ 11.866460] kmalloc_large_oob_right+0x2eb/0x340 [ 11.866481] ? __pfx_kmalloc_large_oob_right+0x10/0x10 [ 11.866502] ? __schedule+0xce8/0x2840 [ 11.866526] ? __pfx_read_tsc+0x10/0x10 [ 11.866548] ? ktime_get_ts64+0x86/0x230 [ 11.866574] kunit_try_run_case+0x1a6/0x480 [ 11.866598] ? __pfx_kunit_try_run_case+0x10/0x10 [ 11.866619] ? _raw_spin_lock_irqsave+0xa2/0x110 [ 11.866639] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 11.866689] ? __kthread_parkme+0x82/0x160 [ 11.866715] ? preempt_count_sub+0x50/0x80 [ 11.866741] ? __pfx_kunit_try_run_case+0x10/0x10 [ 11.866776] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 11.866802] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 11.866827] kthread+0x324/0x6e0 [ 11.866858] ? trace_preempt_on+0x20/0xc0 [ 11.866882] ? __pfx_kthread+0x10/0x10 [ 11.866904] ? _raw_spin_unlock_irq+0x47/0x80 [ 11.866927] ? calculate_sigpending+0x7b/0xa0 [ 11.866949] ? __pfx_kthread+0x10/0x10 [ 11.866971] ret_from_fork+0x41/0x80 [ 11.867008] ? __pfx_kthread+0x10/0x10 [ 11.867030] ret_from_fork_asm+0x1a/0x30 [ 11.867077] </TASK> [ 11.867088] [ 11.875404] The buggy address belongs to the physical page: [ 11.875690] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x102938 [ 11.876192] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 11.876535] flags: 0x200000000000040(head|node=0|zone=2) [ 11.876810] raw: 0200000000000040 0000000000000000 dead000000000122 0000000000000000 [ 11.877312] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 11.877640] head: 0200000000000040 0000000000000000 dead000000000122 0000000000000000 [ 11.877981] head: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 11.878363] head: 0200000000000002 ffffea00040a4e01 ffffffffffffffff 0000000000000000 [ 11.878629] head: 0000000000000004 0000000000000000 00000000ffffffff 0000000000000000 [ 11.879313] page dumped because: kasan: bad access detected [ 11.879582] [ 11.879678] Memory state around the buggy address: [ 11.879949] ffff888102939f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 11.880431] ffff888102939f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 11.880728] >ffff88810293a000: 00 02 fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 11.881185] ^ [ 11.881397] ffff88810293a080: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 11.881698] ffff88810293a100: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 11.881956] ==================================================================