Hay
Date
June 16, 2025, 7:07 a.m.

Environment
qemu-arm64
qemu-x86_64

[   23.456819] ==================================================================
[   23.457284] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   23.457284] 
[   23.457708] Out-of-bounds read at 0x00000000f1f2ce27 (1B left of kfence-#117):
[   23.458079]  test_out_of_bounds_read+0x114/0x3e0
[   23.458260]  kunit_try_run_case+0x170/0x3f0
[   23.458486]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.458713]  kthread+0x328/0x630
[   23.459311]  ret_from_fork+0x10/0x20
[   23.459486] 
[   23.459570] kfence-#117: 0x00000000d9689ed3-0x000000003981d47a, size=32, cache=test
[   23.459570] 
[   23.459729] allocated by task 298 on cpu 0 at 23.456401s (0.003317s ago):
[   23.460047]  test_alloc+0x230/0x628
[   23.460151]  test_out_of_bounds_read+0xdc/0x3e0
[   23.460248]  kunit_try_run_case+0x170/0x3f0
[   23.460490]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.461179]  kthread+0x328/0x630
[   23.461879]  ret_from_fork+0x10/0x20
[   23.462032] 
[   23.462144] CPU: 0 UID: 0 PID: 298 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250616 #1 PREEMPT 
[   23.462354] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.462433] Hardware name: linux,dummy-virt (DT)
[   23.462516] ==================================================================
[   23.662709] ==================================================================
[   23.662896] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   23.662896] 
[   23.663087] Out-of-bounds read at 0x000000007367968e (32B right of kfence-#119):
[   23.663223]  test_out_of_bounds_read+0x1c8/0x3e0
[   23.663337]  kunit_try_run_case+0x170/0x3f0
[   23.663439]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.664226]  kthread+0x328/0x630
[   23.664465]  ret_from_fork+0x10/0x20
[   23.664621] 
[   23.664684] kfence-#119: 0x000000008d825099-0x00000000f5b2b1ac, size=32, cache=test
[   23.664684] 
[   23.664901] allocated by task 298 on cpu 0 at 23.662356s (0.002529s ago):
[   23.665118]  test_alloc+0x230/0x628
[   23.665255]  test_out_of_bounds_read+0x198/0x3e0
[   23.665377]  kunit_try_run_case+0x170/0x3f0
[   23.665482]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.665595]  kthread+0x328/0x630
[   23.665690]  ret_from_fork+0x10/0x20
[   23.665794] 
[   23.666137] CPU: 0 UID: 0 PID: 298 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250616 #1 PREEMPT 
[   23.666425] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.666553] Hardware name: linux,dummy-virt (DT)
[   23.666648] ==================================================================
[   23.246764] ==================================================================
[   23.247234] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   23.247234] 
[   23.247669] Out-of-bounds read at 0x0000000061e957e1 (32B right of kfence-#115):
[   23.247867]  test_out_of_bounds_read+0x1c8/0x3e0
[   23.248000]  kunit_try_run_case+0x170/0x3f0
[   23.248094]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.248230]  kthread+0x328/0x630
[   23.248349]  ret_from_fork+0x10/0x20
[   23.248477] 
[   23.248553] kfence-#115: 0x00000000ee79e16a-0x0000000086056930, size=32, cache=kmalloc-32
[   23.248553] 
[   23.248712] allocated by task 296 on cpu 0 at 23.246059s (0.002645s ago):
[   23.248900]  test_alloc+0x29c/0x628
[   23.249249]  test_out_of_bounds_read+0x198/0x3e0
[   23.249364]  kunit_try_run_case+0x170/0x3f0
[   23.249448]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.249548]  kthread+0x328/0x630
[   23.249888]  ret_from_fork+0x10/0x20
[   23.250056] 
[   23.250169] CPU: 0 UID: 0 PID: 296 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250616 #1 PREEMPT 
[   23.250372] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.250449] Hardware name: linux,dummy-virt (DT)
[   23.250529] ==================================================================
[   23.146145] ==================================================================
[   23.146413] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   23.146413] 
[   23.146874] Out-of-bounds read at 0x00000000dfc949be (1B left of kfence-#114):
[   23.147611]  test_out_of_bounds_read+0x114/0x3e0
[   23.147787]  kunit_try_run_case+0x170/0x3f0
[   23.147956]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.148065]  kthread+0x328/0x630
[   23.148157]  ret_from_fork+0x10/0x20
[   23.148256] 
[   23.148597] kfence-#114: 0x00000000a9522aec-0x00000000e68fb61e, size=32, cache=kmalloc-32
[   23.148597] 
[   23.149233] allocated by task 296 on cpu 0 at 23.143628s (0.005498s ago):
[   23.150355]  test_alloc+0x29c/0x628
[   23.150723]  test_out_of_bounds_read+0xdc/0x3e0
[   23.150882]  kunit_try_run_case+0x170/0x3f0
[   23.151153]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.151481]  kthread+0x328/0x630
[   23.151574]  ret_from_fork+0x10/0x20
[   23.152093] 
[   23.152423] CPU: 0 UID: 0 PID: 296 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250616 #1 PREEMPT 
[   23.152742] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.153031] Hardware name: linux,dummy-virt (DT)
[   23.153288] ==================================================================

[   15.758117] ==================================================================
[   15.758621] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x126/0x4e0
[   15.758621] 
[   15.759114] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#61):
[   15.759522]  test_out_of_bounds_read+0x126/0x4e0
[   15.759691]  kunit_try_run_case+0x1a5/0x480
[   15.759903]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.760220]  kthread+0x337/0x6f0
[   15.760348]  ret_from_fork+0x116/0x1d0
[   15.760782]  ret_from_fork_asm+0x1a/0x30
[   15.761019] 
[   15.761242] kfence-#61: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   15.761242] 
[   15.761998] allocated by task 313 on cpu 1 at 15.756821s (0.005009s ago):
[   15.762623]  test_alloc+0x364/0x10f0
[   15.762843]  test_out_of_bounds_read+0xed/0x4e0
[   15.763078]  kunit_try_run_case+0x1a5/0x480
[   15.763285]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.763607]  kthread+0x337/0x6f0
[   15.763795]  ret_from_fork+0x116/0x1d0
[   15.763968]  ret_from_fork_asm+0x1a/0x30
[   15.764258] 
[   15.764389] CPU: 1 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250616 #1 PREEMPT(voluntary) 
[   15.765005] Tainted: [B]=BAD_PAGE, [N]=TEST
[   15.765200] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   15.765653] ==================================================================
[   16.068864] ==================================================================
[   16.069267] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x126/0x4e0
[   16.069267] 
[   16.069785] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#64):
[   16.070132]  test_out_of_bounds_read+0x126/0x4e0
[   16.070343]  kunit_try_run_case+0x1a5/0x480
[   16.070552]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.070747]  kthread+0x337/0x6f0
[   16.070971]  ret_from_fork+0x116/0x1d0
[   16.071165]  ret_from_fork_asm+0x1a/0x30
[   16.071563] 
[   16.072196] kfence-#64: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   16.072196] 
[   16.072876] allocated by task 315 on cpu 0 at 16.068736s (0.004137s ago):
[   16.073379]  test_alloc+0x2a6/0x10f0
[   16.073580]  test_out_of_bounds_read+0xed/0x4e0
[   16.073885]  kunit_try_run_case+0x1a5/0x480
[   16.074205]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.074603]  kthread+0x337/0x6f0
[   16.074874]  ret_from_fork+0x116/0x1d0
[   16.075158]  ret_from_fork_asm+0x1a/0x30
[   16.075342] 
[   16.075436] CPU: 0 UID: 0 PID: 315 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250616 #1 PREEMPT(voluntary) 
[   16.075926] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.076383] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   16.076835] ==================================================================
[   15.964838] ==================================================================
[   15.965280] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x216/0x4e0
[   15.965280] 
[   15.965764] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#63):
[   15.966150]  test_out_of_bounds_read+0x216/0x4e0
[   15.966341]  kunit_try_run_case+0x1a5/0x480
[   15.966482]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.966713]  kthread+0x337/0x6f0
[   15.966905]  ret_from_fork+0x116/0x1d0
[   15.967132]  ret_from_fork_asm+0x1a/0x30
[   15.967333] 
[   15.967443] kfence-#63: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   15.967443] 
[   15.967834] allocated by task 313 on cpu 1 at 15.964727s (0.003104s ago):
[   15.968101]  test_alloc+0x364/0x10f0
[   15.968303]  test_out_of_bounds_read+0x1e2/0x4e0
[   15.968612]  kunit_try_run_case+0x1a5/0x480
[   15.968863]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.969038]  kthread+0x337/0x6f0
[   15.969207]  ret_from_fork+0x116/0x1d0
[   15.969410]  ret_from_fork_asm+0x1a/0x30
[   15.969703] 
[   15.969831] CPU: 1 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250616 #1 PREEMPT(voluntary) 
[   15.970308] Tainted: [B]=BAD_PAGE, [N]=TEST
[   15.970457] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   15.970876] ==================================================================
[   16.172887] ==================================================================
[   16.173292] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x216/0x4e0
[   16.173292] 
[   16.174019] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#65):
[   16.174657]  test_out_of_bounds_read+0x216/0x4e0
[   16.174887]  kunit_try_run_case+0x1a5/0x480
[   16.175238]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.175662]  kthread+0x337/0x6f0
[   16.175844]  ret_from_fork+0x116/0x1d0
[   16.176019]  ret_from_fork_asm+0x1a/0x30
[   16.176198] 
[   16.176292] kfence-#65: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   16.176292] 
[   16.176867] allocated by task 315 on cpu 0 at 16.172827s (0.004037s ago):
[   16.177169]  test_alloc+0x2a6/0x10f0
[   16.177335]  test_out_of_bounds_read+0x1e2/0x4e0
[   16.177980]  kunit_try_run_case+0x1a5/0x480
[   16.178158]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.178575]  kthread+0x337/0x6f0
[   16.178747]  ret_from_fork+0x116/0x1d0
[   16.179071]  ret_from_fork_asm+0x1a/0x30
[   16.179296] 
[   16.179554] CPU: 0 UID: 0 PID: 315 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250616 #1 PREEMPT(voluntary) 
[   16.180082] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.180397] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   16.180890] ==================================================================