Hay
Date
July 1, 2025, 11:08 a.m.

Environment
qemu-arm64
qemu-x86_64

[   22.642233] ==================================================================
[   22.642330] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   22.642330] 
[   22.642516] Out-of-bounds read at 0x000000003343e7d5 (32B right of kfence-#88):
[   22.642589]  test_out_of_bounds_read+0x1c8/0x3e0
[   22.642801]  kunit_try_run_case+0x170/0x3f0
[   22.643051]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.643145]  kthread+0x328/0x630
[   22.643376]  ret_from_fork+0x10/0x20
[   22.643527] 
[   22.643615] kfence-#88: 0x00000000c50ab228-0x000000000ff063c6, size=32, cache=test
[   22.643615] 
[   22.643677] allocated by task 290 on cpu 0 at 22.642031s (0.001642s ago):
[   22.644092]  test_alloc+0x230/0x628
[   22.644251]  test_out_of_bounds_read+0x198/0x3e0
[   22.644386]  kunit_try_run_case+0x170/0x3f0
[   22.644530]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.644616]  kthread+0x328/0x630
[   22.644670]  ret_from_fork+0x10/0x20
[   22.645302] 
[   22.645677] CPU: 0 UID: 0 PID: 290 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   22.646002] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.646287] Hardware name: linux,dummy-virt (DT)
[   22.646446] ==================================================================
[   22.325625] ==================================================================
[   22.325786] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   22.325786] 
[   22.325979] Out-of-bounds read at 0x00000000e2d5ff75 (32B right of kfence-#85):
[   22.326073]  test_out_of_bounds_read+0x1c8/0x3e0
[   22.326473]  kunit_try_run_case+0x170/0x3f0
[   22.326541]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.326591]  kthread+0x328/0x630
[   22.326686]  ret_from_fork+0x10/0x20
[   22.326735] 
[   22.326762] kfence-#85: 0x00000000cc60ed71-0x00000000a45ceb6b, size=32, cache=kmalloc-32
[   22.326762] 
[   22.326827] allocated by task 288 on cpu 0 at 22.324774s (0.002050s ago):
[   22.327524]  test_alloc+0x29c/0x628
[   22.327654]  test_out_of_bounds_read+0x198/0x3e0
[   22.327762]  kunit_try_run_case+0x170/0x3f0
[   22.327820]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.328295]  kthread+0x328/0x630
[   22.328447]  ret_from_fork+0x10/0x20
[   22.328611] 
[   22.328760] CPU: 0 UID: 0 PID: 288 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   22.329253] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.329430] Hardware name: linux,dummy-virt (DT)
[   22.329617] ==================================================================
[   22.224206] ==================================================================
[   22.224343] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   22.224343] 
[   22.224497] Out-of-bounds read at 0x000000000a9498d8 (1B left of kfence-#84):
[   22.225041]  test_out_of_bounds_read+0x114/0x3e0
[   22.225218]  kunit_try_run_case+0x170/0x3f0
[   22.225278]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.225334]  kthread+0x328/0x630
[   22.225430]  ret_from_fork+0x10/0x20
[   22.225476] 
[   22.225504] kfence-#84: 0x00000000a176f6a2-0x0000000069bb379b, size=32, cache=kmalloc-32
[   22.225504] 
[   22.225592] allocated by task 288 on cpu 0 at 22.221678s (0.003909s ago):
[   22.225673]  test_alloc+0x29c/0x628
[   22.225718]  test_out_of_bounds_read+0xdc/0x3e0
[   22.225762]  kunit_try_run_case+0x170/0x3f0
[   22.225813]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.225860]  kthread+0x328/0x630
[   22.225898]  ret_from_fork+0x10/0x20
[   22.225962] 
[   22.226017] CPU: 0 UID: 0 PID: 288 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   22.226105] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.226608] Hardware name: linux,dummy-virt (DT)
[   22.226690] ==================================================================
[   22.539764] ==================================================================
[   22.539866] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   22.539866] 
[   22.539964] Out-of-bounds read at 0x0000000091258391 (1B left of kfence-#87):
[   22.540033]  test_out_of_bounds_read+0x114/0x3e0
[   22.540084]  kunit_try_run_case+0x170/0x3f0
[   22.540644]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.541265]  kthread+0x328/0x630
[   22.541349]  ret_from_fork+0x10/0x20
[   22.541399] 
[   22.541438] kfence-#87: 0x000000005126341a-0x000000005bf7d747, size=32, cache=test
[   22.541438] 
[   22.541591] allocated by task 290 on cpu 0 at 22.539070s (0.002501s ago):
[   22.541924]  test_alloc+0x230/0x628
[   22.542212]  test_out_of_bounds_read+0xdc/0x3e0
[   22.542281]  kunit_try_run_case+0x170/0x3f0
[   22.542328]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.542378]  kthread+0x328/0x630
[   22.542417]  ret_from_fork+0x10/0x20
[   22.542530] 
[   22.542587] CPU: 0 UID: 0 PID: 290 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   22.542832] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.543009] Hardware name: linux,dummy-virt (DT)
[   22.543187] ==================================================================

[   16.201208] ==================================================================
[   16.201826] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x126/0x4e0
[   16.201826] 
[   16.202265] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#65):
[   16.202879]  test_out_of_bounds_read+0x126/0x4e0
[   16.203117]  kunit_try_run_case+0x1a5/0x480
[   16.203801]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.204056]  kthread+0x337/0x6f0
[   16.204238]  ret_from_fork+0x116/0x1d0
[   16.204673]  ret_from_fork_asm+0x1a/0x30
[   16.204872] 
[   16.204959] kfence-#65: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   16.204959] 
[   16.205335] allocated by task 306 on cpu 1 at 16.201140s (0.004193s ago):
[   16.206065]  test_alloc+0x2a6/0x10f0
[   16.206239]  test_out_of_bounds_read+0xed/0x4e0
[   16.206450]  kunit_try_run_case+0x1a5/0x480
[   16.206952]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.207205]  kthread+0x337/0x6f0
[   16.207404]  ret_from_fork+0x116/0x1d0
[   16.207786]  ret_from_fork_asm+0x1a/0x30
[   16.208077] 
[   16.208226] CPU: 1 UID: 0 PID: 306 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   16.208848] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.209056] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   16.209580] ==================================================================
[   15.785484] ==================================================================
[   15.785880] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x216/0x4e0
[   15.785880] 
[   15.786341] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#61):
[   15.786671]  test_out_of_bounds_read+0x216/0x4e0
[   15.786907]  kunit_try_run_case+0x1a5/0x480
[   15.787174]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.787361]  kthread+0x337/0x6f0
[   15.787550]  ret_from_fork+0x116/0x1d0
[   15.787771]  ret_from_fork_asm+0x1a/0x30
[   15.787935] 
[   15.788033] kfence-#61: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   15.788033] 
[   15.788470] allocated by task 304 on cpu 0 at 15.785279s (0.003189s ago):
[   15.788855]  test_alloc+0x364/0x10f0
[   15.789044]  test_out_of_bounds_read+0x1e2/0x4e0
[   15.789265]  kunit_try_run_case+0x1a5/0x480
[   15.789466]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.789766]  kthread+0x337/0x6f0
[   15.789961]  ret_from_fork+0x116/0x1d0
[   15.790127]  ret_from_fork_asm+0x1a/0x30
[   15.790273] 
[   15.790372] CPU: 0 UID: 0 PID: 304 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   15.790876] Tainted: [B]=BAD_PAGE, [N]=TEST
[   15.791082] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   15.791485] ==================================================================
[   15.682332] ==================================================================
[   15.682822] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x126/0x4e0
[   15.682822] 
[   15.683407] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#60):
[   15.683945]  test_out_of_bounds_read+0x126/0x4e0
[   15.684181]  kunit_try_run_case+0x1a5/0x480
[   15.684443]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.684642]  kthread+0x337/0x6f0
[   15.684825]  ret_from_fork+0x116/0x1d0
[   15.685013]  ret_from_fork_asm+0x1a/0x30
[   15.685231] 
[   15.685493] kfence-#60: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   15.685493] 
[   15.686174] allocated by task 304 on cpu 0 at 15.681152s (0.004953s ago):
[   15.686744]  test_alloc+0x364/0x10f0
[   15.686976]  test_out_of_bounds_read+0xed/0x4e0
[   15.687188]  kunit_try_run_case+0x1a5/0x480
[   15.687408]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.687722]  kthread+0x337/0x6f0
[   15.687890]  ret_from_fork+0x116/0x1d0
[   15.688053]  ret_from_fork_asm+0x1a/0x30
[   15.688299] 
[   15.688450] CPU: 0 UID: 0 PID: 304 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   15.688897] Tainted: [B]=BAD_PAGE, [N]=TEST
[   15.689117] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   15.689509] ==================================================================
[   16.305330] ==================================================================
[   16.305840] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x216/0x4e0
[   16.305840] 
[   16.306174] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#66):
[   16.306596]  test_out_of_bounds_read+0x216/0x4e0
[   16.306827]  kunit_try_run_case+0x1a5/0x480
[   16.306979]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.307227]  kthread+0x337/0x6f0
[   16.307440]  ret_from_fork+0x116/0x1d0
[   16.307653]  ret_from_fork_asm+0x1a/0x30
[   16.307841] 
[   16.307941] kfence-#66: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   16.307941] 
[   16.308239] allocated by task 306 on cpu 1 at 16.305270s (0.002966s ago):
[   16.308595]  test_alloc+0x2a6/0x10f0
[   16.308934]  test_out_of_bounds_read+0x1e2/0x4e0
[   16.309119]  kunit_try_run_case+0x1a5/0x480
[   16.309298]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.309564]  kthread+0x337/0x6f0
[   16.309727]  ret_from_fork+0x116/0x1d0
[   16.309913]  ret_from_fork_asm+0x1a/0x30
[   16.310131] 
[   16.310253] CPU: 1 UID: 0 PID: 306 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   16.310709] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.310844] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   16.311432] ==================================================================