Hay
Date
July 15, 2025, 2:10 p.m.

Environment
qemu-arm64

[   76.408582] ==================================================================
[   76.409530] BUG: KASAN: global-out-of-bounds in kasan_global_oob_left+0x50/0xf4
[   76.410263] Read of size 1 at addr ffffa664876d15bd by task kunit_try_catch/153
[   76.411025] 
[   76.411264] CPU: 0 PID: 153 Comm: kunit_try_catch Tainted: G    B            N 6.1.146-rc1 #1
[   76.411998] Hardware name: linux,dummy-virt (DT)
[   76.412388] Call trace:
[   76.412838]  dump_backtrace+0xf8/0x118
[   76.413315]  show_stack+0x18/0x24
[   76.413775]  __dump_stack+0x28/0x38
[   76.414189]  dump_stack_lvl+0x54/0x6c
[   76.414627]  print_address_description+0x7c/0x1ec
[   76.415212]  print_report+0x50/0x68
[   76.415646]  kasan_report+0xac/0x100
[   76.416095]  __asan_load1+0x6c/0x70
[   76.416547]  kasan_global_oob_left+0x50/0xf4
[   76.417193]  kunit_try_run_case+0x80/0x184
[   76.417654]  kunit_generic_run_threadfn_adapter+0x30/0x4c
[   76.418228]  kthread+0x16c/0x21c
[   76.418634]  ret_from_fork+0x10/0x20
[   76.419073] 
[   76.419267] The buggy address belongs to the variable:
[   76.419690]  resource+0x5d/0x60
[   76.420165] 
[   76.420360] The buggy address ffffa664876d15bd belongs to a vmalloc virtual mapping
[   76.421277] The buggy address belongs to the physical page:
[   76.421770] page:0000000092fb1506 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x43cd1
[   76.422507] flags: 0x3fffc0000001000(reserved|node=0|zone=0|lastcpupid=0xffff)
[   76.423255] raw: 03fffc0000001000 fffffc00000f3448 fffffc00000f3448 0000000000000000
[   76.423918] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   76.424547] page dumped because: kasan: bad access detected
[   76.425003] 
[   76.425225] Memory state around the buggy address:
[   76.425667]  ffffa664876d1480: 00 00 00 00 00 00 00 00 00 00 00 00 00 f9 f9 f9
[   76.426296]  ffffa664876d1500: 04 f9 f9 f9 01 f9 f9 f9 02 f9 f9 f9 00 00 00 00
[   76.427181] >ffffa664876d1580: 00 00 00 f9 f9 f9 f9 f9 00 02 f9 f9 04 f9 f9 f9
[   76.427796]                                         ^
[   76.428266]  ffffa664876d1600: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   76.429062]  ffffa664876d1680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   76.429668] ==================================================================

[   75.466244] ==================================================================
[   75.467109] BUG: KASAN: global-out-of-bounds in kasan_global_oob_left+0x50/0xf4
[   75.467934] Read of size 1 at addr ffffa980ac4c15bd by task kunit_try_catch/153
[   75.468712] 
[   75.468940] CPU: 1 PID: 153 Comm: kunit_try_catch Tainted: G    B            N 6.1.146-rc1 #1
[   75.469646] Hardware name: linux,dummy-virt (DT)
[   75.470185] Call trace:
[   75.470458]  dump_backtrace+0xf4/0x114
[   75.470948]  show_stack+0x18/0x24
[   75.471369]  __dump_stack+0x28/0x38
[   75.471956]  dump_stack_lvl+0x50/0x68
[   75.472403]  print_address_description+0x7c/0x1ec
[   75.472959]  print_report+0x50/0x68
[   75.473476]  kasan_report+0xac/0xfc
[   75.473967]  __asan_load1+0x6c/0x70
[   75.474412]  kasan_global_oob_left+0x50/0xf4
[   75.474934]  kunit_try_run_case+0x80/0x184
[   75.475412]  kunit_generic_run_threadfn_adapter+0x30/0x4c
[   75.476151]  kthread+0x16c/0x21c
[   75.476579]  ret_from_fork+0x10/0x20
[   75.477032] 
[   75.477234] The buggy address belongs to the variable:
[   75.477675]  resource+0x5d/0x60
[   75.478119] 
[   75.478318] The buggy address ffffa980ac4c15bd belongs to a vmalloc virtual mapping
[   75.478933] The buggy address belongs to the physical page:
[   75.479388] page:0000000009454da2 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x43cc1
[   75.480368] flags: 0x3fffc0000001000(reserved|node=0|zone=0|lastcpupid=0xffff)
[   75.481095] raw: 03fffc0000001000 fffffc00000f3048 fffffc00000f3048 0000000000000000
[   75.481771] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   75.482412] page dumped because: kasan: bad access detected
[   75.482919] 
[   75.483106] Memory state around the buggy address:
[   75.483548]  ffffa980ac4c1480: 00 00 00 00 00 00 00 00 00 00 00 00 00 f9 f9 f9
[   75.484347]  ffffa980ac4c1500: 04 f9 f9 f9 01 f9 f9 f9 02 f9 f9 f9 00 00 00 00
[   75.484992] >ffffa980ac4c1580: 00 00 00 f9 f9 f9 f9 f9 00 02 f9 f9 04 f9 f9 f9
[   75.485600]                                         ^
[   75.486116]  ffffa980ac4c1600: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   75.486753]  ffffa980ac4c1680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   75.487337] ==================================================================