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

Environment
e850-96
qemu-arm64
qemu-x86_64

[   94.373131] ==================================================================
[   94.373266] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x214/0x2c0
[   94.373266] 
[   94.373416] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#221):
[   94.377100]  test_kmalloc_aligned_oob_write+0x214/0x2c0
[   94.382306]  kunit_try_run_case+0x170/0x3f0
[   94.386473]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   94.391942]  kthread+0x328/0x630
[   94.395153]  ret_from_fork+0x10/0x20
[   94.398712] 
[   94.400190] kfence-#221: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   94.400190] 
[   94.409826] allocated by task 409 on cpu 4 at 94.373051s (0.036773s ago):
[   94.416613]  test_alloc+0x29c/0x628
[   94.420066]  test_kmalloc_aligned_oob_write+0xbc/0x2c0
[   94.425187]  kunit_try_run_case+0x170/0x3f0
[   94.429354]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   94.434823]  kthread+0x328/0x630
[   94.438036]  ret_from_fork+0x10/0x20
[   94.441595] 
[   94.443072] freed by task 409 on cpu 4 at 94.373067s (0.070002s ago):
[   94.449511]  test_kmalloc_aligned_oob_write+0x214/0x2c0
[   94.454703]  kunit_try_run_case+0x170/0x3f0
[   94.458868]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   94.464336]  kthread+0x328/0x630
[   94.467548]  ret_from_fork+0x10/0x20
[   94.471109] 
[   94.472595] CPU: 4 UID: 0 PID: 409 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250711 #1 PREEMPT 
[   94.483703] Tainted: [B]=BAD_PAGE, [N]=TEST
[   94.487861] Hardware name: WinLink E850-96 board (DT)
[   94.492899] ==================================================================

[   40.246172] ==================================================================
[   40.246270] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x214/0x2c0
[   40.246270] 
[   40.246354] Corrupted memory at 0x00000000ec2ad28b [ ! . . . . . . . . . . . . . . . ] (in kfence-#186):
[   40.246677]  test_kmalloc_aligned_oob_write+0x214/0x2c0
[   40.246729]  kunit_try_run_case+0x170/0x3f0
[   40.246774]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.246815]  kthread+0x328/0x630
[   40.246852]  ret_from_fork+0x10/0x20
[   40.246892] 
[   40.246916] kfence-#186: 0x00000000d25665fd-0x000000008fcc53a5, size=73, cache=kmalloc-96
[   40.246916] 
[   40.246972] allocated by task 356 on cpu 1 at 40.245901s (0.001068s ago):
[   40.247043]  test_alloc+0x29c/0x628
[   40.247086]  test_kmalloc_aligned_oob_write+0xbc/0x2c0
[   40.247131]  kunit_try_run_case+0x170/0x3f0
[   40.247172]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.247214]  kthread+0x328/0x630
[   40.247249]  ret_from_fork+0x10/0x20
[   40.247288] 
[   40.247313] freed by task 356 on cpu 1 at 40.246078s (0.001231s ago):
[   40.247389]  test_kmalloc_aligned_oob_write+0x214/0x2c0
[   40.247435]  kunit_try_run_case+0x170/0x3f0
[   40.247477]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.247520]  kthread+0x328/0x630
[   40.247555]  ret_from_fork+0x10/0x20
[   40.247595] 
[   40.247639] CPU: 1 UID: 0 PID: 356 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250711 #1 PREEMPT 
[   40.247719] Tainted: [B]=BAD_PAGE, [N]=TEST
[   40.247749] Hardware name: linux,dummy-virt (DT)
[   40.247784] ==================================================================

[   34.991860] ==================================================================
[   34.992235] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x24f/0x340
[   34.992235] 
[   34.992614] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#154):
[   34.993231]  test_kmalloc_aligned_oob_write+0x24f/0x340
[   34.993891]  kunit_try_run_case+0x1a5/0x480
[   34.994256]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.994597]  kthread+0x337/0x6f0
[   34.994762]  ret_from_fork+0x116/0x1d0
[   34.995070]  ret_from_fork_asm+0x1a/0x30
[   34.995253] 
[   34.995346] kfence-#154: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   34.995346] 
[   34.995999] allocated by task 375 on cpu 1 at 34.991595s (0.004402s ago):
[   34.996229]  test_alloc+0x364/0x10f0
[   34.996365]  test_kmalloc_aligned_oob_write+0xc8/0x340
[   34.996975]  kunit_try_run_case+0x1a5/0x480
[   34.997160]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.997379]  kthread+0x337/0x6f0
[   34.997588]  ret_from_fork+0x116/0x1d0
[   34.997981]  ret_from_fork_asm+0x1a/0x30
[   34.998171] 
[   34.998247] freed by task 375 on cpu 1 at 34.991722s (0.006522s ago):
[   34.998570]  test_kmalloc_aligned_oob_write+0x24f/0x340
[   34.999002]  kunit_try_run_case+0x1a5/0x480
[   34.999247]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.999467]  kthread+0x337/0x6f0
[   34.999704]  ret_from_fork+0x116/0x1d0
[   34.999874]  ret_from_fork_asm+0x1a/0x30
[   35.000075] 
[   35.000171] CPU: 1 UID: 0 PID: 375 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250711 #1 PREEMPT(voluntary) 
[   35.000996] Tainted: [B]=BAD_PAGE, [N]=TEST
[   35.001181] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   35.001752] ==================================================================