Hay
Date
Feb. 5, 2025, 2:09 p.m.

Environment
qemu-arm64

[  181.052193] ==================================================================
[  181.054732] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0xa8/0x168
[  181.056394] Read of size 1 at addr ffffc906be275d0d by task kunit_try_catch/180
[  181.058594] 
[  181.059126] CPU: 0 PID: 180 Comm: kunit_try_catch Tainted: G    B            N 6.6.76-rc1 #1
[  181.060921] Hardware name: linux,dummy-virt (DT)
[  181.062186] Call trace:
[  181.063083]  dump_backtrace+0x9c/0x128
[  181.064249]  show_stack+0x20/0x38
[  181.065386]  dump_stack_lvl+0x60/0xb0
[  181.066830]  print_report+0x314/0x5d8
[  181.068507]  kasan_report+0xc8/0x118
[  181.069659]  __asan_load1+0x60/0x70
[  181.070859]  kasan_global_oob_right+0xa8/0x168
[  181.072128]  kunit_try_run_case+0xf8/0x260
[  181.073656]  kunit_generic_run_threadfn_adapter+0x38/0x60
[  181.075816]  kthread+0x18c/0x1a8
[  181.076804]  ret_from_fork+0x10/0x20
[  181.078050] 
[  181.078761] The buggy address belongs to the variable:
[  181.079931]  global_array+0xd/0x40
[  181.081435] 
[  181.082006] The buggy address belongs to the virtual mapping at
[  181.082006]  [ffffc906bc970000, ffffc906be301000) created by:
[  181.082006]  paging_init+0x26c/0x968
[  181.086120] 
[  181.086629] The buggy address belongs to the physical page:
[  181.088053] page:0000000029e16798 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x45675
[  181.090816] flags: 0x3fffc0000004000(reserved|node=0|zone=0|lastcpupid=0xffff)
[  181.092624] page_type: 0xffffffff()
[  181.093687] raw: 03fffc0000004000 fffffc0000159d48 fffffc0000159d48 0000000000000000
[  181.095304] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[  181.096961] page dumped because: kasan: bad access detected
[  181.098296] 
[  181.098759] Memory state around the buggy address:
[  181.100368]  ffffc906be275c00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[  181.102277]  ffffc906be275c80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[  181.103820] >ffffc906be275d00: 00 02 f9 f9 f9 f9 f9 f9 02 f9 f9 f9 f9 f9 f9 f9
[  181.106138]                       ^
[  181.107142]  ffffc906be275d80: 00 f9 f9 f9 f9 f9 f9 f9 00 f9 f9 f9 f9 f9 f9 f9
[  181.108862]  ffffc906be275e00: 04 f9 f9 f9 f9 f9 f9 f9 01 f9 f9 f9 f9 f9 f9 f9
[  181.110431] ==================================================================