Hay
Date
June 18, 2025, 6:43 a.m.

Environment
qemu-arm64
qemu-x86_64

[   24.876812] ==================================================================
[   24.876908] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   24.876908] 
[   24.877742] Out-of-bounds read at 0x000000006bcaba83 (32B right of kfence-#103):
[   24.877986]  test_out_of_bounds_read+0x1c8/0x3e0
[   24.878128]  kunit_try_run_case+0x170/0x3f0
[   24.878197]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.878348]  kthread+0x328/0x630
[   24.878391]  ret_from_fork+0x10/0x20
[   24.878623] 
[   24.878677] kfence-#103: 0x0000000064c0b209-0x00000000d5ae9473, size=32, cache=kmalloc-32
[   24.878677] 
[   24.878751] allocated by task 297 on cpu 0 at 24.876501s (0.002245s ago):
[   24.878837]  test_alloc+0x29c/0x628
[   24.878883]  test_out_of_bounds_read+0x198/0x3e0
[   24.878927]  kunit_try_run_case+0x170/0x3f0
[   24.878966]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.879010]  kthread+0x328/0x630
[   24.879060]  ret_from_fork+0x10/0x20
[   24.879207] 
[   24.879268] CPU: 0 UID: 0 PID: 297 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc2-next-20250618 #1 PREEMPT 
[   24.879374] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   24.879615] Hardware name: linux,dummy-virt (DT)
[   24.879701] ==================================================================
[   24.669476] ==================================================================
[   24.669675] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   24.669675] 
[   24.669835] Out-of-bounds read at 0x00000000e5f78e1a (1B left of kfence-#101):
[   24.670501]  test_out_of_bounds_read+0x114/0x3e0
[   24.670664]  kunit_try_run_case+0x170/0x3f0
[   24.670720]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.670818]  kthread+0x328/0x630
[   24.670857]  ret_from_fork+0x10/0x20
[   24.670918] 
[   24.671250] kfence-#101: 0x00000000f3bf45a1-0x0000000002bed2e6, size=32, cache=kmalloc-32
[   24.671250] 
[   24.671508] allocated by task 297 on cpu 0 at 24.667491s (0.003952s ago):
[   24.672047]  test_alloc+0x29c/0x628
[   24.672121]  test_out_of_bounds_read+0xdc/0x3e0
[   24.672516]  kunit_try_run_case+0x170/0x3f0
[   24.672709]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.672763]  kthread+0x328/0x630
[   24.673095]  ret_from_fork+0x10/0x20
[   24.673292] 
[   24.673423] CPU: 0 UID: 0 PID: 297 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc2-next-20250618 #1 PREEMPT 
[   24.673526] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   24.673563] Hardware name: linux,dummy-virt (DT)
[   24.673621] ==================================================================
[   25.608234] ==================================================================
[   25.608448] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   25.608448] 
[   25.608693] Out-of-bounds read at 0x00000000672096f6 (1B left of kfence-#110):
[   25.608878]  test_out_of_bounds_read+0x114/0x3e0
[   25.609004]  kunit_try_run_case+0x170/0x3f0
[   25.609171]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.609313]  kthread+0x328/0x630
[   25.609768]  ret_from_fork+0x10/0x20
[   25.609854] 
[   25.609884] kfence-#110: 0x00000000b1202df7-0x0000000004b72a34, size=32, cache=test
[   25.609884] 
[   25.609944] allocated by task 299 on cpu 0 at 25.607989s (0.001951s ago):
[   25.610177]  test_alloc+0x230/0x628
[   25.610326]  test_out_of_bounds_read+0xdc/0x3e0
[   25.610606]  kunit_try_run_case+0x170/0x3f0
[   25.610771]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.610881]  kthread+0x328/0x630
[   25.611128]  ret_from_fork+0x10/0x20
[   25.611256] 
[   25.611371] CPU: 0 UID: 0 PID: 299 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc2-next-20250618 #1 PREEMPT 
[   25.611579] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   25.611656] Hardware name: linux,dummy-virt (DT)
[   25.611739] ==================================================================
[   25.711491] ==================================================================
[   25.711665] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   25.711665] 
[   25.711831] Out-of-bounds read at 0x00000000aff40815 (32B right of kfence-#111):
[   25.711978]  test_out_of_bounds_read+0x1c8/0x3e0
[   25.712093]  kunit_try_run_case+0x170/0x3f0
[   25.712177]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.712287]  kthread+0x328/0x630
[   25.712364]  ret_from_fork+0x10/0x20
[   25.712447] 
[   25.712495] kfence-#111: 0x000000003ed9b202-0x000000000fe4ae00, size=32, cache=test
[   25.712495] 
[   25.712634] allocated by task 299 on cpu 0 at 25.711346s (0.001269s ago):
[   25.712830]  test_alloc+0x230/0x628
[   25.712932]  test_out_of_bounds_read+0x198/0x3e0
[   25.713050]  kunit_try_run_case+0x170/0x3f0
[   25.713160]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.713264]  kthread+0x328/0x630
[   25.713357]  ret_from_fork+0x10/0x20
[   25.713459] 
[   25.713562] CPU: 0 UID: 0 PID: 299 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc2-next-20250618 #1 PREEMPT 
[   25.713786] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   25.713901] Hardware name: linux,dummy-virt (DT)
[   25.713995] ==================================================================

[   15.194954] ==================================================================
[   15.195384] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x126/0x4e0
[   15.195384] 
[   15.195797] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#61):
[   15.196238]  test_out_of_bounds_read+0x126/0x4e0
[   15.196486]  kunit_try_run_case+0x1a5/0x480
[   15.196698]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.196928]  kthread+0x337/0x6f0
[   15.197081]  ret_from_fork+0x116/0x1d0
[   15.197291]  ret_from_fork_asm+0x1a/0x30
[   15.197437] 
[   15.197673] kfence-#61: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   15.197673] 
[   15.198305] allocated by task 313 on cpu 0 at 15.193711s (0.004417s ago):
[   15.198850]  test_alloc+0x364/0x10f0
[   15.199025]  test_out_of_bounds_read+0xed/0x4e0
[   15.199262]  kunit_try_run_case+0x1a5/0x480
[   15.199435]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.199622]  kthread+0x337/0x6f0
[   15.199783]  ret_from_fork+0x116/0x1d0
[   15.199954]  ret_from_fork_asm+0x1a/0x30
[   15.200157] 
[   15.200323] CPU: 0 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250618 #1 PREEMPT(voluntary) 
[   15.200799] Tainted: [B]=BAD_PAGE, [N]=TEST
[   15.200960] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   15.201417] ==================================================================
[   15.609785] ==================================================================
[   15.610172] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x126/0x4e0
[   15.610172] 
[   15.610664] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#65):
[   15.610998]  test_out_of_bounds_read+0x126/0x4e0
[   15.611192]  kunit_try_run_case+0x1a5/0x480
[   15.611434]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.611759]  kthread+0x337/0x6f0
[   15.611943]  ret_from_fork+0x116/0x1d0
[   15.612149]  ret_from_fork_asm+0x1a/0x30
[   15.612461] 
[   15.612747] kfence-#65: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   15.612747] 
[   15.613070] allocated by task 315 on cpu 0 at 15.609727s (0.003341s ago):
[   15.613808]  test_alloc+0x2a6/0x10f0
[   15.614040]  test_out_of_bounds_read+0xed/0x4e0
[   15.614509]  kunit_try_run_case+0x1a5/0x480
[   15.614737]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.615055]  kthread+0x337/0x6f0
[   15.615197]  ret_from_fork+0x116/0x1d0
[   15.615484]  ret_from_fork_asm+0x1a/0x30
[   15.615630] 
[   15.615746] CPU: 0 UID: 0 PID: 315 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250618 #1 PREEMPT(voluntary) 
[   15.616244] Tainted: [B]=BAD_PAGE, [N]=TEST
[   15.616408] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   15.616781] ==================================================================
[   15.713804] ==================================================================
[   15.714177] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x216/0x4e0
[   15.714177] 
[   15.714627] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#66):
[   15.714945]  test_out_of_bounds_read+0x216/0x4e0
[   15.715155]  kunit_try_run_case+0x1a5/0x480
[   15.715351]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.715519]  kthread+0x337/0x6f0
[   15.715774]  ret_from_fork+0x116/0x1d0
[   15.715963]  ret_from_fork_asm+0x1a/0x30
[   15.716162] 
[   15.716276] kfence-#66: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   15.716276] 
[   15.716633] allocated by task 315 on cpu 0 at 15.713753s (0.002878s ago):
[   15.716931]  test_alloc+0x2a6/0x10f0
[   15.717092]  test_out_of_bounds_read+0x1e2/0x4e0
[   15.717251]  kunit_try_run_case+0x1a5/0x480
[   15.717403]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.717648]  kthread+0x337/0x6f0
[   15.717860]  ret_from_fork+0x116/0x1d0
[   15.718033]  ret_from_fork_asm+0x1a/0x30
[   15.718168] 
[   15.718297] CPU: 0 UID: 0 PID: 315 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250618 #1 PREEMPT(voluntary) 
[   15.718775] Tainted: [B]=BAD_PAGE, [N]=TEST
[   15.718949] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   15.719300] ==================================================================
[   15.505934] ==================================================================
[   15.506401] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x216/0x4e0
[   15.506401] 
[   15.506812] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#64):
[   15.507110]  test_out_of_bounds_read+0x216/0x4e0
[   15.507347]  kunit_try_run_case+0x1a5/0x480
[   15.507512]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.507759]  kthread+0x337/0x6f0
[   15.507881]  ret_from_fork+0x116/0x1d0
[   15.508056]  ret_from_fork_asm+0x1a/0x30
[   15.508258] 
[   15.508407] kfence-#64: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   15.508407] 
[   15.508698] allocated by task 313 on cpu 0 at 15.505757s (0.002938s ago):
[   15.509002]  test_alloc+0x364/0x10f0
[   15.509176]  test_out_of_bounds_read+0x1e2/0x4e0
[   15.509389]  kunit_try_run_case+0x1a5/0x480
[   15.509531]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.509729]  kthread+0x337/0x6f0
[   15.509901]  ret_from_fork+0x116/0x1d0
[   15.510083]  ret_from_fork_asm+0x1a/0x30
[   15.510362] 
[   15.510451] CPU: 0 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250618 #1 PREEMPT(voluntary) 
[   15.510882] Tainted: [B]=BAD_PAGE, [N]=TEST
[   15.511078] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   15.511446] ==================================================================