Date
June 26, 2025, 9:10 a.m.
Environment | |
---|---|
dragonboard-845c | |
qemu-arm64 | |
qemu-x86_64 |
[ 32.205463] ================================================================== [ 32.216938] BUG: KASAN: slab-out-of-bounds in kmalloc_large_oob_right+0x278/0x2b8 [ 32.224522] Write of size 1 at addr ffff0000966fe00a by task kunit_try_catch/232 [ 32.232021] [ 32.233553] CPU: 1 UID: 0 PID: 232 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc3-next-20250626 #1 PREEMPT [ 32.233582] Tainted: [B]=BAD_PAGE, [N]=TEST [ 32.233590] Hardware name: Thundercomm Dragonboard 845c (DT) [ 32.233602] Call trace: [ 32.233610] show_stack+0x20/0x38 (C) [ 32.233629] dump_stack_lvl+0x8c/0xd0 [ 32.233648] print_report+0x118/0x608 [ 32.233667] kasan_report+0xdc/0x128 [ 32.233685] __asan_report_store1_noabort+0x20/0x30 [ 32.233703] kmalloc_large_oob_right+0x278/0x2b8 [ 32.233720] kunit_try_run_case+0x170/0x3f0 [ 32.233739] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 32.233761] kthread+0x328/0x630 [ 32.233775] ret_from_fork+0x10/0x20 [ 32.233792] [ 32.300037] The buggy address belongs to the physical page: [ 32.305683] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1166fc [ 32.313792] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 32.321544] flags: 0xbfffe0000000040(head|node=0|zone=2|lastcpupid=0x1ffff) [ 32.328598] page_type: f8(unknown) [ 32.332065] raw: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000 [ 32.339909] raw: 0000000000000000 0000000000000000 00000000f8000000 0000000000000000 [ 32.347751] head: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000 [ 32.355682] head: 0000000000000000 0000000000000000 00000000f8000000 0000000000000000 [ 32.363610] head: 0bfffe0000000002 fffffdffc259bf01 00000000ffffffff 00000000ffffffff [ 32.371547] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 [ 32.379471] page dumped because: kasan: bad access detected [ 32.385121] [ 32.386653] Memory state around the buggy address: [ 32.391514] ffff0000966fdf00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 32.398832] ffff0000966fdf80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 32.406152] >ffff0000966fe000: 00 02 fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 32.413473] ^ [ 32.417016] ffff0000966fe080: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 32.424339] ffff0000966fe100: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 32.431651] ==================================================================
[ 26.588297] ================================================================== [ 26.588388] BUG: KASAN: slab-out-of-bounds in kmalloc_large_oob_right+0x278/0x2b8 [ 26.588440] Write of size 1 at addr fff00000c649a00a by task kunit_try_catch/158 [ 26.588486] [ 26.588514] CPU: 0 UID: 0 PID: 158 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc3-next-20250626 #1 PREEMPT [ 26.588597] Tainted: [B]=BAD_PAGE, [N]=TEST [ 26.588622] Hardware name: linux,dummy-virt (DT) [ 26.588682] Call trace: [ 26.588703] show_stack+0x20/0x38 (C) [ 26.588750] dump_stack_lvl+0x8c/0xd0 [ 26.588812] print_report+0x118/0x608 [ 26.588857] kasan_report+0xdc/0x128 [ 26.588901] __asan_report_store1_noabort+0x20/0x30 [ 26.588947] kmalloc_large_oob_right+0x278/0x2b8 [ 26.588993] kunit_try_run_case+0x170/0x3f0 [ 26.589038] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 26.589100] kthread+0x328/0x630 [ 26.589142] ret_from_fork+0x10/0x20 [ 26.589210] [ 26.589243] The buggy address belongs to the physical page: [ 26.589273] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x106498 [ 26.589400] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 26.589470] flags: 0xbfffe0000000040(head|node=0|zone=2|lastcpupid=0x1ffff) [ 26.589637] page_type: f8(unknown) [ 26.589697] raw: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000 [ 26.589756] raw: 0000000000000000 0000000000000000 00000000f8000000 0000000000000000 [ 26.589803] head: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000 [ 26.590150] head: 0000000000000000 0000000000000000 00000000f8000000 0000000000000000 [ 26.590397] head: 0bfffe0000000002 ffffc1ffc3192601 00000000ffffffff 00000000ffffffff [ 26.590478] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 [ 26.590574] page dumped because: kasan: bad access detected [ 26.590637] [ 26.590654] Memory state around the buggy address: [ 26.590683] fff00000c6499f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 26.590723] fff00000c6499f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 26.590762] >fff00000c649a000: 00 02 fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 26.590797] ^ [ 26.590824] fff00000c649a080: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 26.590863] fff00000c649a100: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 26.590898] ==================================================================
[ 21.678117] ================================================================== [ 21.678623] BUG: KASAN: slab-out-of-bounds in kmalloc_large_oob_right+0x2e9/0x330 [ 21.678998] Write of size 1 at addr ffff888102c8a00a by task kunit_try_catch/175 [ 21.679525] [ 21.679660] CPU: 1 UID: 0 PID: 175 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc3-next-20250626 #1 PREEMPT(voluntary) [ 21.679727] Tainted: [B]=BAD_PAGE, [N]=TEST [ 21.679740] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 21.679764] Call Trace: [ 21.679780] <TASK> [ 21.679849] dump_stack_lvl+0x73/0xb0 [ 21.679885] print_report+0xd1/0x650 [ 21.679908] ? __virt_addr_valid+0x1db/0x2d0 [ 21.679945] ? kmalloc_large_oob_right+0x2e9/0x330 [ 21.679966] ? kasan_addr_to_slab+0x11/0xa0 [ 21.679986] ? kmalloc_large_oob_right+0x2e9/0x330 [ 21.680019] kasan_report+0x141/0x180 [ 21.680048] ? kmalloc_large_oob_right+0x2e9/0x330 [ 21.680073] __asan_report_store1_noabort+0x1b/0x30 [ 21.680096] kmalloc_large_oob_right+0x2e9/0x330 [ 21.680117] ? __pfx_kmalloc_large_oob_right+0x10/0x10 [ 21.680149] ? __pfx_kmalloc_large_oob_right+0x10/0x10 [ 21.680173] kunit_try_run_case+0x1a5/0x480 [ 21.680198] ? __pfx_kunit_try_run_case+0x10/0x10 [ 21.680240] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 21.680266] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 21.680289] ? __kthread_parkme+0x82/0x180 [ 21.680309] ? preempt_count_sub+0x50/0x80 [ 21.680332] ? __pfx_kunit_try_run_case+0x10/0x10 [ 21.680354] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 21.680377] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 21.680399] kthread+0x337/0x6f0 [ 21.680417] ? trace_preempt_on+0x20/0xc0 [ 21.680440] ? __pfx_kthread+0x10/0x10 [ 21.680460] ? _raw_spin_unlock_irq+0x47/0x80 [ 21.680483] ? calculate_sigpending+0x7b/0xa0 [ 21.680507] ? __pfx_kthread+0x10/0x10 [ 21.680529] ret_from_fork+0x116/0x1d0 [ 21.680548] ? __pfx_kthread+0x10/0x10 [ 21.680568] ret_from_fork_asm+0x1a/0x30 [ 21.680600] </TASK> [ 21.680613] [ 21.688401] The buggy address belongs to the physical page: [ 21.688674] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x102c88 [ 21.689103] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 21.689594] flags: 0x200000000000040(head|node=0|zone=2) [ 21.689802] page_type: f8(unknown) [ 21.689929] raw: 0200000000000040 0000000000000000 dead000000000122 0000000000000000 [ 21.690537] raw: 0000000000000000 0000000000000000 00000000f8000000 0000000000000000 [ 21.691054] head: 0200000000000040 0000000000000000 dead000000000122 0000000000000000 [ 21.691316] head: 0000000000000000 0000000000000000 00000000f8000000 0000000000000000 [ 21.691652] head: 0200000000000002 ffffea00040b2201 00000000ffffffff 00000000ffffffff [ 21.692112] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 [ 21.692450] page dumped because: kasan: bad access detected [ 21.692685] [ 21.692775] Memory state around the buggy address: [ 21.693047] ffff888102c89f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 21.693339] ffff888102c89f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 21.693628] >ffff888102c8a000: 00 02 fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 21.694138] ^ [ 21.694334] ffff888102c8a080: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 21.694757] ffff888102c8a100: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 21.695145] ==================================================================