Hay
Date
July 17, 2025, 11:10 a.m.

Environment
qemu-arm64
qemu-x86_64

[   19.617780] ==================================================================
[   19.617889] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   19.617889] 
[   19.617993] Out-of-bounds write at 0x0000000088d432cf (1B left of kfence-#83):
[   19.618061]  test_out_of_bounds_write+0x100/0x240
[   19.618151]  kunit_try_run_case+0x170/0x3f0
[   19.618215]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.618257]  kthread+0x328/0x630
[   19.618307]  ret_from_fork+0x10/0x20
[   19.618440] 
[   19.618464] kfence-#83: 0x000000000f4fa978-0x000000000413b087, size=32, cache=kmalloc-32
[   19.618464] 
[   19.618517] allocated by task 292 on cpu 0 at 19.617317s (0.001196s ago):
[   19.618597]  test_alloc+0x29c/0x628
[   19.618638]  test_out_of_bounds_write+0xc8/0x240
[   19.618690]  kunit_try_run_case+0x170/0x3f0
[   19.618789]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.619003]  kthread+0x328/0x630
[   19.619108]  ret_from_fork+0x10/0x20
[   19.619193] 
[   19.619263] CPU: 0 UID: 0 PID: 292 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   19.619344] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.619373] Hardware name: linux,dummy-virt (DT)
[   19.619405] ==================================================================
[   19.725353] ==================================================================
[   19.725481] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   19.725481] 
[   19.725567] Out-of-bounds write at 0x00000000288a318b (1B left of kfence-#84):
[   19.725634]  test_out_of_bounds_write+0x100/0x240
[   19.725801]  kunit_try_run_case+0x170/0x3f0
[   19.726284]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.726342]  kthread+0x328/0x630
[   19.726381]  ret_from_fork+0x10/0x20
[   19.726422] 
[   19.726446] kfence-#84: 0x00000000ab49958e-0x00000000e09b4625, size=32, cache=test
[   19.726446] 
[   19.726557] allocated by task 294 on cpu 0 at 19.725275s (0.001278s ago):
[   19.726642]  test_alloc+0x230/0x628
[   19.726683]  test_out_of_bounds_write+0xc8/0x240
[   19.726725]  kunit_try_run_case+0x170/0x3f0
[   19.726807]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.726853]  kthread+0x328/0x630
[   19.726940]  ret_from_fork+0x10/0x20
[   19.727186] 
[   19.728391] CPU: 0 UID: 0 PID: 294 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   19.728511] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.728543] Hardware name: linux,dummy-virt (DT)
[   19.728577] ==================================================================

[   17.778712] ==================================================================
[   17.779107] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   17.779107] 
[   17.780051] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#64):
[   17.780350]  test_out_of_bounds_write+0x10d/0x260
[   17.780712]  kunit_try_run_case+0x1a5/0x480
[   17.780896]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.781146]  kthread+0x337/0x6f0
[   17.781322]  ret_from_fork+0x116/0x1d0
[   17.781493]  ret_from_fork_asm+0x1a/0x30
[   17.781809] 
[   17.781933] kfence-#64: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   17.781933] 
[   17.782292] allocated by task 308 on cpu 1 at 17.778604s (0.003687s ago):
[   17.782661]  test_alloc+0x364/0x10f0
[   17.782871]  test_out_of_bounds_write+0xd4/0x260
[   17.783085]  kunit_try_run_case+0x1a5/0x480
[   17.783277]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.783578]  kthread+0x337/0x6f0
[   17.783749]  ret_from_fork+0x116/0x1d0
[   17.783912]  ret_from_fork_asm+0x1a/0x30
[   17.784142] 
[   17.784275] CPU: 1 UID: 0 PID: 308 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   17.784718] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.784944] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.785337] ==================================================================
[   17.882723] ==================================================================
[   17.883120] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   17.883120] 
[   17.883634] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#65):
[   17.883960]  test_out_of_bounds_write+0x10d/0x260
[   17.884221]  kunit_try_run_case+0x1a5/0x480
[   17.884466]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.884704]  kthread+0x337/0x6f0
[   17.884834]  ret_from_fork+0x116/0x1d0
[   17.884973]  ret_from_fork_asm+0x1a/0x30
[   17.885198] 
[   17.885299] kfence-#65: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   17.885299] 
[   17.885791] allocated by task 310 on cpu 0 at 17.882662s (0.003127s ago):
[   17.886089]  test_alloc+0x2a6/0x10f0
[   17.886269]  test_out_of_bounds_write+0xd4/0x260
[   17.886535]  kunit_try_run_case+0x1a5/0x480
[   17.886700]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.886898]  kthread+0x337/0x6f0
[   17.887069]  ret_from_fork+0x116/0x1d0
[   17.887282]  ret_from_fork_asm+0x1a/0x30
[   17.887598] 
[   17.887708] CPU: 0 UID: 0 PID: 310 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   17.888129] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.888348] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.888704] ==================================================================