Date
June 2, 2025, 2:11 p.m.
Environment | |
---|---|
e850-96 | |
qemu-arm64 | |
qemu-x86_64 |
[ 18.789078] ================================================================== [ 18.800028] BUG: KASAN: slab-out-of-bounds in kmalloc_big_oob_right+0x2a4/0x2f0 [ 18.807310] Write of size 1 at addr ffff00080270df00 by task kunit_try_catch/191 [ 18.814686] [ 18.816172] CPU: 7 UID: 0 PID: 191 Comm: kunit_try_catch Tainted: G B N 6.15.1-rc1 #1 PREEMPT [ 18.816225] Tainted: [B]=BAD_PAGE, [N]=TEST [ 18.816240] Hardware name: WinLink E850-96 board (DT) [ 18.816261] Call trace: [ 18.816274] show_stack+0x20/0x38 (C) [ 18.816309] dump_stack_lvl+0x8c/0xd0 [ 18.816344] print_report+0x118/0x608 [ 18.816374] kasan_report+0xdc/0x128 [ 18.816401] __asan_report_store1_noabort+0x20/0x30 [ 18.816438] kmalloc_big_oob_right+0x2a4/0x2f0 [ 18.816470] kunit_try_run_case+0x170/0x3f0 [ 18.816505] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 18.816542] kthread+0x328/0x630 [ 18.816578] ret_from_fork+0x10/0x20 [ 18.816614] [ 18.879357] Allocated by task 191: [ 18.882743] kasan_save_stack+0x3c/0x68 [ 18.886560] kasan_save_track+0x20/0x40 [ 18.890380] kasan_save_alloc_info+0x40/0x58 [ 18.894633] __kasan_kmalloc+0xd4/0xd8 [ 18.898366] __kmalloc_cache_noprof+0x16c/0x3c0 [ 18.902879] kmalloc_big_oob_right+0xb8/0x2f0 [ 18.907220] kunit_try_run_case+0x170/0x3f0 [ 18.911386] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 18.916855] kthread+0x328/0x630 [ 18.920066] ret_from_fork+0x10/0x20 [ 18.923625] [ 18.925103] The buggy address belongs to the object at ffff00080270c000 [ 18.925103] which belongs to the cache kmalloc-8k of size 8192 [ 18.937603] The buggy address is located 0 bytes to the right of [ 18.937603] allocated 7936-byte region [ffff00080270c000, ffff00080270df00) [ 18.950622] [ 18.952101] The buggy address belongs to the physical page: [ 18.957657] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x882708 [ 18.965642] head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 18.973281] flags: 0xbfffe0000000040(head|node=0|zone=2|lastcpupid=0x1ffff) [ 18.980224] page_type: f5(slab) [ 18.983362] raw: 0bfffe0000000040 ffff000800003180 dead000000000122 0000000000000000 [ 18.991079] raw: 0000000000000000 0000000080020002 00000000f5000000 0000000000000000 [ 18.998805] head: 0bfffe0000000040 ffff000800003180 dead000000000122 0000000000000000 [ 19.006616] head: 0000000000000000 0000000080020002 00000000f5000000 0000000000000000 [ 19.014430] head: 0bfffe0000000003 fffffdffe009c201 00000000ffffffff 00000000ffffffff [ 19.022242] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000008 [ 19.030047] page dumped because: kasan: bad access detected [ 19.035604] [ 19.037080] Memory state around the buggy address: [ 19.041859] ffff00080270de00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 19.049061] ffff00080270de80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 19.056267] >ffff00080270df00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.063467] ^ [ 19.066682] ffff00080270df80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.073888] ffff00080270e000: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.081090] ==================================================================
[ 17.395541] ================================================================== [ 17.395629] BUG: KASAN: slab-out-of-bounds in kmalloc_big_oob_right+0x2a4/0x2f0 [ 17.395691] Write of size 1 at addr fff00000c7789f00 by task kunit_try_catch/147 [ 17.395747] [ 17.395780] CPU: 1 UID: 0 PID: 147 Comm: kunit_try_catch Tainted: G B N 6.15.1-rc1 #1 PREEMPT [ 17.395862] Tainted: [B]=BAD_PAGE, [N]=TEST [ 17.395888] Hardware name: linux,dummy-virt (DT) [ 17.395927] Call trace: [ 17.395951] show_stack+0x20/0x38 (C) [ 17.396008] dump_stack_lvl+0x8c/0xd0 [ 17.396158] print_report+0x118/0x608 [ 17.396282] kasan_report+0xdc/0x128 [ 17.396334] __asan_report_store1_noabort+0x20/0x30 [ 17.396452] kmalloc_big_oob_right+0x2a4/0x2f0 [ 17.396520] kunit_try_run_case+0x170/0x3f0 [ 17.396605] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 17.396679] kthread+0x328/0x630 [ 17.396726] ret_from_fork+0x10/0x20 [ 17.396784] [ 17.396803] Allocated by task 147: [ 17.396837] kasan_save_stack+0x3c/0x68 [ 17.397051] kasan_save_track+0x20/0x40 [ 17.397100] kasan_save_alloc_info+0x40/0x58 [ 17.397182] __kasan_kmalloc+0xd4/0xd8 [ 17.397231] __kmalloc_cache_noprof+0x16c/0x3c0 [ 17.397282] kmalloc_big_oob_right+0xb8/0x2f0 [ 17.397340] kunit_try_run_case+0x170/0x3f0 [ 17.397391] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 17.397436] kthread+0x328/0x630 [ 17.397499] ret_from_fork+0x10/0x20 [ 17.397536] [ 17.397556] The buggy address belongs to the object at fff00000c7788000 [ 17.397556] which belongs to the cache kmalloc-8k of size 8192 [ 17.397751] The buggy address is located 0 bytes to the right of [ 17.397751] allocated 7936-byte region [fff00000c7788000, fff00000c7789f00) [ 17.397880] [ 17.397919] The buggy address belongs to the physical page: [ 17.397983] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x107788 [ 17.398085] head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 17.398168] flags: 0xbfffe0000000040(head|node=0|zone=2|lastcpupid=0x1ffff) [ 17.398223] page_type: f5(slab) [ 17.398285] raw: 0bfffe0000000040 fff00000c0002280 dead000000000122 0000000000000000 [ 17.398334] raw: 0000000000000000 0000000080020002 00000000f5000000 0000000000000000 [ 17.398522] head: 0bfffe0000000040 fff00000c0002280 dead000000000122 0000000000000000 [ 17.398625] head: 0000000000000000 0000000080020002 00000000f5000000 0000000000000000 [ 17.398743] head: 0bfffe0000000003 ffffc1ffc31de201 00000000ffffffff 00000000ffffffff [ 17.398824] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000008 [ 17.398901] page dumped because: kasan: bad access detected [ 17.398991] [ 17.399035] Memory state around the buggy address: [ 17.399093] fff00000c7789e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 17.399205] fff00000c7789e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 17.399294] >fff00000c7789f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 17.399361] ^ [ 17.399517] fff00000c7789f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 17.399684] fff00000c778a000: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 17.399811] ==================================================================
[ 15.699655] ================================================================== [ 15.700323] BUG: KASAN: slab-out-of-bounds in kmalloc_big_oob_right+0x316/0x370 [ 15.701047] Write of size 1 at addr ffff8881039c1f00 by task kunit_try_catch/165 [ 15.701427] [ 15.701965] CPU: 1 UID: 0 PID: 165 Comm: kunit_try_catch Tainted: G B N 6.15.1-rc1 #1 PREEMPT(voluntary) [ 15.702554] Tainted: [B]=BAD_PAGE, [N]=TEST [ 15.702573] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 15.702600] Call Trace: [ 15.702618] <TASK> [ 15.702643] dump_stack_lvl+0x73/0xb0 [ 15.702692] print_report+0xd1/0x650 [ 15.702718] ? __virt_addr_valid+0x1db/0x2d0 [ 15.702745] ? kmalloc_big_oob_right+0x316/0x370 [ 15.702796] ? kasan_complete_mode_report_info+0x2a/0x200 [ 15.702820] ? kmalloc_big_oob_right+0x316/0x370 [ 15.702845] kasan_report+0x141/0x180 [ 15.702870] ? kmalloc_big_oob_right+0x316/0x370 [ 15.702899] __asan_report_store1_noabort+0x1b/0x30 [ 15.702922] kmalloc_big_oob_right+0x316/0x370 [ 15.702947] ? __pfx_kmalloc_big_oob_right+0x10/0x10 [ 15.702974] ? __pfx_kmalloc_big_oob_right+0x10/0x10 [ 15.703003] kunit_try_run_case+0x1a5/0x480 [ 15.703032] ? __pfx_kunit_try_run_case+0x10/0x10 [ 15.703055] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 15.703081] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 15.703110] ? __kthread_parkme+0x82/0x180 [ 15.703169] ? preempt_count_sub+0x50/0x80 [ 15.703199] ? __pfx_kunit_try_run_case+0x10/0x10 [ 15.703225] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 15.703249] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 15.703272] kthread+0x337/0x6f0 [ 15.703291] ? trace_preempt_on+0x20/0xc0 [ 15.703318] ? __pfx_kthread+0x10/0x10 [ 15.703338] ? _raw_spin_unlock_irq+0x47/0x80 [ 15.703360] ? calculate_sigpending+0x7b/0xa0 [ 15.703385] ? __pfx_kthread+0x10/0x10 [ 15.703405] ret_from_fork+0x41/0x80 [ 15.703430] ? __pfx_kthread+0x10/0x10 [ 15.703449] ret_from_fork_asm+0x1a/0x30 [ 15.703483] </TASK> [ 15.703498] [ 15.715517] Allocated by task 165: [ 15.715989] kasan_save_stack+0x45/0x70 [ 15.716519] kasan_save_track+0x18/0x40 [ 15.716912] kasan_save_alloc_info+0x3b/0x50 [ 15.717528] __kasan_kmalloc+0xb7/0xc0 [ 15.717951] __kmalloc_cache_noprof+0x189/0x420 [ 15.718490] kmalloc_big_oob_right+0xa9/0x370 [ 15.718804] kunit_try_run_case+0x1a5/0x480 [ 15.719011] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 15.719250] kthread+0x337/0x6f0 [ 15.719398] ret_from_fork+0x41/0x80 [ 15.719558] ret_from_fork_asm+0x1a/0x30 [ 15.719746] [ 15.719870] The buggy address belongs to the object at ffff8881039c0000 [ 15.719870] which belongs to the cache kmalloc-8k of size 8192 [ 15.720274] The buggy address is located 0 bytes to the right of [ 15.720274] allocated 7936-byte region [ffff8881039c0000, ffff8881039c1f00) [ 15.720670] [ 15.721964] The buggy address belongs to the physical page: [ 15.722840] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1039c0 [ 15.723991] head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 15.724951] flags: 0x200000000000040(head|node=0|zone=2) [ 15.725799] page_type: f5(slab) [ 15.726408] raw: 0200000000000040 ffff888100042280 dead000000000122 0000000000000000 [ 15.727941] raw: 0000000000000000 0000000080020002 00000000f5000000 0000000000000000 [ 15.728979] head: 0200000000000040 ffff888100042280 dead000000000122 0000000000000000 [ 15.730071] head: 0000000000000000 0000000080020002 00000000f5000000 0000000000000000 [ 15.731395] head: 0200000000000003 ffffea00040e7001 00000000ffffffff 00000000ffffffff [ 15.732032] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000008 [ 15.732397] page dumped because: kasan: bad access detected [ 15.732594] [ 15.732687] Memory state around the buggy address: [ 15.733569] ffff8881039c1e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 15.734525] ffff8881039c1e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 15.735022] >ffff8881039c1f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 15.735561] ^ [ 15.735930] ffff8881039c1f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 15.736423] ffff8881039c2000: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 15.736915] ==================================================================