Date
Feb. 5, 2025, 2:09 p.m.
Environment | |
---|---|
qemu-arm64 |
[ 181.143885] ================================================================== [ 181.147530] BUG: KASAN: stack-out-of-bounds in kasan_stack_oob+0xbc/0x180 [ 181.149749] Read of size 1 at addr ffff8000807b7cfa by task kunit_try_catch/184 [ 181.151691] [ 181.152336] CPU: 1 PID: 184 Comm: kunit_try_catch Tainted: G B N 6.6.76-rc1 #1 [ 181.154124] Hardware name: linux,dummy-virt (DT) [ 181.155256] Call trace: [ 181.156005] dump_backtrace+0x9c/0x128 [ 181.157106] show_stack+0x20/0x38 [ 181.158120] dump_stack_lvl+0x60/0xb0 [ 181.159306] print_report+0x314/0x5d8 [ 181.160499] kasan_report+0xc8/0x118 [ 181.161610] __asan_load1+0x60/0x70 [ 181.162752] kasan_stack_oob+0xbc/0x180 [ 181.163801] kunit_try_run_case+0xf8/0x260 [ 181.165025] kunit_generic_run_threadfn_adapter+0x38/0x60 [ 181.166459] kthread+0x18c/0x1a8 [ 181.167414] ret_from_fork+0x10/0x20 [ 181.168504] [ 181.169185] The buggy address belongs to stack of task kunit_try_catch/184 [ 181.170812] and is located at offset 138 in frame: [ 181.171901] kasan_stack_oob+0x0/0x180 [ 181.173171] [ 181.173757] This frame has 4 objects: [ 181.174843] [48, 49) '__assertion' [ 181.175119] [64, 72) 'array' [ 181.175960] [96, 112) '__assertion' [ 181.176853] [128, 138) 'stack_array' [ 181.177833] [ 181.179090] The buggy address belongs to the virtual mapping at [ 181.179090] [ffff8000807b0000, ffff8000807b9000) created by: [ 181.179090] kernel_clone+0xf8/0x540 [ 181.182186] [ 181.182830] The buggy address belongs to the physical page: [ 181.184157] page:00000000cccba421 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x105f54 [ 181.186120] flags: 0xbfffc0000000000(node=0|zone=2|lastcpupid=0xffff) [ 181.187562] page_type: 0xffffffff() [ 181.188596] raw: 0bfffc0000000000 0000000000000000 dead000000000122 0000000000000000 [ 181.190285] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 181.191855] page dumped because: kasan: bad access detected [ 181.193130] [ 181.193778] Memory state around the buggy address: [ 181.194950] ffff8000807b7b80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 181.196498] ffff8000807b7c00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f1 f1 [ 181.198121] >ffff8000807b7c80: f1 f1 f1 f1 01 f2 00 f2 f2 f2 00 00 f2 f2 00 02 [ 181.199639] ^ [ 181.201169] ffff8000807b7d00: f3 f3 00 00 00 00 00 00 00 00 00 00 f1 f1 f1 f1 [ 181.202815] ffff8000807b7d80: 00 00 f2 f2 00 00 f2 f2 00 00 f3 f3 00 00 00 00 [ 181.204299] ==================================================================