Date
June 26, 2025, 11:12 a.m.
Environment | |
---|---|
e850-96 | |
qemu-arm64 | |
qemu-x86_64 |
[ 21.211214] ================================================================== [ 21.220757] BUG: KASAN: slab-out-of-bounds in kmalloc_large_oob_right+0x278/0x2b8 [ 21.228220] Write of size 1 at addr ffff00080332200a by task kunit_try_catch/195 [ 21.235598] [ 21.237083] CPU: 7 UID: 0 PID: 195 Comm: kunit_try_catch Tainted: G B N 6.15.4-rc3 #1 PREEMPT [ 21.237139] Tainted: [B]=BAD_PAGE, [N]=TEST [ 21.237155] Hardware name: WinLink E850-96 board (DT) [ 21.237178] Call trace: [ 21.237191] show_stack+0x20/0x38 (C) [ 21.237229] dump_stack_lvl+0x8c/0xd0 [ 21.237267] print_report+0x118/0x608 [ 21.237298] kasan_report+0xdc/0x128 [ 21.237327] __asan_report_store1_noabort+0x20/0x30 [ 21.237363] kmalloc_large_oob_right+0x278/0x2b8 [ 21.237396] kunit_try_run_case+0x170/0x3f0 [ 21.237431] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 21.237470] kthread+0x328/0x630 [ 21.237505] ret_from_fork+0x10/0x20 [ 21.237543] [ 21.300443] The buggy address belongs to the physical page: [ 21.306000] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x883320 [ 21.313983] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 21.321622] flags: 0xbfffe0000000040(head|node=0|zone=2|lastcpupid=0x1ffff) [ 21.328566] page_type: f8(unknown) [ 21.331964] raw: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000 [ 21.339682] raw: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 21.347408] head: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000 [ 21.355219] head: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 21.363033] head: 0bfffe0000000002 fffffdffe00cc801 00000000ffffffff 00000000ffffffff [ 21.370845] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 [ 21.378650] page dumped because: kasan: bad access detected [ 21.384205] [ 21.385683] Memory state around the buggy address: [ 21.390461] ffff000803321f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 21.397664] ffff000803321f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 21.404870] >ffff000803322000: 00 02 fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 21.412070] ^ [ 21.415546] ffff000803322080: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 21.422751] ffff000803322100: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 21.429952] ==================================================================
[ 17.687296] ================================================================== [ 17.687421] BUG: KASAN: slab-out-of-bounds in kmalloc_large_oob_right+0x278/0x2b8 [ 17.687742] Write of size 1 at addr fff00000c790e00a by task kunit_try_catch/148 [ 17.687941] [ 17.688024] CPU: 0 UID: 0 PID: 148 Comm: kunit_try_catch Tainted: G B N 6.15.4-rc3 #1 PREEMPT [ 17.688242] Tainted: [B]=BAD_PAGE, [N]=TEST [ 17.688330] Hardware name: linux,dummy-virt (DT) [ 17.688499] Call trace: [ 17.688549] show_stack+0x20/0x38 (C) [ 17.688609] dump_stack_lvl+0x8c/0xd0 [ 17.688829] print_report+0x118/0x608 [ 17.689015] kasan_report+0xdc/0x128 [ 17.689091] __asan_report_store1_noabort+0x20/0x30 [ 17.689284] kmalloc_large_oob_right+0x278/0x2b8 [ 17.689425] kunit_try_run_case+0x170/0x3f0 [ 17.689541] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 17.689907] kthread+0x328/0x630 [ 17.689970] ret_from_fork+0x10/0x20 [ 17.690215] [ 17.690517] The buggy address belongs to the physical page: [ 17.690646] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10790c [ 17.690700] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 17.690778] flags: 0xbfffe0000000040(head|node=0|zone=2|lastcpupid=0x1ffff) [ 17.691010] page_type: f8(unknown) [ 17.691067] raw: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000 [ 17.691153] raw: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 17.691281] head: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000 [ 17.691411] head: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 17.691565] head: 0bfffe0000000002 ffffc1ffc31e4301 00000000ffffffff 00000000ffffffff [ 17.691674] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 [ 17.691737] page dumped because: kasan: bad access detected [ 17.691934] [ 17.691975] Memory state around the buggy address: [ 17.692008] fff00000c790df00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 17.692060] fff00000c790df80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 17.692199] >fff00000c790e000: 00 02 fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 17.692341] ^ [ 17.692380] fff00000c790e080: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 17.692424] fff00000c790e100: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 17.692511] ==================================================================
[ 10.383711] ================================================================== [ 10.384936] BUG: KASAN: slab-out-of-bounds in kmalloc_large_oob_right+0x2e9/0x330 [ 10.385302] Write of size 1 at addr ffff88810289200a by task kunit_try_catch/165 [ 10.385530] [ 10.385640] CPU: 1 UID: 0 PID: 165 Comm: kunit_try_catch Tainted: G B N 6.15.4-rc3 #1 PREEMPT(voluntary) [ 10.385688] Tainted: [B]=BAD_PAGE, [N]=TEST [ 10.385699] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 10.385752] Call Trace: [ 10.385784] <TASK> [ 10.385802] dump_stack_lvl+0x73/0xb0 [ 10.385830] print_report+0xd1/0x650 [ 10.385853] ? __virt_addr_valid+0x1db/0x2d0 [ 10.385874] ? kmalloc_large_oob_right+0x2e9/0x330 [ 10.385896] ? kasan_addr_to_slab+0x11/0xa0 [ 10.385929] ? kmalloc_large_oob_right+0x2e9/0x330 [ 10.385951] kasan_report+0x141/0x180 [ 10.385973] ? kmalloc_large_oob_right+0x2e9/0x330 [ 10.386000] __asan_report_store1_noabort+0x1b/0x30 [ 10.386020] kmalloc_large_oob_right+0x2e9/0x330 [ 10.386042] ? __pfx_kmalloc_large_oob_right+0x10/0x10 [ 10.386065] ? __schedule+0x10cc/0x2b60 [ 10.386087] ? __pfx_read_tsc+0x10/0x10 [ 10.386107] ? ktime_get_ts64+0x86/0x230 [ 10.386131] kunit_try_run_case+0x1a5/0x480 [ 10.386156] ? __pfx_kunit_try_run_case+0x10/0x10 [ 10.386177] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 10.386200] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 10.386223] ? __kthread_parkme+0x82/0x180 [ 10.386245] ? preempt_count_sub+0x50/0x80 [ 10.386271] ? __pfx_kunit_try_run_case+0x10/0x10 [ 10.386293] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 10.386315] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 10.386337] kthread+0x337/0x6f0 [ 10.386353] ? trace_preempt_on+0x20/0xc0 [ 10.386376] ? __pfx_kthread+0x10/0x10 [ 10.386393] ? _raw_spin_unlock_irq+0x47/0x80 [ 10.386414] ? calculate_sigpending+0x7b/0xa0 [ 10.386435] ? __pfx_kthread+0x10/0x10 [ 10.386452] ret_from_fork+0x41/0x80 [ 10.386472] ? __pfx_kthread+0x10/0x10 [ 10.386489] ret_from_fork_asm+0x1a/0x30 [ 10.386520] </TASK> [ 10.386531] [ 10.399808] The buggy address belongs to the physical page: [ 10.400019] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x102890 [ 10.400270] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 10.400489] flags: 0x200000000000040(head|node=0|zone=2) [ 10.401090] page_type: f8(unknown) [ 10.401551] raw: 0200000000000040 0000000000000000 dead000000000122 0000000000000000 [ 10.402413] raw: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 10.403430] head: 0200000000000040 0000000000000000 dead000000000122 0000000000000000 [ 10.404228] head: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 10.405067] head: 0200000000000002 ffffea00040a2401 00000000ffffffff 00000000ffffffff [ 10.405785] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 [ 10.406161] page dumped because: kasan: bad access detected [ 10.406327] [ 10.406394] Memory state around the buggy address: [ 10.406548] ffff888102891f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 10.406762] ffff888102891f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 10.407457] >ffff888102892000: 00 02 fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 10.407856] ^ [ 10.408113] ffff888102892080: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 10.408451] ffff888102892100: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 10.408700] ==================================================================