Date
May 13, 2025, 12:07 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 21.293414] ================================================================== [ 21.293529] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x230/0x270 [ 21.294052] Read of size 1 at addr ffff99d6cad2e60d by task kunit_try_catch/245 [ 21.294258] [ 21.294341] CPU: 1 UID: 0 PID: 245 Comm: kunit_try_catch Tainted: G B N 6.15.0-rc6-next-20250513 #1 PREEMPT [ 21.294444] Tainted: [B]=BAD_PAGE, [N]=TEST [ 21.294853] Hardware name: linux,dummy-virt (DT) [ 21.294894] Call trace: [ 21.294925] show_stack+0x20/0x38 (C) [ 21.295153] dump_stack_lvl+0x8c/0xd0 [ 21.295222] print_report+0x310/0x608 [ 21.295279] kasan_report+0xdc/0x128 [ 21.295328] __asan_report_load1_noabort+0x20/0x30 [ 21.296015] kasan_global_oob_right+0x230/0x270 [ 21.296114] kunit_try_run_case+0x170/0x3f0 [ 21.296179] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 21.296459] kthread+0x328/0x630 [ 21.296686] ret_from_fork+0x10/0x20 [ 21.296773] [ 21.297030] The buggy address belongs to the variable: [ 21.297193] global_array+0xd/0x40 [ 21.297535] [ 21.297669] The buggy address belongs to the virtual mapping at [ 21.297669] [ffff99d6c8ee0000, ffff99d6cade1000) created by: [ 21.297669] paging_init+0x66c/0x7d0 [ 21.297978] [ 21.298621] The buggy address belongs to the physical page: [ 21.298834] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x47d2e [ 21.299032] flags: 0x3fffe0000002000(reserved|node=0|zone=0|lastcpupid=0x1ffff) [ 21.299258] raw: 03fffe0000002000 ffffc1ffc01f4b88 ffffc1ffc01f4b88 0000000000000000 [ 21.299462] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 21.299521] page dumped because: kasan: bad access detected [ 21.299564] [ 21.299734] Memory state around the buggy address: [ 21.299784] ffff99d6cad2e500: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 21.299850] ffff99d6cad2e580: 00 00 00 00 00 00 00 00 02 f9 f9 f9 f9 f9 f9 f9 [ 21.300126] >ffff99d6cad2e600: 00 02 f9 f9 f9 f9 f9 f9 04 f9 f9 f9 f9 f9 f9 f9 [ 21.300301] ^ [ 21.300355] ffff99d6cad2e680: 00 f9 f9 f9 f9 f9 f9 f9 01 f9 f9 f9 f9 f9 f9 f9 [ 21.300409] ffff99d6cad2e700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 21.300451] ==================================================================
[ 12.903330] ================================================================== [ 12.904106] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x286/0x2d0 [ 12.904517] Read of size 1 at addr ffffffff9445ef0d by task kunit_try_catch/262 [ 12.905009] [ 12.905155] CPU: 0 UID: 0 PID: 262 Comm: kunit_try_catch Tainted: G B N 6.15.0-rc6-next-20250513 #1 PREEMPT(voluntary) [ 12.905218] Tainted: [B]=BAD_PAGE, [N]=TEST [ 12.905231] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 12.905253] Call Trace: [ 12.905267] <TASK> [ 12.905283] dump_stack_lvl+0x73/0xb0 [ 12.905314] print_report+0xd1/0x650 [ 12.905338] ? __virt_addr_valid+0x1db/0x2d0 [ 12.905364] ? kasan_global_oob_right+0x286/0x2d0 [ 12.905387] ? kasan_addr_to_slab+0x11/0xa0 [ 12.905410] ? kasan_global_oob_right+0x286/0x2d0 [ 12.905432] kasan_report+0x141/0x180 [ 12.905455] ? kasan_global_oob_right+0x286/0x2d0 [ 12.905483] __asan_report_load1_noabort+0x18/0x20 [ 12.905504] kasan_global_oob_right+0x286/0x2d0 [ 12.905609] ? __pfx_kasan_global_oob_right+0x10/0x10 [ 12.905650] ? __kasan_check_write+0x18/0x20 [ 12.905671] ? queued_spin_lock_slowpath+0x116/0xb40 [ 12.905697] ? __pfx_queued_spin_lock_slowpath+0x10/0x10 [ 12.905722] ? __pfx_read_tsc+0x10/0x10 [ 12.905745] ? ktime_get_ts64+0x86/0x230 [ 12.905772] kunit_try_run_case+0x1a5/0x480 [ 12.905798] ? __pfx_kunit_try_run_case+0x10/0x10 [ 12.905820] ? _raw_spin_lock_irqsave+0xf9/0x100 [ 12.905842] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 12.905865] ? __kthread_parkme+0x82/0x180 [ 12.905887] ? preempt_count_sub+0x50/0x80 [ 12.905912] ? __pfx_kunit_try_run_case+0x10/0x10 [ 12.905937] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 12.905960] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 12.905984] kthread+0x337/0x6f0 [ 12.906004] ? trace_preempt_on+0x20/0xc0 [ 12.906029] ? __pfx_kthread+0x10/0x10 [ 12.906050] ? _raw_spin_unlock_irq+0x47/0x80 [ 12.906071] ? calculate_sigpending+0x7b/0xa0 [ 12.906095] ? __pfx_kthread+0x10/0x10 [ 12.906117] ret_from_fork+0x116/0x1d0 [ 12.906135] ? __pfx_kthread+0x10/0x10 [ 12.906158] ret_from_fork_asm+0x1a/0x30 [ 12.906199] </TASK> [ 12.906211] [ 12.914506] The buggy address belongs to the variable: [ 12.914752] global_array+0xd/0x40 [ 12.914943] [ 12.915035] The buggy address belongs to the physical page: [ 12.915399] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x16e65e [ 12.915656] flags: 0x200000000002000(reserved|node=0|zone=2) [ 12.915933] raw: 0200000000002000 ffffea0005b99788 ffffea0005b99788 0000000000000000 [ 12.916330] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 12.916558] page dumped because: kasan: bad access detected [ 12.916745] [ 12.916839] Memory state around the buggy address: [ 12.917063] ffffffff9445ee00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 12.917693] ffffffff9445ee80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 12.917920] >ffffffff9445ef00: 00 02 f9 f9 f9 f9 f9 f9 00 f9 f9 f9 f9 f9 f9 f9 [ 12.918204] ^ [ 12.918386] ffffffff9445ef80: 04 f9 f9 f9 f9 f9 f9 f9 02 f9 f9 f9 f9 f9 f9 f9 [ 12.918994] ffffffff9445f000: 01 f9 f9 f9 f9 f9 f9 f9 00 00 00 00 00 00 00 00 [ 12.919461] ==================================================================