Hay
Date
June 24, 2025, 12:47 p.m.

Environment
qemu-arm64

[   28.709139] ==================================================================
[   28.709278] BUG: KASAN: vmalloc-out-of-bounds in vmalloc_oob+0x578/0x5d0
[   28.709427] Read of size 1 at addr ffff80008010b7f3 by task kunit_try_catch/271
[   28.709839] 
[   28.710186] CPU: 1 UID: 0 PID: 271 Comm: kunit_try_catch Tainted: G    B            N  6.15.4-rc2 #1 PREEMPT 
[   28.710303] Tainted: [B]=BAD_PAGE, [N]=TEST
[   28.710368] Hardware name: linux,dummy-virt (DT)
[   28.710484] Call trace:
[   28.710547]  show_stack+0x20/0x38 (C)
[   28.710690]  dump_stack_lvl+0x8c/0xd0
[   28.710810]  print_report+0x310/0x608
[   28.710923]  kasan_report+0xdc/0x128
[   28.711036]  __asan_report_load1_noabort+0x20/0x30
[   28.711164]  vmalloc_oob+0x578/0x5d0
[   28.711277]  kunit_try_run_case+0x170/0x3f0
[   28.711420]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   28.711560]  kthread+0x328/0x630
[   28.711685]  ret_from_fork+0x10/0x20
[   28.711983] 
[   28.712050] The buggy address belongs to the virtual mapping at
[   28.712050]  [ffff80008010b000, ffff80008010d000) created by:
[   28.712050]  vmalloc_oob+0x98/0x5d0
[   28.712358] 
[   28.712477] The buggy address belongs to the physical page:
[   28.712566] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x105a85
[   28.712744] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   28.712975] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   28.713146] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   28.713271] page dumped because: kasan: bad access detected
[   28.713370] 
[   28.713453] Memory state around the buggy address:
[   28.713545]  ffff80008010b680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   28.713677]  ffff80008010b700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   28.713879] >ffff80008010b780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 f8
[   28.714073]                                                              ^
[   28.714186]  ffff80008010b800: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   28.714304]  ffff80008010b880: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   28.714425] ==================================================================
[   28.715633] ==================================================================
[   28.715942] BUG: KASAN: vmalloc-out-of-bounds in vmalloc_oob+0x51c/0x5d0
[   28.716141] Read of size 1 at addr ffff80008010b7f8 by task kunit_try_catch/271
[   28.716271] 
[   28.716356] CPU: 1 UID: 0 PID: 271 Comm: kunit_try_catch Tainted: G    B            N  6.15.4-rc2 #1 PREEMPT 
[   28.717469] Tainted: [B]=BAD_PAGE, [N]=TEST
[   28.717579] Hardware name: linux,dummy-virt (DT)
[   28.717708] Call trace:
[   28.717783]  show_stack+0x20/0x38 (C)
[   28.717916]  dump_stack_lvl+0x8c/0xd0
[   28.718061]  print_report+0x310/0x608
[   28.718184]  kasan_report+0xdc/0x128
[   28.718299]  __asan_report_load1_noabort+0x20/0x30
[   28.718509]  vmalloc_oob+0x51c/0x5d0
[   28.718632]  kunit_try_run_case+0x170/0x3f0
[   28.718791]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   28.719171]  kthread+0x328/0x630
[   28.719324]  ret_from_fork+0x10/0x20
[   28.719517] 
[   28.719624] The buggy address belongs to the virtual mapping at
[   28.719624]  [ffff80008010b000, ffff80008010d000) created by:
[   28.719624]  vmalloc_oob+0x98/0x5d0
[   28.719912] 
[   28.719976] The buggy address belongs to the physical page:
[   28.720067] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x105a85
[   28.720253] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   28.720440] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   28.720697] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   28.720815] page dumped because: kasan: bad access detected
[   28.720917] 
[   28.721052] Memory state around the buggy address:
[   28.721221]  ffff80008010b680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   28.721346]  ffff80008010b700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   28.721523] >ffff80008010b780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 f8
[   28.721675]                                                                 ^
[   28.721798]  ffff80008010b800: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   28.721928]  ffff80008010b880: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   28.722033] ==================================================================