Hay
Date
July 4, 2025, 3:11 p.m.

Environment
e850-96
qemu-arm64
qemu-x86_64

[   74.404895] ==================================================================
[   74.405036] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x214/0x2c0
[   74.405036] 
[   74.405179] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#191):
[   74.408870]  test_kmalloc_aligned_oob_write+0x214/0x2c0
[   74.414076]  kunit_try_run_case+0x170/0x3f0
[   74.418243]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   74.423712]  kthread+0x328/0x630
[   74.426923]  ret_from_fork+0x10/0x20
[   74.430482] 
[   74.431962] kfence-#191: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   74.431962] 
[   74.441596] allocated by task 374 on cpu 6 at 74.404827s (0.036767s ago):
[   74.448377]  test_alloc+0x29c/0x628
[   74.451836]  test_kmalloc_aligned_oob_write+0xbc/0x2c0
[   74.456958]  kunit_try_run_case+0x170/0x3f0
[   74.461124]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   74.466593]  kthread+0x328/0x630
[   74.469805]  ret_from_fork+0x10/0x20
[   74.473364] 
[   74.474842] freed by task 374 on cpu 6 at 74.404843s (0.069997s ago):
[   74.481276]  test_kmalloc_aligned_oob_write+0x214/0x2c0
[   74.486471]  kunit_try_run_case+0x170/0x3f0
[   74.490638]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   74.496106]  kthread+0x328/0x630
[   74.499318]  ret_from_fork+0x10/0x20
[   74.502878] 
[   74.504364] CPU: 6 UID: 0 PID: 374 Comm: kunit_try_catch Tainted: G    B            N  6.15.5-rc2 #1 PREEMPT 
[   74.514260] Tainted: [B]=BAD_PAGE, [N]=TEST
[   74.518417] Hardware name: WinLink E850-96 board (DT)
[   74.523452] ==================================================================

[   26.744708] ==================================================================
[   26.744812] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x214/0x2c0
[   26.744812] 
[   26.744874] Corrupted memory at 0x00000000e7c89723 [ ! . . . . . . . . . . . . . . . ] (in kfence-#154):
[   26.745185]  test_kmalloc_aligned_oob_write+0x214/0x2c0
[   26.745231]  kunit_try_run_case+0x170/0x3f0
[   26.745274]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.745319]  kthread+0x328/0x630
[   26.745361]  ret_from_fork+0x10/0x20
[   26.745401] 
[   26.745425] kfence-#154: 0x000000007d048433-0x0000000057c887a1, size=73, cache=kmalloc-96
[   26.745425] 
[   26.745479] allocated by task 330 on cpu 1 at 26.744458s (0.001018s ago):
[   26.745541]  test_alloc+0x29c/0x628
[   26.745580]  test_kmalloc_aligned_oob_write+0xbc/0x2c0
[   26.745621]  kunit_try_run_case+0x170/0x3f0
[   26.745673]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.745717]  kthread+0x328/0x630
[   26.745757]  ret_from_fork+0x10/0x20
[   26.745794] 
[   26.745817] freed by task 330 on cpu 1 at 26.744596s (0.001217s ago):
[   26.745876]  test_kmalloc_aligned_oob_write+0x214/0x2c0
[   26.745918]  kunit_try_run_case+0x170/0x3f0
[   26.745957]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.746006]  kthread+0x328/0x630
[   26.746046]  ret_from_fork+0x10/0x20
[   26.746083] 
[   26.746126] CPU: 1 UID: 0 PID: 330 Comm: kunit_try_catch Tainted: G    B            N  6.15.5-rc2 #1 PREEMPT 
[   26.746202] Tainted: [B]=BAD_PAGE, [N]=TEST
[   26.746232] Hardware name: linux,dummy-virt (DT)
[   26.746267] ==================================================================

[   29.499909] ==================================================================
[   29.500484] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x24f/0x340
[   29.500484] 
[   29.500810] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#180):
[   29.501648]  test_kmalloc_aligned_oob_write+0x24f/0x340
[   29.501870]  kunit_try_run_case+0x1a5/0x480
[   29.502036]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.502269]  kthread+0x337/0x6f0
[   29.502453]  ret_from_fork+0x41/0x80
[   29.502648]  ret_from_fork_asm+0x1a/0x30
[   29.502930] 
[   29.503046] kfence-#180: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   29.503046] 
[   29.503415] allocated by task 346 on cpu 0 at 29.499435s (0.003976s ago):
[   29.503683]  test_alloc+0x364/0x10f0
[   29.503845]  test_kmalloc_aligned_oob_write+0xc8/0x340
[   29.504040]  kunit_try_run_case+0x1a5/0x480
[   29.504246]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.504464]  kthread+0x337/0x6f0
[   29.504618]  ret_from_fork+0x41/0x80
[   29.504781]  ret_from_fork_asm+0x1a/0x30
[   29.504947] 
[   29.505081] freed by task 346 on cpu 0 at 29.499684s (0.005391s ago):
[   29.505345]  test_kmalloc_aligned_oob_write+0x24f/0x340
[   29.505553]  kunit_try_run_case+0x1a5/0x480
[   29.505734]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.505940]  kthread+0x337/0x6f0
[   29.506124]  ret_from_fork+0x41/0x80
[   29.506294]  ret_from_fork_asm+0x1a/0x30
[   29.506477] 
[   29.506623] CPU: 0 UID: 0 PID: 346 Comm: kunit_try_catch Tainted: G    B            N  6.15.5-rc2 #1 PREEMPT(voluntary) 
[   29.506973] Tainted: [B]=BAD_PAGE, [N]=TEST
[   29.507164] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   29.507464] ==================================================================