Hay
Date
July 12, 2025, 11:09 a.m.

Environment
qemu-arm64
qemu-x86_64

[   26.455316] ==================================================================
[   26.455496] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   26.455496] 
[   26.455620] Corrupted memory at 0x00000000b0261689 [ ! . . . . . . . . . . . . . . . ] (in kfence-#141):
[   26.456244]  test_corruption+0x278/0x378
[   26.456352]  kunit_try_run_case+0x170/0x3f0
[   26.456446]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.456539]  kthread+0x328/0x630
[   26.456619]  ret_from_fork+0x10/0x20
[   26.456686] 
[   26.456717] kfence-#141: 0x000000009de9dd0f-0x000000004e6446db, size=32, cache=kmalloc-32
[   26.456717] 
[   26.456784] allocated by task 312 on cpu 1 at 26.454978s (0.001802s ago):
[   26.456886]  test_alloc+0x29c/0x628
[   26.456933]  test_corruption+0xdc/0x378
[   26.456975]  kunit_try_run_case+0x170/0x3f0
[   26.457018]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.457063]  kthread+0x328/0x630
[   26.457100]  ret_from_fork+0x10/0x20
[   26.457166] 
[   26.457193] freed by task 312 on cpu 1 at 26.455150s (0.002038s ago):
[   26.457261]  test_corruption+0x278/0x378
[   26.457307]  kunit_try_run_case+0x170/0x3f0
[   26.457351]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.457399]  kthread+0x328/0x630
[   26.457439]  ret_from_fork+0x10/0x20
[   26.457483] 
[   26.457538] CPU: 1 UID: 0 PID: 312 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   26.457631] Tainted: [B]=BAD_PAGE, [N]=TEST
[   26.457667] Hardware name: linux,dummy-virt (DT)
[   26.457705] ==================================================================
[   27.078216] ==================================================================
[   27.078414] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   27.078414] 
[   27.078552] Corrupted memory at 0x000000007b78827c [ ! . . . . . . . . . . . . . . . ] (in kfence-#147):
[   27.078951]  test_corruption+0x120/0x378
[   27.079013]  kunit_try_run_case+0x170/0x3f0
[   27.079067]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.079117]  kthread+0x328/0x630
[   27.079161]  ret_from_fork+0x10/0x20
[   27.079206] 
[   27.079235] kfence-#147: 0x00000000674199b2-0x00000000da323e4b, size=32, cache=test
[   27.079235] 
[   27.079297] allocated by task 314 on cpu 1 at 27.077957s (0.001336s ago):
[   27.079371]  test_alloc+0x230/0x628
[   27.079419]  test_corruption+0xdc/0x378
[   27.079463]  kunit_try_run_case+0x170/0x3f0
[   27.079508]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.079555]  kthread+0x328/0x630
[   27.079595]  ret_from_fork+0x10/0x20
[   27.079638] 
[   27.079664] freed by task 314 on cpu 1 at 27.078052s (0.001607s ago):
[   27.079732]  test_corruption+0x120/0x378
[   27.079776]  kunit_try_run_case+0x170/0x3f0
[   27.079833]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.079889]  kthread+0x328/0x630
[   27.079932]  ret_from_fork+0x10/0x20
[   27.079973] 
[   27.080025] CPU: 1 UID: 0 PID: 314 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   27.080112] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.080145] Hardware name: linux,dummy-virt (DT)
[   27.080183] ==================================================================
[   27.182231] ==================================================================
[   27.182413] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   27.182413] 
[   27.182520] Corrupted memory at 0x0000000045dff007 [ ! ] (in kfence-#148):
[   27.182672]  test_corruption+0x1d8/0x378
[   27.182733]  kunit_try_run_case+0x170/0x3f0
[   27.182784]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.182854]  kthread+0x328/0x630
[   27.182903]  ret_from_fork+0x10/0x20
[   27.182948] 
[   27.182975] kfence-#148: 0x00000000983f849c-0x0000000036986fd0, size=32, cache=test
[   27.182975] 
[   27.183040] allocated by task 314 on cpu 1 at 27.181987s (0.001049s ago):
[   27.183109]  test_alloc+0x230/0x628
[   27.183156]  test_corruption+0x198/0x378
[   27.183201]  kunit_try_run_case+0x170/0x3f0
[   27.183243]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.183291]  kthread+0x328/0x630
[   27.183329]  ret_from_fork+0x10/0x20
[   27.183373] 
[   27.183399] freed by task 314 on cpu 1 at 27.182079s (0.001315s ago):
[   27.183465]  test_corruption+0x1d8/0x378
[   27.183510]  kunit_try_run_case+0x170/0x3f0
[   27.183552]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.183599]  kthread+0x328/0x630
[   27.183637]  ret_from_fork+0x10/0x20
[   27.183681] 
[   27.183728] CPU: 1 UID: 0 PID: 314 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   27.183813] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.183864] Hardware name: linux,dummy-virt (DT)
[   27.183901] ==================================================================
[   26.662522] ==================================================================
[   26.662678] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   26.662678] 
[   26.662765] Corrupted memory at 0x000000005209f6ac [ ! ] (in kfence-#143):
[   26.662948]  test_corruption+0x284/0x378
[   26.663011]  kunit_try_run_case+0x170/0x3f0
[   26.663062]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.663112]  kthread+0x328/0x630
[   26.663159]  ret_from_fork+0x10/0x20
[   26.663205] 
[   26.663235] kfence-#143: 0x00000000885af237-0x000000004a737be7, size=32, cache=kmalloc-32
[   26.663235] 
[   26.663300] allocated by task 312 on cpu 1 at 26.662020s (0.001275s ago):
[   26.663372]  test_alloc+0x29c/0x628
[   26.663417]  test_corruption+0x198/0x378
[   26.663462]  kunit_try_run_case+0x170/0x3f0
[   26.663507]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.663554]  kthread+0x328/0x630
[   26.663595]  ret_from_fork+0x10/0x20
[   26.663636] 
[   26.663664] freed by task 312 on cpu 1 at 26.662204s (0.001455s ago):
[   26.663730]  test_corruption+0x284/0x378
[   26.663776]  kunit_try_run_case+0x170/0x3f0
[   26.663831]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.663888]  kthread+0x328/0x630
[   26.663928]  ret_from_fork+0x10/0x20
[   26.663971] 
[   26.664021] CPU: 1 UID: 0 PID: 312 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   26.664109] Tainted: [B]=BAD_PAGE, [N]=TEST
[   26.664143] Hardware name: linux,dummy-virt (DT)
[   26.664180] ==================================================================

[   19.569104] ==================================================================
[   19.569488] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   19.569488] 
[   19.569915] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#83):
[   19.570460]  test_corruption+0x131/0x3e0
[   19.570678]  kunit_try_run_case+0x1a5/0x480
[   19.570905]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.571144]  kthread+0x337/0x6f0
[   19.571318]  ret_from_fork+0x116/0x1d0
[   19.571488]  ret_from_fork_asm+0x1a/0x30
[   19.571633] 
[   19.571716] kfence-#83: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   19.571716] 
[   19.572148] allocated by task 331 on cpu 0 at 19.568978s (0.003169s ago):
[   19.572510]  test_alloc+0x2a6/0x10f0
[   19.572681]  test_corruption+0xe6/0x3e0
[   19.572830]  kunit_try_run_case+0x1a5/0x480
[   19.573034]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.573300]  kthread+0x337/0x6f0
[   19.573514]  ret_from_fork+0x116/0x1d0
[   19.573727]  ret_from_fork_asm+0x1a/0x30
[   19.573889] 
[   19.573988] freed by task 331 on cpu 0 at 19.569032s (0.004954s ago):
[   19.574259]  test_corruption+0x131/0x3e0
[   19.574421]  kunit_try_run_case+0x1a5/0x480
[   19.574635]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.574916]  kthread+0x337/0x6f0
[   19.575052]  ret_from_fork+0x116/0x1d0
[   19.575229]  ret_from_fork_asm+0x1a/0x30
[   19.575371] 
[   19.575465] CPU: 0 UID: 0 PID: 331 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   19.575940] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.576148] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   19.576485] ==================================================================
[   19.049186] ==================================================================
[   19.049577] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   19.049577] 
[   19.050036] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#78):
[   19.050651]  test_corruption+0x2d2/0x3e0
[   19.050861]  kunit_try_run_case+0x1a5/0x480
[   19.051027]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.051282]  kthread+0x337/0x6f0
[   19.051429]  ret_from_fork+0x116/0x1d0
[   19.051605]  ret_from_fork_asm+0x1a/0x30
[   19.051798] 
[   19.051870] kfence-#78: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   19.051870] 
[   19.052264] allocated by task 329 on cpu 0 at 19.049015s (0.003246s ago):
[   19.052505]  test_alloc+0x364/0x10f0
[   19.052664]  test_corruption+0xe6/0x3e0
[   19.052877]  kunit_try_run_case+0x1a5/0x480
[   19.053094]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.053315]  kthread+0x337/0x6f0
[   19.053477]  ret_from_fork+0x116/0x1d0
[   19.053636]  ret_from_fork_asm+0x1a/0x30
[   19.053867] 
[   19.053954] freed by task 329 on cpu 0 at 19.049112s (0.004839s ago):
[   19.054231]  test_corruption+0x2d2/0x3e0
[   19.054429]  kunit_try_run_case+0x1a5/0x480
[   19.054600]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.054881]  kthread+0x337/0x6f0
[   19.055006]  ret_from_fork+0x116/0x1d0
[   19.055140]  ret_from_fork_asm+0x1a/0x30
[   19.055453] 
[   19.055572] CPU: 0 UID: 0 PID: 329 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   19.056197] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.056337] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   19.056720] ==================================================================
[   19.154269] ==================================================================
[   19.154650] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   19.154650] 
[   19.155003] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#79):
[   19.155319]  test_corruption+0x2df/0x3e0
[   19.155472]  kunit_try_run_case+0x1a5/0x480
[   19.155623]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.155811]  kthread+0x337/0x6f0
[   19.155938]  ret_from_fork+0x116/0x1d0
[   19.156073]  ret_from_fork_asm+0x1a/0x30
[   19.156216] 
[   19.156288] kfence-#79: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   19.156288] 
[   19.156570] allocated by task 329 on cpu 0 at 19.153944s (0.002624s ago):
[   19.156855]  test_alloc+0x364/0x10f0
[   19.156992]  test_corruption+0x1cb/0x3e0
[   19.157137]  kunit_try_run_case+0x1a5/0x480
[   19.157288]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.157659]  kthread+0x337/0x6f0
[   19.157846]  ret_from_fork+0x116/0x1d0
[   19.158040]  ret_from_fork_asm+0x1a/0x30
[   19.158242] 
[   19.158337] freed by task 329 on cpu 0 at 19.154117s (0.004218s ago):
[   19.158655]  test_corruption+0x2df/0x3e0
[   19.158875]  kunit_try_run_case+0x1a5/0x480
[   19.159088]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.159299]  kthread+0x337/0x6f0
[   19.159460]  ret_from_fork+0x116/0x1d0
[   19.159592]  ret_from_fork_asm+0x1a/0x30
[   19.159909] 
[   19.160032] CPU: 0 UID: 0 PID: 329 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   19.160451] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.160624] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   19.161010] ==================================================================
[   20.505271] ==================================================================
[   20.505680] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   20.505680] 
[   20.506021] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#92):
[   20.506402]  test_corruption+0x216/0x3e0
[   20.506709]  kunit_try_run_case+0x1a5/0x480
[   20.506885]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.507114]  kthread+0x337/0x6f0
[   20.507239]  ret_from_fork+0x116/0x1d0
[   20.507413]  ret_from_fork_asm+0x1a/0x30
[   20.507618] 
[   20.507766] kfence-#92: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   20.507766] 
[   20.508070] allocated by task 331 on cpu 0 at 20.505165s (0.002903s ago):
[   20.508482]  test_alloc+0x2a6/0x10f0
[   20.508665]  test_corruption+0x1cb/0x3e0
[   20.508849]  kunit_try_run_case+0x1a5/0x480
[   20.509025]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.509244]  kthread+0x337/0x6f0
[   20.509408]  ret_from_fork+0x116/0x1d0
[   20.509545]  ret_from_fork_asm+0x1a/0x30
[   20.509686] 
[   20.509793] freed by task 331 on cpu 0 at 20.505196s (0.004595s ago):
[   20.510105]  test_corruption+0x216/0x3e0
[   20.510353]  kunit_try_run_case+0x1a5/0x480
[   20.510550]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.510831]  kthread+0x337/0x6f0
[   20.510971]  ret_from_fork+0x116/0x1d0
[   20.511104]  ret_from_fork_asm+0x1a/0x30
[   20.511244] 
[   20.511346] CPU: 0 UID: 0 PID: 331 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   20.511994] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.512201] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   20.512468] ==================================================================