Hay
Date
June 17, 2025, 3:40 p.m.

Environment
qemu-arm64
qemu-x86_64

[   27.375717] ==================================================================
[   27.375888] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   27.375888] 
[   27.376062] Out-of-bounds write at 0x000000000d1e6d29 (1B left of kfence-#124):
[   27.376211]  test_out_of_bounds_write+0x100/0x240
[   27.376322]  kunit_try_run_case+0x170/0x3f0
[   27.376430]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.376541]  kthread+0x328/0x630
[   27.376641]  ret_from_fork+0x10/0x20
[   27.377393] 
[   27.377543] kfence-#124: 0x00000000bee10821-0x00000000b9521a59, size=32, cache=test
[   27.377543] 
[   27.377770] allocated by task 295 on cpu 0 at 27.375527s (0.002234s ago):
[   27.378056]  test_alloc+0x230/0x628
[   27.378164]  test_out_of_bounds_write+0xc8/0x240
[   27.378588]  kunit_try_run_case+0x170/0x3f0
[   27.378686]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.378787]  kthread+0x328/0x630
[   27.378876]  ret_from_fork+0x10/0x20
[   27.379000] 
[   27.379198] CPU: 0 UID: 0 PID: 295 Comm: kunit_try_catch Tainted: G    B            N  6.15.3-rc1 #1 PREEMPT 
[   27.379467] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.379967] Hardware name: linux,dummy-virt (DT)
[   27.380290] ==================================================================
[   27.268279] ==================================================================
[   27.268434] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   27.268434] 
[   27.269110] Out-of-bounds write at 0x000000009540b144 (1B left of kfence-#123):
[   27.269365]  test_out_of_bounds_write+0x100/0x240
[   27.269530]  kunit_try_run_case+0x170/0x3f0
[   27.270068]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.270214]  kthread+0x328/0x630
[   27.270341]  ret_from_fork+0x10/0x20
[   27.270453] 
[   27.270538] kfence-#123: 0x00000000badac655-0x00000000465b7c49, size=32, cache=kmalloc-32
[   27.270538] 
[   27.270720] allocated by task 293 on cpu 0 at 27.267854s (0.002856s ago):
[   27.270903]  test_alloc+0x29c/0x628
[   27.270996]  test_out_of_bounds_write+0xc8/0x240
[   27.271104]  kunit_try_run_case+0x170/0x3f0
[   27.271213]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.271329]  kthread+0x328/0x630
[   27.271432]  ret_from_fork+0x10/0x20
[   27.271571] 
[   27.271741] CPU: 0 UID: 0 PID: 293 Comm: kunit_try_catch Tainted: G    B            N  6.15.3-rc1 #1 PREEMPT 
[   27.271926] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.272003] Hardware name: linux,dummy-virt (DT)
[   27.272480] ==================================================================

[   27.787779] ==================================================================
[   27.788383] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   27.788383] 
[   27.789503] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#109):
[   27.790113]  test_out_of_bounds_write+0x10d/0x260
[   27.790578]  kunit_try_run_case+0x1a5/0x480
[   27.791109]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.791654]  kthread+0x337/0x6f0
[   27.792112]  ret_from_fork+0x41/0x80
[   27.792536]  ret_from_fork_asm+0x1a/0x30
[   27.793002] 
[   27.793335] kfence-#109: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   27.793335] 
[   27.793936] allocated by task 313 on cpu 0 at 27.787676s (0.006254s ago):
[   27.794714]  test_alloc+0x2a6/0x10f0
[   27.795210]  test_out_of_bounds_write+0xd4/0x260
[   27.795787]  kunit_try_run_case+0x1a5/0x480
[   27.796328]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.796868]  kthread+0x337/0x6f0
[   27.797277]  ret_from_fork+0x41/0x80
[   27.797734]  ret_from_fork_asm+0x1a/0x30
[   27.798161] 
[   27.798490] CPU: 0 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.15.3-rc1 #1 PREEMPT(voluntary) 
[   27.799433] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.799754] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   27.800639] ==================================================================
[   27.683870] ==================================================================
[   27.684520] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   27.684520] 
[   27.685405] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#108):
[   27.685927]  test_out_of_bounds_write+0x10d/0x260
[   27.686330]  kunit_try_run_case+0x1a5/0x480
[   27.686640]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.687092]  kthread+0x337/0x6f0
[   27.688418]  ret_from_fork+0x41/0x80
[   27.688979]  ret_from_fork_asm+0x1a/0x30
[   27.689731] 
[   27.690240] kfence-#108: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   27.690240] 
[   27.691479] allocated by task 311 on cpu 1 at 27.683656s (0.007818s ago):
[   27.692065]  test_alloc+0x364/0x10f0
[   27.692406]  test_out_of_bounds_write+0xd4/0x260
[   27.692777]  kunit_try_run_case+0x1a5/0x480
[   27.693625]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.694376]  kthread+0x337/0x6f0
[   27.694818]  ret_from_fork+0x41/0x80
[   27.695357]  ret_from_fork_asm+0x1a/0x30
[   27.696015] 
[   27.696430] CPU: 1 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.15.3-rc1 #1 PREEMPT(voluntary) 
[   27.697077] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.697253] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   27.697890] ==================================================================