Date
May 30, 2025, 4:14 a.m.
Environment | |
---|---|
e850-96 | |
qemu-arm64 | |
qemu-x86_64 | |
x15 |
[ 21.289224] ================================================================== [ 21.298685] BUG: KASAN: slab-out-of-bounds in kmalloc_large_oob_right+0x278/0x2b8 [ 21.306147] Write of size 1 at addr ffff000804b0e00a by task kunit_try_catch/190 [ 21.313525] [ 21.315011] CPU: 2 UID: 0 PID: 190 Comm: kunit_try_catch Tainted: G B N 6.15.0-next-20250530 #1 PREEMPT [ 21.315065] Tainted: [B]=BAD_PAGE, [N]=TEST [ 21.315082] Hardware name: WinLink E850-96 board (DT) [ 21.315103] Call trace: [ 21.315121] show_stack+0x20/0x38 (C) [ 21.315156] dump_stack_lvl+0x8c/0xd0 [ 21.315196] print_report+0x118/0x608 [ 21.315232] kasan_report+0xdc/0x128 [ 21.315263] __asan_report_store1_noabort+0x20/0x30 [ 21.315295] kmalloc_large_oob_right+0x278/0x2b8 [ 21.315326] kunit_try_run_case+0x170/0x3f0 [ 21.315362] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 21.315400] kthread+0x328/0x630 [ 21.315427] ret_from_fork+0x10/0x20 [ 21.315461] [ 21.379237] The buggy address belongs to the physical page: [ 21.384796] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x884b0c [ 21.392780] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 21.400419] flags: 0xbfffe0000000040(head|node=0|zone=2|lastcpupid=0x1ffff) [ 21.407362] page_type: f8(unknown) [ 21.410757] raw: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000 [ 21.418477] raw: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 21.426204] head: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000 [ 21.434015] head: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 21.441828] head: 0bfffe0000000002 fffffdffe012c301 00000000ffffffff 00000000ffffffff [ 21.449640] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 [ 21.457446] page dumped because: kasan: bad access detected [ 21.463003] [ 21.464477] Memory state around the buggy address: [ 21.469259] ffff000804b0df00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 21.476460] ffff000804b0df80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 21.483666] >ffff000804b0e000: 00 02 fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 21.490866] ^ [ 21.494341] ffff000804b0e080: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 21.501546] ffff000804b0e100: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 21.508748] ==================================================================
[ 24.201510] ================================================================== [ 24.201699] BUG: KASAN: slab-out-of-bounds in kmalloc_large_oob_right+0x278/0x2b8 [ 24.202247] Write of size 1 at addr fff00000c77b200a by task kunit_try_catch/147 [ 24.202788] [ 24.202907] CPU: 0 UID: 0 PID: 147 Comm: kunit_try_catch Tainted: G B N 6.15.0-next-20250530 #1 PREEMPT [ 24.203114] Tainted: [B]=BAD_PAGE, [N]=TEST [ 24.203183] Hardware name: linux,dummy-virt (DT) [ 24.203259] Call trace: [ 24.203318] show_stack+0x20/0x38 (C) [ 24.203446] dump_stack_lvl+0x8c/0xd0 [ 24.203835] print_report+0x118/0x608 [ 24.204165] kasan_report+0xdc/0x128 [ 24.204500] __asan_report_store1_noabort+0x20/0x30 [ 24.205233] kmalloc_large_oob_right+0x278/0x2b8 [ 24.205389] kunit_try_run_case+0x170/0x3f0 [ 24.205603] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 24.206169] kthread+0x328/0x630 [ 24.206414] ret_from_fork+0x10/0x20 [ 24.206909] [ 24.207047] The buggy address belongs to the physical page: [ 24.207400] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1077b0 [ 24.208353] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 24.208640] flags: 0xbfffe0000000040(head|node=0|zone=2|lastcpupid=0x1ffff) [ 24.209463] page_type: f8(unknown) [ 24.209725] raw: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000 [ 24.211022] raw: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 24.211775] head: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000 [ 24.211926] head: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 24.213161] head: 0bfffe0000000002 ffffc1ffc31dec01 00000000ffffffff 00000000ffffffff [ 24.213338] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 [ 24.214197] page dumped because: kasan: bad access detected [ 24.214816] [ 24.215344] Memory state around the buggy address: [ 24.215594] fff00000c77b1f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 24.216033] fff00000c77b1f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 24.216728] >fff00000c77b2000: 00 02 fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 24.216832] ^ [ 24.216932] fff00000c77b2080: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 24.217374] fff00000c77b2100: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 24.217881] ==================================================================
[ 16.984744] ================================================================== [ 16.985902] BUG: KASAN: slab-out-of-bounds in kmalloc_large_oob_right+0x2e9/0x330 [ 16.986880] Write of size 1 at addr ffff8881024ce00a by task kunit_try_catch/163 [ 16.987749] [ 16.988669] CPU: 1 UID: 0 PID: 163 Comm: kunit_try_catch Tainted: G B N 6.15.0-next-20250530 #1 PREEMPT(voluntary) [ 16.988959] Tainted: [B]=BAD_PAGE, [N]=TEST [ 16.988998] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 16.989046] Call Trace: [ 16.989088] <TASK> [ 16.989112] dump_stack_lvl+0x73/0xb0 [ 16.989152] print_report+0xd1/0x650 [ 16.989317] ? __virt_addr_valid+0x1db/0x2d0 [ 16.989358] ? kmalloc_large_oob_right+0x2e9/0x330 [ 16.989390] ? kasan_addr_to_slab+0x11/0xa0 [ 16.989419] ? kmalloc_large_oob_right+0x2e9/0x330 [ 16.989451] kasan_report+0x141/0x180 [ 16.989482] ? kmalloc_large_oob_right+0x2e9/0x330 [ 16.989519] __asan_report_store1_noabort+0x1b/0x30 [ 16.989548] kmalloc_large_oob_right+0x2e9/0x330 [ 16.989579] ? __pfx_kmalloc_large_oob_right+0x10/0x10 [ 16.989611] ? sysvec_apic_timer_interrupt+0x50/0x90 [ 16.989651] ? trace_hardirqs_on+0x37/0xe0 [ 16.989683] ? __pfx_read_tsc+0x10/0x10 [ 16.989712] ? ktime_get_ts64+0x86/0x230 [ 16.989745] kunit_try_run_case+0x1a5/0x480 [ 16.989777] ? __pfx_kunit_try_run_case+0x10/0x10 [ 16.989836] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 16.989874] ? __kthread_parkme+0x82/0x180 [ 16.989903] ? preempt_count_sub+0x50/0x80 [ 16.989935] ? __pfx_kunit_try_run_case+0x10/0x10 [ 16.989964] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 16.989998] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 16.990033] kthread+0x337/0x6f0 [ 16.990084] ? trace_preempt_on+0x20/0xc0 [ 16.990119] ? __pfx_kthread+0x10/0x10 [ 16.990148] ? _raw_spin_unlock_irq+0x47/0x80 [ 16.990268] ? calculate_sigpending+0x7b/0xa0 [ 16.990323] ? __pfx_kthread+0x10/0x10 [ 16.990354] ret_from_fork+0x116/0x1d0 [ 16.990380] ? __pfx_kthread+0x10/0x10 [ 16.990408] ret_from_fork_asm+0x1a/0x30 [ 16.990449] </TASK> [ 16.990464] [ 17.011375] The buggy address belongs to the physical page: [ 17.011849] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1024cc [ 17.012548] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 17.013744] flags: 0x200000000000040(head|node=0|zone=2) [ 17.014333] page_type: f8(unknown) [ 17.014944] raw: 0200000000000040 0000000000000000 dead000000000122 0000000000000000 [ 17.015925] raw: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 17.016887] head: 0200000000000040 0000000000000000 dead000000000122 0000000000000000 [ 17.017666] head: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 17.018424] head: 0200000000000002 ffffea0004093301 00000000ffffffff 00000000ffffffff [ 17.019122] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 [ 17.020005] page dumped because: kasan: bad access detected [ 17.020665] [ 17.020960] Memory state around the buggy address: [ 17.021403] ffff8881024cdf00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 17.022129] ffff8881024cdf80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 17.022934] >ffff8881024ce000: 00 02 fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 17.023707] ^ [ 17.024148] ffff8881024ce080: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 17.024949] ffff8881024ce100: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 17.025589] ==================================================================
[ 47.654663] ================================================================== [ 47.666046] BUG: KASAN: slab-out-of-bounds in kmalloc_large_oob_right+0x2e8/0x330 [ 47.673583] Write of size 1 at addr cc74e00a by task kunit_try_catch/198 [ 47.680328] [ 47.681823] CPU: 0 UID: 0 PID: 198 Comm: kunit_try_catch Tainted: G B W N 6.15.0-next-20250530 #1 NONE [ 47.681854] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST [ 47.681884] Hardware name: Generic DRA74X (Flattened Device Tree) [ 47.681884] Call trace: [ 47.681884] unwind_backtrace from show_stack+0x18/0x1c [ 47.681915] show_stack from dump_stack_lvl+0x70/0x90 [ 47.681945] dump_stack_lvl from print_report+0x158/0x528 [ 47.681976] print_report from kasan_report+0xdc/0x118 [ 47.681976] kasan_report from kmalloc_large_oob_right+0x2e8/0x330 [ 47.682006] kmalloc_large_oob_right from kunit_try_run_case+0x22c/0x5a8 [ 47.682037] kunit_try_run_case from kunit_generic_run_threadfn_adapter+0xc4/0x128 [ 47.682067] kunit_generic_run_threadfn_adapter from kthread+0x464/0x810 [ 47.682098] kthread from ret_from_fork+0x14/0x20 [ 47.682098] Exception stack(0xf21d3fb0 to 0xf21d3ff8) [ 47.682128] 3fa0: 00000000 00000000 00000000 00000000 [ 47.682128] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 47.682159] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000 [ 47.682159] [ 47.788940] The buggy address belongs to the physical page: [ 47.794555] page: refcount:1 mapcount:0 mapping:00000000 index:0x0 pfn:0x8c74c [ 47.801818] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 47.809539] flags: 0x40(head|zone=0) [ 47.813140] page_type: f8(unknown) [ 47.816558] raw: 00000040 00000000 00000122 00000000 00000000 00000000 f8000000 00000001 [ 47.824707] raw: 00000000 [ 47.827362] head: 00000040 00000000 00000122 00000000 00000000 00000000 f8000000 00000001 [ 47.835601] head: 00000000 00000002 eebbf6b1 ffffffff 00000000 ffffffff 00000000 ffffffff [ 47.843811] head: 00000000 00000004 [ 47.847320] page dumped because: kasan: bad access detected [ 47.852935] [ 47.854431] Memory state around the buggy address: [ 47.859252] cc74df00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 47.865844] cc74df80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 47.872406] >cc74e000: 00 02 fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 47.878967] ^ [ 47.881774] cc74e080: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 47.888366] cc74e100: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 47.894927] ==================================================================