Date
July 3, 2025, 11:10 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 22.441600] ================================================================== [ 22.441990] BUG: KASAN: stack-out-of-bounds in kasan_stack_oob+0x238/0x270 [ 22.442144] Read of size 1 at addr ffff800080977c2a by task kunit_try_catch/249 [ 22.442250] [ 22.443054] CPU: 0 UID: 0 PID: 249 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4 #1 PREEMPT [ 22.443350] Tainted: [B]=BAD_PAGE, [N]=TEST [ 22.443406] Hardware name: linux,dummy-virt (DT) [ 22.443478] Call trace: [ 22.443559] show_stack+0x20/0x38 (C) [ 22.443779] dump_stack_lvl+0x8c/0xd0 [ 22.443892] print_report+0x310/0x608 [ 22.444017] kasan_report+0xdc/0x128 [ 22.444145] __asan_report_load1_noabort+0x20/0x30 [ 22.444446] kasan_stack_oob+0x238/0x270 [ 22.444588] kunit_try_run_case+0x170/0x3f0 [ 22.444750] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 22.444882] kthread+0x328/0x630 [ 22.444987] ret_from_fork+0x10/0x20 [ 22.447570] [ 22.448000] The buggy address belongs to stack of task kunit_try_catch/249 [ 22.449557] and is located at offset 138 in frame: [ 22.449851] kasan_stack_oob+0x0/0x270 [ 22.450274] [ 22.450376] This frame has 4 objects: [ 22.450580] [48, 49) '__assertion' [ 22.450832] [64, 72) 'array' [ 22.450926] [96, 112) '__assertion' [ 22.451046] [128, 138) 'stack_array' [ 22.451152] [ 22.451253] The buggy address belongs to the virtual mapping at [ 22.451253] [ffff800080970000, ffff800080979000) created by: [ 22.451253] kernel_clone+0x150/0x7a8 [ 22.451457] [ 22.451553] The buggy address belongs to the physical page: [ 22.451652] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1077c7 [ 22.451787] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 22.451930] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 22.452110] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 22.452237] page dumped because: kasan: bad access detected [ 22.452319] [ 22.452367] Memory state around the buggy address: [ 22.452468] ffff800080977b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 22.452598] ffff800080977b80: 00 00 00 00 f1 f1 f1 f1 f1 f1 01 f2 00 f2 f2 f2 [ 22.452743] >ffff800080977c00: 00 00 f2 f2 00 02 f3 f3 00 00 00 00 00 00 00 00 [ 22.452867] ^ [ 22.452947] ffff800080977c80: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 00 f2 f2 [ 22.453074] ffff800080977d00: 00 00 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 22.453182] ==================================================================
[ 13.373576] ================================================================== [ 13.374825] BUG: KASAN: stack-out-of-bounds in kasan_stack_oob+0x2b5/0x300 [ 13.375064] Read of size 1 at addr ffff888103a3fd02 by task kunit_try_catch/266 [ 13.376096] [ 13.376469] CPU: 1 UID: 0 PID: 266 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4 #1 PREEMPT(voluntary) [ 13.376520] Tainted: [B]=BAD_PAGE, [N]=TEST [ 13.376533] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 13.376555] Call Trace: [ 13.376567] <TASK> [ 13.376586] dump_stack_lvl+0x73/0xb0 [ 13.376613] print_report+0xd1/0x650 [ 13.376636] ? __virt_addr_valid+0x1db/0x2d0 [ 13.376659] ? kasan_stack_oob+0x2b5/0x300 [ 13.376678] ? kasan_addr_to_slab+0x11/0xa0 [ 13.376698] ? kasan_stack_oob+0x2b5/0x300 [ 13.376718] kasan_report+0x141/0x180 [ 13.376740] ? kasan_stack_oob+0x2b5/0x300 [ 13.376764] __asan_report_load1_noabort+0x18/0x20 [ 13.376788] kasan_stack_oob+0x2b5/0x300 [ 13.376806] ? __pfx_kasan_stack_oob+0x10/0x10 [ 13.376826] ? finish_task_switch.isra.0+0x153/0x700 [ 13.376846] ? __switch_to+0x47/0xf50 [ 13.376872] ? __schedule+0x10cc/0x2b60 [ 13.376894] ? __pfx_read_tsc+0x10/0x10 [ 13.376914] ? ktime_get_ts64+0x86/0x230 [ 13.376937] kunit_try_run_case+0x1a5/0x480 [ 13.376959] ? __pfx_kunit_try_run_case+0x10/0x10 [ 13.376980] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 13.377002] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 13.377024] ? __kthread_parkme+0x82/0x180 [ 13.377043] ? preempt_count_sub+0x50/0x80 [ 13.377065] ? __pfx_kunit_try_run_case+0x10/0x10 [ 13.377088] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 13.377108] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 13.377258] kthread+0x337/0x6f0 [ 13.377286] ? trace_preempt_on+0x20/0xc0 [ 13.377311] ? __pfx_kthread+0x10/0x10 [ 13.377344] ? _raw_spin_unlock_irq+0x47/0x80 [ 13.377366] ? calculate_sigpending+0x7b/0xa0 [ 13.377421] ? __pfx_kthread+0x10/0x10 [ 13.377442] ret_from_fork+0x116/0x1d0 [ 13.377461] ? __pfx_kthread+0x10/0x10 [ 13.377481] ret_from_fork_asm+0x1a/0x30 [ 13.377511] </TASK> [ 13.377522] [ 13.394102] The buggy address belongs to stack of task kunit_try_catch/266 [ 13.395105] and is located at offset 138 in frame: [ 13.395840] kasan_stack_oob+0x0/0x300 [ 13.396549] [ 13.396646] This frame has 4 objects: [ 13.396860] [48, 49) '__assertion' [ 13.396883] [64, 72) 'array' [ 13.397012] [96, 112) '__assertion' [ 13.397449] [128, 138) 'stack_array' [ 13.397943] [ 13.398860] The buggy address belongs to the physical page: [ 13.399542] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103a3f [ 13.400008] flags: 0x200000000000000(node=0|zone=2) [ 13.400428] raw: 0200000000000000 ffffea00040e8fc8 ffffea00040e8fc8 0000000000000000 [ 13.400756] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 13.401042] page dumped because: kasan: bad access detected [ 13.401607] [ 13.402105] Memory state around the buggy address: [ 13.402661] ffff888103a3fc00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 13.403090] ffff888103a3fc80: f1 f1 f1 f1 f1 01 f2 00 f2 f2 f2 00 00 f2 f2 00 [ 13.403677] >ffff888103a3fd00: 02 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 13.403964] ^ [ 13.404115] ffff888103a3fd80: f1 f1 f1 00 00 f2 f2 00 00 f2 f2 00 00 f3 f3 00 [ 13.404426] ffff888103a3fe00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 13.404721] ==================================================================