Hay
Date
July 20, 2025, 11:12 a.m.

Environment
qemu-arm64
qemu-x86_64

[   19.186030] ==================================================================
[   19.186356] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   19.186356] 
[   19.186447] Out-of-bounds read at 0x00000000da3d016f (32B right of kfence-#80):
[   19.186856]  test_out_of_bounds_read+0x1c8/0x3e0
[   19.186953]  kunit_try_run_case+0x170/0x3f0
[   19.186996]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.187284]  kthread+0x328/0x630
[   19.187441]  ret_from_fork+0x10/0x20
[   19.187504] 
[   19.187540] kfence-#80: 0x00000000a3e2fce7-0x0000000061da2b9d, size=32, cache=test
[   19.187540] 
[   19.187613] allocated by task 289 on cpu 0 at 19.185567s (0.002042s ago):
[   19.187712]  test_alloc+0x230/0x628
[   19.187762]  test_out_of_bounds_read+0x198/0x3e0
[   19.187819]  kunit_try_run_case+0x170/0x3f0
[   19.187873]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.187978]  kthread+0x328/0x630
[   19.188040]  ret_from_fork+0x10/0x20
[   19.188091] 
[   19.188141] CPU: 0 UID: 0 PID: 289 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   19.188233] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.188280] Hardware name: linux,dummy-virt (DT)
[   19.188323] ==================================================================
[   18.977953] ==================================================================
[   18.978065] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   18.978065] 
[   18.978236] Out-of-bounds read at 0x00000000bcc08987 (32B right of kfence-#78):
[   18.978602]  test_out_of_bounds_read+0x1c8/0x3e0
[   18.978703]  kunit_try_run_case+0x170/0x3f0
[   18.978756]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   18.978800]  kthread+0x328/0x630
[   18.978838]  ret_from_fork+0x10/0x20
[   18.978878] 
[   18.978903] kfence-#78: 0x00000000c00df569-0x000000009d716409, size=32, cache=kmalloc-32
[   18.978903] 
[   18.979299] allocated by task 287 on cpu 0 at 18.977330s (0.001623s ago):
[   18.979562]  test_alloc+0x29c/0x628
[   18.979659]  test_out_of_bounds_read+0x198/0x3e0
[   18.979784]  kunit_try_run_case+0x170/0x3f0
[   18.979853]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   18.979923]  kthread+0x328/0x630
[   18.980263]  ret_from_fork+0x10/0x20
[   18.980427] 
[   18.980574] CPU: 0 UID: 0 PID: 287 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   18.980702] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.981035] Hardware name: linux,dummy-virt (DT)
[   18.981099] ==================================================================
[   19.082061] ==================================================================
[   19.082147] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   19.082147] 
[   19.082527] Out-of-bounds read at 0x00000000a5d9da96 (1B left of kfence-#79):
[   19.082658]  test_out_of_bounds_read+0x114/0x3e0
[   19.082730]  kunit_try_run_case+0x170/0x3f0
[   19.083044]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.083128]  kthread+0x328/0x630
[   19.083412]  ret_from_fork+0x10/0x20
[   19.083557] 
[   19.083605] kfence-#79: 0x00000000a80a7402-0x00000000fb6a4cb7, size=32, cache=test
[   19.083605] 
[   19.083686] allocated by task 289 on cpu 0 at 19.081637s (0.002037s ago):
[   19.083758]  test_alloc+0x230/0x628
[   19.083814]  test_out_of_bounds_read+0xdc/0x3e0
[   19.083876]  kunit_try_run_case+0x170/0x3f0
[   19.083915]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.083959]  kthread+0x328/0x630
[   19.084026]  ret_from_fork+0x10/0x20
[   19.084075] 
[   19.084137] CPU: 0 UID: 0 PID: 289 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   19.084231] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.084272] Hardware name: linux,dummy-virt (DT)
[   19.084310] ==================================================================
[   18.766932] ==================================================================
[   18.767145] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   18.767145] 
[   18.767401] Out-of-bounds read at 0x000000003c26d6f1 (1B left of kfence-#76):
[   18.767998]  test_out_of_bounds_read+0x114/0x3e0
[   18.768257]  kunit_try_run_case+0x170/0x3f0
[   18.768314]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   18.768690]  kthread+0x328/0x630
[   18.768896]  ret_from_fork+0x10/0x20
[   18.768992] 
[   18.769149] kfence-#76: 0x0000000052e1c939-0x00000000944f9d53, size=32, cache=kmalloc-32
[   18.769149] 
[   18.769229] allocated by task 287 on cpu 0 at 18.765833s (0.003391s ago):
[   18.769495]  test_alloc+0x29c/0x628
[   18.769746]  test_out_of_bounds_read+0xdc/0x3e0
[   18.769875]  kunit_try_run_case+0x170/0x3f0
[   18.769941]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   18.770100]  kthread+0x328/0x630
[   18.770164]  ret_from_fork+0x10/0x20
[   18.770472] 
[   18.770705] CPU: 0 UID: 0 PID: 287 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   18.771436] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.771681] Hardware name: linux,dummy-virt (DT)
[   18.771982] ==================================================================

[   17.135716] ==================================================================
[   17.136131] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x216/0x4e0
[   17.136131] 
[   17.136615] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#64):
[   17.137353]  test_out_of_bounds_read+0x216/0x4e0
[   17.137694]  kunit_try_run_case+0x1a5/0x480
[   17.138082]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.138307]  kthread+0x337/0x6f0
[   17.138481]  ret_from_fork+0x116/0x1d0
[   17.138650]  ret_from_fork_asm+0x1a/0x30
[   17.139156] 
[   17.139244] kfence-#64: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   17.139244] 
[   17.139771] allocated by task 307 on cpu 0 at 17.135658s (0.004111s ago):
[   17.140253]  test_alloc+0x2a6/0x10f0
[   17.140482]  test_out_of_bounds_read+0x1e2/0x4e0
[   17.140795]  kunit_try_run_case+0x1a5/0x480
[   17.140986]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.141322]  kthread+0x337/0x6f0
[   17.141601]  ret_from_fork+0x116/0x1d0
[   17.141802]  ret_from_fork_asm+0x1a/0x30
[   17.142011] 
[   17.142114] CPU: 0 UID: 0 PID: 307 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   17.142568] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.143016] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.143444] ==================================================================
[   16.719796] ==================================================================
[   16.720190] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x216/0x4e0
[   16.720190] 
[   16.720630] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#60):
[   16.721019]  test_out_of_bounds_read+0x216/0x4e0
[   16.721246]  kunit_try_run_case+0x1a5/0x480
[   16.721406]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.721700]  kthread+0x337/0x6f0
[   16.721868]  ret_from_fork+0x116/0x1d0
[   16.722060]  ret_from_fork_asm+0x1a/0x30
[   16.722274] 
[   16.722360] kfence-#60: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   16.722360] 
[   16.722699] allocated by task 305 on cpu 1 at 16.719600s (0.003097s ago):
[   16.723037]  test_alloc+0x364/0x10f0
[   16.723235]  test_out_of_bounds_read+0x1e2/0x4e0
[   16.723413]  kunit_try_run_case+0x1a5/0x480
[   16.723623]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.724086]  kthread+0x337/0x6f0
[   16.724216]  ret_from_fork+0x116/0x1d0
[   16.724425]  ret_from_fork_asm+0x1a/0x30
[   16.724574] 
[   16.724667] CPU: 1 UID: 0 PID: 305 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   16.725177] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.725388] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   16.725707] ==================================================================
[   16.616939] ==================================================================
[   16.617379] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x126/0x4e0
[   16.617379] 
[   16.617879] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#59):
[   16.618339]  test_out_of_bounds_read+0x126/0x4e0
[   16.618618]  kunit_try_run_case+0x1a5/0x480
[   16.618862]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.619101]  kthread+0x337/0x6f0
[   16.619284]  ret_from_fork+0x116/0x1d0
[   16.619462]  ret_from_fork_asm+0x1a/0x30
[   16.619672] 
[   16.619951] kfence-#59: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   16.619951] 
[   16.620440] allocated by task 305 on cpu 1 at 16.615692s (0.004690s ago):
[   16.621024]  test_alloc+0x364/0x10f0
[   16.621265]  test_out_of_bounds_read+0xed/0x4e0
[   16.621482]  kunit_try_run_case+0x1a5/0x480
[   16.621669]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.621935]  kthread+0x337/0x6f0
[   16.622114]  ret_from_fork+0x116/0x1d0
[   16.622293]  ret_from_fork_asm+0x1a/0x30
[   16.622558] 
[   16.622730] CPU: 1 UID: 0 PID: 305 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   16.623227] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.623386] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   16.623722] ==================================================================
[   16.927710] ==================================================================
[   16.928237] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x126/0x4e0
[   16.928237] 
[   16.929321] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#62):
[   16.929571]  test_out_of_bounds_read+0x126/0x4e0
[   16.929755]  kunit_try_run_case+0x1a5/0x480
[   16.930148]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.930420]  kthread+0x337/0x6f0
[   16.930606]  ret_from_fork+0x116/0x1d0
[   16.931256]  ret_from_fork_asm+0x1a/0x30
[   16.931422] 
[   16.931591] kfence-#62: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   16.931591] 
[   16.932146] allocated by task 307 on cpu 0 at 16.927648s (0.004495s ago):
[   16.932514]  test_alloc+0x2a6/0x10f0
[   16.932918]  test_out_of_bounds_read+0xed/0x4e0
[   16.933202]  kunit_try_run_case+0x1a5/0x480
[   16.933372]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.933819]  kthread+0x337/0x6f0
[   16.933992]  ret_from_fork+0x116/0x1d0
[   16.934305]  ret_from_fork_asm+0x1a/0x30
[   16.934547] 
[   16.934680] CPU: 0 UID: 0 PID: 307 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   16.935164] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.935355] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   16.935954] ==================================================================