Hay
Date
July 19, 2025, 11:11 a.m.

Environment
qemu-arm64
qemu-x86_64

[   18.980165] ==================================================================
[   18.980243] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   18.980243] 
[   18.980325] Out-of-bounds read at 0x000000003370a403 (32B right of kfence-#80):
[   18.980380]  test_out_of_bounds_read+0x1c8/0x3e0
[   18.980431]  kunit_try_run_case+0x170/0x3f0
[   18.980475]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   18.980527]  kthread+0x328/0x630
[   18.980590]  ret_from_fork+0x10/0x20
[   18.980631] 
[   18.980664] kfence-#80: 0x00000000b9ffcffb-0x000000004c3293e7, size=32, cache=test
[   18.980664] 
[   18.980720] allocated by task 290 on cpu 1 at 18.980067s (0.000649s ago):
[   18.980788]  test_alloc+0x230/0x628
[   18.980837]  test_out_of_bounds_read+0x198/0x3e0
[   18.980881]  kunit_try_run_case+0x170/0x3f0
[   18.980926]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   18.980976]  kthread+0x328/0x630
[   18.981013]  ret_from_fork+0x10/0x20
[   18.981060] 
[   18.981103] CPU: 1 UID: 0 PID: 290 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   18.981180] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.981209] Hardware name: linux,dummy-virt (DT)
[   18.981250] ==================================================================
[   18.663880] ==================================================================
[   18.663975] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   18.663975] 
[   18.664113] Out-of-bounds read at 0x000000002af276a7 (1B left of kfence-#77):
[   18.664338]  test_out_of_bounds_read+0x114/0x3e0
[   18.664393]  kunit_try_run_case+0x170/0x3f0
[   18.664436]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   18.664488]  kthread+0x328/0x630
[   18.664543]  ret_from_fork+0x10/0x20
[   18.664788] 
[   18.665095] kfence-#77: 0x00000000198c5dd5-0x00000000c74e160e, size=32, cache=kmalloc-32
[   18.665095] 
[   18.665706] allocated by task 288 on cpu 1 at 18.663051s (0.002169s ago):
[   18.668526]  test_alloc+0x29c/0x628
[   18.669292]  test_out_of_bounds_read+0xdc/0x3e0
[   18.669527]  kunit_try_run_case+0x170/0x3f0
[   18.669698]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   18.669852]  kthread+0x328/0x630
[   18.670122]  ret_from_fork+0x10/0x20
[   18.670506] 
[   18.670801] CPU: 1 UID: 0 PID: 288 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   18.671174] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.671236] Hardware name: linux,dummy-virt (DT)
[   18.671433] ==================================================================
[   18.768498] ==================================================================
[   18.768590] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   18.768590] 
[   18.768935] Out-of-bounds read at 0x000000005d39a13a (32B right of kfence-#78):
[   18.769301]  test_out_of_bounds_read+0x1c8/0x3e0
[   18.769359]  kunit_try_run_case+0x170/0x3f0
[   18.769713]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   18.769994]  kthread+0x328/0x630
[   18.770086]  ret_from_fork+0x10/0x20
[   18.770463] 
[   18.770582] kfence-#78: 0x00000000486732ab-0x00000000b46546cd, size=32, cache=kmalloc-32
[   18.770582] 
[   18.770779] allocated by task 288 on cpu 1 at 18.767875s (0.002878s ago):
[   18.770881]  test_alloc+0x29c/0x628
[   18.770957]  test_out_of_bounds_read+0x198/0x3e0
[   18.771032]  kunit_try_run_case+0x170/0x3f0
[   18.771119]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   18.771201]  kthread+0x328/0x630
[   18.771625]  ret_from_fork+0x10/0x20
[   18.771831] 
[   18.772111] CPU: 1 UID: 0 PID: 288 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   18.772289] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.772519] Hardware name: linux,dummy-virt (DT)
[   18.772929] ==================================================================
[   18.873233] ==================================================================
[   18.873447] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   18.873447] 
[   18.873553] Out-of-bounds read at 0x00000000eeb27900 (1B left of kfence-#79):
[   18.873717]  test_out_of_bounds_read+0x114/0x3e0
[   18.874029]  kunit_try_run_case+0x170/0x3f0
[   18.874260]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   18.874335]  kthread+0x328/0x630
[   18.874571]  ret_from_fork+0x10/0x20
[   18.874683] 
[   18.874716] kfence-#79: 0x000000004ba2bf38-0x000000006256f305, size=32, cache=test
[   18.874716] 
[   18.875177] allocated by task 290 on cpu 1 at 18.872087s (0.002871s ago):
[   18.875840]  test_alloc+0x230/0x628
[   18.876109]  test_out_of_bounds_read+0xdc/0x3e0
[   18.876383]  kunit_try_run_case+0x170/0x3f0
[   18.876647]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   18.876919]  kthread+0x328/0x630
[   18.876968]  ret_from_fork+0x10/0x20
[   18.877505] 
[   18.877642] CPU: 1 UID: 0 PID: 290 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   18.878289] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.878404] Hardware name: linux,dummy-virt (DT)
[   18.878698] ==================================================================

[   16.813492] ==================================================================
[   16.813891] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x216/0x4e0
[   16.813891] 
[   16.814356] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#64):
[   16.814767]  test_out_of_bounds_read+0x216/0x4e0
[   16.814996]  kunit_try_run_case+0x1a5/0x480
[   16.815310]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.815515]  kthread+0x337/0x6f0
[   16.815643]  ret_from_fork+0x116/0x1d0
[   16.815838]  ret_from_fork_asm+0x1a/0x30
[   16.816064] 
[   16.816161] kfence-#64: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   16.816161] 
[   16.816593] allocated by task 307 on cpu 0 at 16.813441s (0.003151s ago):
[   16.816901]  test_alloc+0x2a6/0x10f0
[   16.817052]  test_out_of_bounds_read+0x1e2/0x4e0
[   16.817325]  kunit_try_run_case+0x1a5/0x480
[   16.817548]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.817797]  kthread+0x337/0x6f0
[   16.817919]  ret_from_fork+0x116/0x1d0
[   16.818077]  ret_from_fork_asm+0x1a/0x30
[   16.818465] 
[   16.818597] CPU: 0 UID: 0 PID: 307 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   16.819098] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.819285] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   16.819728] ==================================================================
[   16.502552] ==================================================================
[   16.503023] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x126/0x4e0
[   16.503023] 
[   16.503612] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#61):
[   16.503996]  test_out_of_bounds_read+0x126/0x4e0
[   16.504551]  kunit_try_run_case+0x1a5/0x480
[   16.504790]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.505029]  kthread+0x337/0x6f0
[   16.505612]  ret_from_fork+0x116/0x1d0
[   16.505823]  ret_from_fork_asm+0x1a/0x30
[   16.506034] 
[   16.506299] kfence-#61: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   16.506299] 
[   16.506821] allocated by task 305 on cpu 0 at 16.501516s (0.005247s ago):
[   16.507802]  test_alloc+0x364/0x10f0
[   16.508182]  test_out_of_bounds_read+0xed/0x4e0
[   16.508464]  kunit_try_run_case+0x1a5/0x480
[   16.508831]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.509045]  kthread+0x337/0x6f0
[   16.509216]  ret_from_fork+0x116/0x1d0
[   16.509407]  ret_from_fork_asm+0x1a/0x30
[   16.509751] 
[   16.509932] CPU: 0 UID: 0 PID: 305 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   16.510453] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.510614] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   16.511050] ==================================================================
[   16.709355] ==================================================================
[   16.709757] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x126/0x4e0
[   16.709757] 
[   16.710126] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#63):
[   16.710496]  test_out_of_bounds_read+0x126/0x4e0
[   16.710747]  kunit_try_run_case+0x1a5/0x480
[   16.710956]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.711194]  kthread+0x337/0x6f0
[   16.711352]  ret_from_fork+0x116/0x1d0
[   16.711520]  ret_from_fork_asm+0x1a/0x30
[   16.711747] 
[   16.711847] kfence-#63: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   16.711847] 
[   16.712206] allocated by task 307 on cpu 0 at 16.709300s (0.002904s ago):
[   16.712636]  test_alloc+0x2a6/0x10f0
[   16.712846]  test_out_of_bounds_read+0xed/0x4e0
[   16.713079]  kunit_try_run_case+0x1a5/0x480
[   16.713279]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.713519]  kthread+0x337/0x6f0
[   16.713636]  ret_from_fork+0x116/0x1d0
[   16.713913]  ret_from_fork_asm+0x1a/0x30
[   16.714119] 
[   16.714322] CPU: 0 UID: 0 PID: 307 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   16.714768] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.714991] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   16.715434] ==================================================================
[   16.605612] ==================================================================
[   16.605991] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x216/0x4e0
[   16.605991] 
[   16.606571] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#62):
[   16.606948]  test_out_of_bounds_read+0x216/0x4e0
[   16.607137]  kunit_try_run_case+0x1a5/0x480
[   16.607366]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.607554]  kthread+0x337/0x6f0
[   16.607754]  ret_from_fork+0x116/0x1d0
[   16.607944]  ret_from_fork_asm+0x1a/0x30
[   16.608141] 
[   16.608254] kfence-#62: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   16.608254] 
[   16.608632] allocated by task 305 on cpu 0 at 16.605413s (0.003217s ago):
[   16.608907]  test_alloc+0x364/0x10f0
[   16.609112]  test_out_of_bounds_read+0x1e2/0x4e0
[   16.609340]  kunit_try_run_case+0x1a5/0x480
[   16.609559]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.609729]  kthread+0x337/0x6f0
[   16.609846]  ret_from_fork+0x116/0x1d0
[   16.609974]  ret_from_fork_asm+0x1a/0x30
[   16.610188] 
[   16.610318] CPU: 0 UID: 0 PID: 305 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   16.610827] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.611005] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   16.611354] ==================================================================