Date
July 15, 2025, 11:35 a.m.
Environment | |
---|---|
e850-96 | |
qemu-arm64 | |
qemu-x86_64 |
[ 37.421278] ================================================================== [ 37.430881] BUG: KASAN: slab-out-of-bounds in kmalloc_track_caller_oob_right+0x40c/0x488 [ 37.438952] Write of size 1 at addr ffff000801adde78 by task kunit_try_catch/223 [ 37.446327] [ 37.447814] CPU: 3 UID: 0 PID: 223 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6-next-20250715 #1 PREEMPT [ 37.447872] Tainted: [B]=BAD_PAGE, [N]=TEST [ 37.447889] Hardware name: WinLink E850-96 board (DT) [ 37.447910] Call trace: [ 37.447923] show_stack+0x20/0x38 (C) [ 37.447956] dump_stack_lvl+0x8c/0xd0 [ 37.447990] print_report+0x118/0x5d0 [ 37.448019] kasan_report+0xdc/0x128 [ 37.448043] __asan_report_store1_noabort+0x20/0x30 [ 37.448076] kmalloc_track_caller_oob_right+0x40c/0x488 [ 37.448110] kunit_try_run_case+0x170/0x3f0 [ 37.448140] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 37.448175] kthread+0x328/0x630 [ 37.448203] ret_from_fork+0x10/0x20 [ 37.448237] [ 37.512994] Allocated by task 223: [ 37.516381] kasan_save_stack+0x3c/0x68 [ 37.520199] kasan_save_track+0x20/0x40 [ 37.524017] kasan_save_alloc_info+0x40/0x58 [ 37.528271] __kasan_kmalloc+0xd4/0xd8 [ 37.532003] __kmalloc_node_track_caller_noprof+0x194/0x4b8 [ 37.537559] kmalloc_track_caller_oob_right+0xa8/0x488 [ 37.542680] kunit_try_run_case+0x170/0x3f0 [ 37.546847] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 37.552315] kthread+0x328/0x630 [ 37.555527] ret_from_fork+0x10/0x20 [ 37.559086] [ 37.560563] The buggy address belongs to the object at ffff000801adde00 [ 37.560563] which belongs to the cache kmalloc-128 of size 128 [ 37.573063] The buggy address is located 0 bytes to the right of [ 37.573063] allocated 120-byte region [ffff000801adde00, ffff000801adde78) [ 37.585995] [ 37.587474] The buggy address belongs to the physical page: [ 37.593033] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x881adc [ 37.601014] head: order:1 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 37.608655] flags: 0xbfffe0000000040(head|node=0|zone=2|lastcpupid=0x1ffff) [ 37.615597] page_type: f5(slab) [ 37.618734] raw: 0bfffe0000000040 ffff000800002a00 dead000000000122 0000000000000000 [ 37.626453] raw: 0000000000000000 0000000080200020 00000000f5000000 0000000000000000 [ 37.634181] head: 0bfffe0000000040 ffff000800002a00 dead000000000122 0000000000000000 [ 37.641991] head: 0000000000000000 0000000080200020 00000000f5000000 0000000000000000 [ 37.649804] head: 0bfffe0000000001 fffffdffe006b701 00000000ffffffff 00000000ffffffff [ 37.657616] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000002 [ 37.665424] page dumped because: kasan: bad access detected [ 37.670976] [ 37.672452] Memory state around the buggy address: [ 37.677232] ffff000801addd00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 37.684435] ffff000801addd80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 37.691641] >ffff000801adde00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fc [ 37.698841] ^ [ 37.705963] ffff000801adde80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 37.713167] ffff000801addf00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 37.720370] ==================================================================
[ 30.309936] ================================================================== [ 30.310009] BUG: KASAN: slab-out-of-bounds in kmalloc_track_caller_oob_right+0x40c/0x488 [ 30.310226] Write of size 1 at addr fff00000c64f4578 by task kunit_try_catch/174 [ 30.310290] [ 30.310353] CPU: 0 UID: 0 PID: 174 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6-next-20250715 #1 PREEMPT [ 30.310483] Tainted: [B]=BAD_PAGE, [N]=TEST [ 30.310574] Hardware name: linux,dummy-virt (DT) [ 30.310643] Call trace: [ 30.310713] show_stack+0x20/0x38 (C) [ 30.310809] dump_stack_lvl+0x8c/0xd0 [ 30.310887] print_report+0x118/0x5d0 [ 30.310932] kasan_report+0xdc/0x128 [ 30.311238] __asan_report_store1_noabort+0x20/0x30 [ 30.311382] kmalloc_track_caller_oob_right+0x40c/0x488 [ 30.311536] kunit_try_run_case+0x170/0x3f0 [ 30.311604] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 30.311948] kthread+0x328/0x630 [ 30.312037] ret_from_fork+0x10/0x20 [ 30.312174] [ 30.312276] Allocated by task 174: [ 30.312326] kasan_save_stack+0x3c/0x68 [ 30.312371] kasan_save_track+0x20/0x40 [ 30.312617] kasan_save_alloc_info+0x40/0x58 [ 30.312793] __kasan_kmalloc+0xd4/0xd8 [ 30.312895] __kmalloc_node_track_caller_noprof+0x194/0x4b8 [ 30.312981] kmalloc_track_caller_oob_right+0xa8/0x488 [ 30.313035] kunit_try_run_case+0x170/0x3f0 [ 30.313098] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 30.313332] kthread+0x328/0x630 [ 30.313487] ret_from_fork+0x10/0x20 [ 30.313665] [ 30.313719] The buggy address belongs to the object at fff00000c64f4500 [ 30.313719] which belongs to the cache kmalloc-128 of size 128 [ 30.313795] The buggy address is located 0 bytes to the right of [ 30.313795] allocated 120-byte region [fff00000c64f4500, fff00000c64f4578) [ 30.313870] [ 30.313897] The buggy address belongs to the physical page: [ 30.313930] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1064f4 [ 30.313983] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 30.314033] page_type: f5(slab) [ 30.314075] raw: 0bfffe0000000000 fff00000c0001a00 dead000000000122 0000000000000000 [ 30.314173] raw: 0000000000000000 0000000080100010 00000000f5000000 0000000000000000 [ 30.314310] page dumped because: kasan: bad access detected [ 30.314403] [ 30.314493] Memory state around the buggy address: [ 30.314597] fff00000c64f4400: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 30.314681] fff00000c64f4480: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 30.314740] >fff00000c64f4500: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fc [ 30.314791] ^ [ 30.314830] fff00000c64f4580: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 30.315002] fff00000c64f4600: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 30.315188] ================================================================== [ 30.316350] ================================================================== [ 30.316429] BUG: KASAN: slab-out-of-bounds in kmalloc_track_caller_oob_right+0x418/0x488 [ 30.316597] Write of size 1 at addr fff00000c64f4678 by task kunit_try_catch/174 [ 30.316653] [ 30.316806] CPU: 0 UID: 0 PID: 174 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6-next-20250715 #1 PREEMPT [ 30.316916] Tainted: [B]=BAD_PAGE, [N]=TEST [ 30.316943] Hardware name: linux,dummy-virt (DT) [ 30.316978] Call trace: [ 30.317002] show_stack+0x20/0x38 (C) [ 30.317078] dump_stack_lvl+0x8c/0xd0 [ 30.317128] print_report+0x118/0x5d0 [ 30.317172] kasan_report+0xdc/0x128 [ 30.317359] __asan_report_store1_noabort+0x20/0x30 [ 30.317420] kmalloc_track_caller_oob_right+0x418/0x488 [ 30.317511] kunit_try_run_case+0x170/0x3f0 [ 30.317558] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 30.317609] kthread+0x328/0x630 [ 30.317807] ret_from_fork+0x10/0x20 [ 30.317872] [ 30.317957] Allocated by task 174: [ 30.318024] kasan_save_stack+0x3c/0x68 [ 30.318107] kasan_save_track+0x20/0x40 [ 30.318214] kasan_save_alloc_info+0x40/0x58 [ 30.318313] __kasan_kmalloc+0xd4/0xd8 [ 30.318404] __kmalloc_node_track_caller_noprof+0x194/0x4b8 [ 30.318502] kmalloc_track_caller_oob_right+0x184/0x488 [ 30.318894] kunit_try_run_case+0x170/0x3f0 [ 30.318992] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 30.319078] kthread+0x328/0x630 [ 30.319131] ret_from_fork+0x10/0x20 [ 30.319224] [ 30.319262] The buggy address belongs to the object at fff00000c64f4600 [ 30.319262] which belongs to the cache kmalloc-128 of size 128 [ 30.319355] The buggy address is located 0 bytes to the right of [ 30.319355] allocated 120-byte region [fff00000c64f4600, fff00000c64f4678) [ 30.319418] [ 30.319448] The buggy address belongs to the physical page: [ 30.319479] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1064f4 [ 30.319678] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 30.319836] page_type: f5(slab) [ 30.319879] raw: 0bfffe0000000000 fff00000c0001a00 dead000000000122 0000000000000000 [ 30.320049] raw: 0000000000000000 0000000080100010 00000000f5000000 0000000000000000 [ 30.320176] page dumped because: kasan: bad access detected [ 30.320268] [ 30.320353] Memory state around the buggy address: [ 30.320453] fff00000c64f4500: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 30.320533] fff00000c64f4580: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 30.320644] >fff00000c64f4600: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fc [ 30.320723] ^ [ 30.320781] fff00000c64f4680: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 30.321108] fff00000c64f4700: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 30.321331] ==================================================================
[ 23.526694] ================================================================== [ 23.527220] BUG: KASAN: slab-out-of-bounds in kmalloc_track_caller_oob_right+0x4b1/0x520 [ 23.527535] Write of size 1 at addr ffff888105654a78 by task kunit_try_catch/190 [ 23.527804] [ 23.527908] CPU: 1 UID: 0 PID: 190 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6-next-20250715 #1 PREEMPT(voluntary) [ 23.527952] Tainted: [B]=BAD_PAGE, [N]=TEST [ 23.528020] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 23.528040] Call Trace: [ 23.528064] <TASK> [ 23.528078] dump_stack_lvl+0x73/0xb0 [ 23.528106] print_report+0xd1/0x610 [ 23.528127] ? __virt_addr_valid+0x1db/0x2d0 [ 23.528149] ? kmalloc_track_caller_oob_right+0x4b1/0x520 [ 23.528174] ? kasan_complete_mode_report_info+0x2a/0x200 [ 23.528200] ? kmalloc_track_caller_oob_right+0x4b1/0x520 [ 23.528224] kasan_report+0x141/0x180 [ 23.528246] ? kmalloc_track_caller_oob_right+0x4b1/0x520 [ 23.528274] __asan_report_store1_noabort+0x1b/0x30 [ 23.528298] kmalloc_track_caller_oob_right+0x4b1/0x520 [ 23.528322] ? __pfx_kmalloc_track_caller_oob_right+0x10/0x10 [ 23.528346] ? __schedule+0x10cc/0x2b60 [ 23.528367] ? __pfx_read_tsc+0x10/0x10 [ 23.528388] ? ktime_get_ts64+0x86/0x230 [ 23.528412] kunit_try_run_case+0x1a5/0x480 [ 23.528468] ? __pfx_kunit_try_run_case+0x10/0x10 [ 23.528489] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 23.528552] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 23.528665] ? __kthread_parkme+0x82/0x180 [ 23.528684] ? preempt_count_sub+0x50/0x80 [ 23.528719] ? __pfx_kunit_try_run_case+0x10/0x10 [ 23.528741] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 23.528767] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 23.528792] kthread+0x337/0x6f0 [ 23.528811] ? trace_preempt_on+0x20/0xc0 [ 23.528833] ? __pfx_kthread+0x10/0x10 [ 23.528853] ? _raw_spin_unlock_irq+0x47/0x80 [ 23.528877] ? calculate_sigpending+0x7b/0xa0 [ 23.528899] ? __pfx_kthread+0x10/0x10 [ 23.528921] ret_from_fork+0x116/0x1d0 [ 23.528939] ? __pfx_kthread+0x10/0x10 [ 23.528959] ret_from_fork_asm+0x1a/0x30 [ 23.528990] </TASK> [ 23.529000] [ 23.536675] Allocated by task 190: [ 23.536850] kasan_save_stack+0x45/0x70 [ 23.537094] kasan_save_track+0x18/0x40 [ 23.537357] kasan_save_alloc_info+0x3b/0x50 [ 23.537699] __kasan_kmalloc+0xb7/0xc0 [ 23.537922] __kmalloc_node_track_caller_noprof+0x1cb/0x500 [ 23.538181] kmalloc_track_caller_oob_right+0x19a/0x520 [ 23.538348] kunit_try_run_case+0x1a5/0x480 [ 23.538611] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 23.538881] kthread+0x337/0x6f0 [ 23.539050] ret_from_fork+0x116/0x1d0 [ 23.539254] ret_from_fork_asm+0x1a/0x30 [ 23.539446] [ 23.539544] The buggy address belongs to the object at ffff888105654a00 [ 23.539544] which belongs to the cache kmalloc-128 of size 128 [ 23.539989] The buggy address is located 0 bytes to the right of [ 23.539989] allocated 120-byte region [ffff888105654a00, ffff888105654a78) [ 23.540612] [ 23.540767] The buggy address belongs to the physical page: [ 23.541162] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x105654 [ 23.541406] flags: 0x200000000000000(node=0|zone=2) [ 23.541689] page_type: f5(slab) [ 23.541866] raw: 0200000000000000 ffff888100041a00 dead000000000122 0000000000000000 [ 23.542258] raw: 0000000000000000 0000000080100010 00000000f5000000 0000000000000000 [ 23.542701] page dumped because: kasan: bad access detected [ 23.542896] [ 23.542958] Memory state around the buggy address: [ 23.543131] ffff888105654900: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 23.543445] ffff888105654980: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 23.543741] >ffff888105654a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fc [ 23.544012] ^ [ 23.544289] ffff888105654a80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 23.544674] ffff888105654b00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 23.545092] ================================================================== [ 23.505015] ================================================================== [ 23.506185] BUG: KASAN: slab-out-of-bounds in kmalloc_track_caller_oob_right+0x4c8/0x520 [ 23.506999] Write of size 1 at addr ffff888105654978 by task kunit_try_catch/190 [ 23.507235] [ 23.507324] CPU: 1 UID: 0 PID: 190 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6-next-20250715 #1 PREEMPT(voluntary) [ 23.507375] Tainted: [B]=BAD_PAGE, [N]=TEST [ 23.507387] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 23.507408] Call Trace: [ 23.507422] <TASK> [ 23.507441] dump_stack_lvl+0x73/0xb0 [ 23.507473] print_report+0xd1/0x610 [ 23.507496] ? __virt_addr_valid+0x1db/0x2d0 [ 23.507555] ? kmalloc_track_caller_oob_right+0x4c8/0x520 [ 23.507617] ? kasan_complete_mode_report_info+0x2a/0x200 [ 23.507645] ? kmalloc_track_caller_oob_right+0x4c8/0x520 [ 23.507670] kasan_report+0x141/0x180 [ 23.507692] ? kmalloc_track_caller_oob_right+0x4c8/0x520 [ 23.507720] __asan_report_store1_noabort+0x1b/0x30 [ 23.507744] kmalloc_track_caller_oob_right+0x4c8/0x520 [ 23.507768] ? __pfx_kmalloc_track_caller_oob_right+0x10/0x10 [ 23.507793] ? __schedule+0x10cc/0x2b60 [ 23.507814] ? __pfx_read_tsc+0x10/0x10 [ 23.507857] ? ktime_get_ts64+0x86/0x230 [ 23.507911] kunit_try_run_case+0x1a5/0x480 [ 23.507936] ? __pfx_kunit_try_run_case+0x10/0x10 [ 23.507969] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 23.507991] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 23.508012] ? __kthread_parkme+0x82/0x180 [ 23.508033] ? preempt_count_sub+0x50/0x80 [ 23.508056] ? __pfx_kunit_try_run_case+0x10/0x10 [ 23.508078] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 23.508104] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 23.508129] kthread+0x337/0x6f0 [ 23.508148] ? trace_preempt_on+0x20/0xc0 [ 23.508172] ? __pfx_kthread+0x10/0x10 [ 23.508192] ? _raw_spin_unlock_irq+0x47/0x80 [ 23.508216] ? calculate_sigpending+0x7b/0xa0 [ 23.508240] ? __pfx_kthread+0x10/0x10 [ 23.508261] ret_from_fork+0x116/0x1d0 [ 23.508279] ? __pfx_kthread+0x10/0x10 [ 23.508299] ret_from_fork_asm+0x1a/0x30 [ 23.508331] </TASK> [ 23.508343] [ 23.517626] Allocated by task 190: [ 23.517776] kasan_save_stack+0x45/0x70 [ 23.518070] kasan_save_track+0x18/0x40 [ 23.518206] kasan_save_alloc_info+0x3b/0x50 [ 23.518406] __kasan_kmalloc+0xb7/0xc0 [ 23.518736] __kmalloc_node_track_caller_noprof+0x1cb/0x500 [ 23.518925] kmalloc_track_caller_oob_right+0x99/0x520 [ 23.519164] kunit_try_run_case+0x1a5/0x480 [ 23.519438] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 23.519759] kthread+0x337/0x6f0 [ 23.519983] ret_from_fork+0x116/0x1d0 [ 23.520202] ret_from_fork_asm+0x1a/0x30 [ 23.520435] [ 23.520544] The buggy address belongs to the object at ffff888105654900 [ 23.520544] which belongs to the cache kmalloc-128 of size 128 [ 23.521072] The buggy address is located 0 bytes to the right of [ 23.521072] allocated 120-byte region [ffff888105654900, ffff888105654978) [ 23.521843] [ 23.521950] The buggy address belongs to the physical page: [ 23.522216] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x105654 [ 23.522503] flags: 0x200000000000000(node=0|zone=2) [ 23.522736] page_type: f5(slab) [ 23.522897] raw: 0200000000000000 ffff888100041a00 dead000000000122 0000000000000000 [ 23.523193] raw: 0000000000000000 0000000080100010 00000000f5000000 0000000000000000 [ 23.523493] page dumped because: kasan: bad access detected [ 23.523815] [ 23.523907] Memory state around the buggy address: [ 23.524129] ffff888105654800: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 23.524424] ffff888105654880: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 23.524651] >ffff888105654900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fc [ 23.524950] ^ [ 23.525321] ffff888105654980: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 23.525694] ffff888105654a00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 23.525987] ==================================================================