Hay
Date
June 7, 2025, 10:40 a.m.

Environment
qemu-arm64
qemu-x86_64

[   32.002055] ==================================================================
[   32.002811] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   32.002811] 
[   32.003613] Out-of-bounds write at 0x0000000001510862 (1B left of kfence-#116):
[   32.004902]  test_out_of_bounds_write+0x100/0x240
[   32.005759]  kunit_try_run_case+0x170/0x3f0
[   32.006336]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   32.006928]  kthread+0x318/0x620
[   32.007448]  ret_from_fork+0x10/0x20
[   32.007981] 
[   32.008294] kfence-#116: 0x00000000ce997732-0x0000000048e1c55a, size=32, cache=kmalloc-32
[   32.008294] 
[   32.009188] allocated by task 280 on cpu 1 at 32.001777s (0.007399s ago):
[   32.010038]  test_alloc+0x29c/0x628
[   32.010521]  test_out_of_bounds_write+0xc8/0x240
[   32.011189]  kunit_try_run_case+0x170/0x3f0
[   32.011747]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   32.012491]  kthread+0x318/0x620
[   32.012952]  ret_from_fork+0x10/0x20
[   32.013469] 
[   32.013832] CPU: 1 UID: 0 PID: 280 Comm: kunit_try_catch Tainted: G    B            N 6.14.11-rc1 #1
[   32.014823] Tainted: [B]=BAD_PAGE, [N]=TEST
[   32.015350] Hardware name: linux,dummy-virt (DT)
[   32.015925] ==================================================================
[   32.417961] ==================================================================
[   32.418792] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   32.418792] 
[   32.419692] Out-of-bounds write at 0x000000006d444d96 (1B left of kfence-#120):
[   32.421404]  test_out_of_bounds_write+0x100/0x240
[   32.422178]  kunit_try_run_case+0x170/0x3f0
[   32.422712]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   32.423560]  kthread+0x318/0x620
[   32.424030]  ret_from_fork+0x10/0x20
[   32.424603] 
[   32.425071] kfence-#120: 0x00000000a7750c7c-0x00000000befc4c35, size=32, cache=test
[   32.425071] 
[   32.426037] allocated by task 282 on cpu 0 at 32.417783s (0.008243s ago):
[   32.426919]  test_alloc+0x230/0x628
[   32.427510]  test_out_of_bounds_write+0xc8/0x240
[   32.428078]  kunit_try_run_case+0x170/0x3f0
[   32.428718]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   32.429395]  kthread+0x318/0x620
[   32.429948]  ret_from_fork+0x10/0x20
[   32.430497] 
[   32.430931] CPU: 0 UID: 0 PID: 282 Comm: kunit_try_catch Tainted: G    B            N 6.14.11-rc1 #1
[   32.431927] Tainted: [B]=BAD_PAGE, [N]=TEST
[   32.432470] Hardware name: linux,dummy-virt (DT)
[   32.433081] ==================================================================

[   25.651134] ==================================================================
[   25.651709] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10e/0x260
[   25.651709] 
[   25.652808] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#100):
[   25.653387]  test_out_of_bounds_write+0x10e/0x260
[   25.653746]  kunit_try_run_case+0x1a6/0x480
[   25.654605]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   25.654978]  kthread+0x324/0x6e0
[   25.655214]  ret_from_fork+0x41/0x80
[   25.655894]  ret_from_fork_asm+0x1a/0x30
[   25.656312] 
[   25.656611] kfence-#100: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   25.656611] 
[   25.657129] allocated by task 301 on cpu 1 at 25.651045s (0.006078s ago):
[   25.657679]  test_alloc+0x2a7/0x10f0
[   25.658066]  test_out_of_bounds_write+0xd5/0x260
[   25.658502]  kunit_try_run_case+0x1a6/0x480
[   25.658990]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   25.659453]  kthread+0x324/0x6e0
[   25.659752]  ret_from_fork+0x41/0x80
[   25.660021]  ret_from_fork_asm+0x1a/0x30
[   25.660454] 
[   25.660692] CPU: 1 UID: 0 PID: 301 Comm: kunit_try_catch Tainted: G    B            N 6.14.11-rc1 #1
[   25.661227] Tainted: [B]=BAD_PAGE, [N]=TEST
[   25.661653] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   25.662351] ==================================================================
[   25.547223] ==================================================================
[   25.547914] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10e/0x260
[   25.547914] 
[   25.548521] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#99):
[   25.549146]  test_out_of_bounds_write+0x10e/0x260
[   25.549476]  kunit_try_run_case+0x1a6/0x480
[   25.549809]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   25.550337]  kthread+0x324/0x6e0
[   25.550750]  ret_from_fork+0x41/0x80
[   25.551045]  ret_from_fork_asm+0x1a/0x30
[   25.551441] 
[   25.551598] kfence-#99: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   25.551598] 
[   25.552400] allocated by task 299 on cpu 0 at 25.547017s (0.005377s ago):
[   25.552786]  test_alloc+0x365/0x10f0
[   25.553053]  test_out_of_bounds_write+0xd5/0x260
[   25.553476]  kunit_try_run_case+0x1a6/0x480
[   25.553998]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   25.554534]  kthread+0x324/0x6e0
[   25.554917]  ret_from_fork+0x41/0x80
[   25.555196]  ret_from_fork_asm+0x1a/0x30
[   25.555452] 
[   25.555697] CPU: 0 UID: 0 PID: 299 Comm: kunit_try_catch Tainted: G    B            N 6.14.11-rc1 #1
[   25.556890] Tainted: [B]=BAD_PAGE, [N]=TEST
[   25.557242] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   25.557770] ==================================================================