Hay
Date
May 12, 2025, 6:12 p.m.

Environment
qemu-arm64
qemu-x86_64

[   23.935411] ==================================================================
[   23.936107] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   23.936107] 
[   23.936705] Out-of-bounds write at 0x00000000f6f9f8e4 (1B left of kfence-#103):
[   23.937350]  test_out_of_bounds_write+0x100/0x240
[   23.937895]  kunit_try_run_case+0x170/0x3f0
[   23.938326]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.938994]  kthread+0x318/0x620
[   23.939369]  ret_from_fork+0x10/0x20
[   23.939718] 
[   23.939958] kfence-#103: 0x00000000b86db979-0x0000000012d0829c, size=32, cache=test
[   23.939958] 
[   23.940759] allocated by task 282 on cpu 0 at 23.935267s (0.005480s ago):
[   23.941372]  test_alloc+0x230/0x628
[   23.941771]  test_out_of_bounds_write+0xc8/0x240
[   23.942299]  kunit_try_run_case+0x170/0x3f0
[   23.942729]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.943175]  kthread+0x318/0x620
[   23.943600]  ret_from_fork+0x10/0x20
[   23.944068] 
[   23.944325] CPU: 0 UID: 0 PID: 282 Comm: kunit_try_catch Tainted: G    B            N 6.14.7-rc1 #1
[   23.945110] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.945548] Hardware name: linux,dummy-virt (DT)
[   23.945928] ==================================================================
[   23.519607] ==================================================================
[   23.520066] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   23.520066] 
[   23.520421] Out-of-bounds write at 0x00000000b25b398e (1B left of kfence-#99):
[   23.520652]  test_out_of_bounds_write+0x100/0x240
[   23.520859]  kunit_try_run_case+0x170/0x3f0
[   23.521032]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.521219]  kthread+0x318/0x620
[   23.521367]  ret_from_fork+0x10/0x20
[   23.521517] 
[   23.521619] kfence-#99: 0x00000000ef187485-0x000000002a39b55f, size=32, cache=kmalloc-32
[   23.521619] 
[   23.522012] allocated by task 280 on cpu 0 at 23.519327s (0.002675s ago):
[   23.522584]  test_alloc+0x29c/0x628
[   23.523490]  test_out_of_bounds_write+0xc8/0x240
[   23.524093]  kunit_try_run_case+0x170/0x3f0
[   23.524649]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.525126]  kthread+0x318/0x620
[   23.525607]  ret_from_fork+0x10/0x20
[   23.526134] 
[   23.526446] CPU: 0 UID: 0 PID: 280 Comm: kunit_try_catch Tainted: G    B            N 6.14.7-rc1 #1
[   23.527041] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.527358] Hardware name: linux,dummy-virt (DT)
[   23.527927] ==================================================================

[   17.469513] ==================================================================
[   17.469944] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10e/0x260
[   17.469944] 
[   17.470414] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#64):
[   17.470738]  test_out_of_bounds_write+0x10e/0x260
[   17.470932]  kunit_try_run_case+0x1a6/0x480
[   17.471343]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.471576]  kthread+0x324/0x6e0
[   17.471780]  ret_from_fork+0x41/0x80
[   17.471978]  ret_from_fork_asm+0x1a/0x30
[   17.472175] 
[   17.472353] kfence-#64: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   17.472353] 
[   17.472670] allocated by task 299 on cpu 0 at 17.469385s (0.003283s ago):
[   17.473030]  test_alloc+0x365/0x10f0
[   17.473235]  test_out_of_bounds_write+0xd5/0x260
[   17.473438]  kunit_try_run_case+0x1a6/0x480
[   17.473668]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.473932]  kthread+0x324/0x6e0
[   17.474097]  ret_from_fork+0x41/0x80
[   17.474303]  ret_from_fork_asm+0x1a/0x30
[   17.474499] 
[   17.474616] CPU: 0 UID: 0 PID: 299 Comm: kunit_try_catch Tainted: G    B            N 6.14.7-rc1 #1
[   17.475011] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.475228] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.475581] ==================================================================
[   18.197421] ==================================================================
[   18.197895] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10e/0x260
[   18.197895] 
[   18.198361] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#71):
[   18.198694]  test_out_of_bounds_write+0x10e/0x260
[   18.198941]  kunit_try_run_case+0x1a6/0x480
[   18.199214]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.199484]  kthread+0x324/0x6e0
[   18.199617]  ret_from_fork+0x41/0x80
[   18.199751]  ret_from_fork_asm+0x1a/0x30
[   18.199907] 
[   18.199983] kfence-#71: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   18.199983] 
[   18.200739] allocated by task 301 on cpu 1 at 18.197350s (0.003386s ago):
[   18.201328]  test_alloc+0x2a7/0x10f0
[   18.201554]  test_out_of_bounds_write+0xd5/0x260
[   18.202034]  kunit_try_run_case+0x1a6/0x480
[   18.202264]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.202531]  kthread+0x324/0x6e0
[   18.202678]  ret_from_fork+0x41/0x80
[   18.202889]  ret_from_fork_asm+0x1a/0x30
[   18.203075] 
[   18.203195] CPU: 1 UID: 0 PID: 301 Comm: kunit_try_catch Tainted: G    B            N 6.14.7-rc1 #1
[   18.203585] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.203792] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.204263] ==================================================================