Hay
Date
July 16, 2025, 12:11 p.m.

Environment
qemu-arm64
qemu-x86_64

[   36.264525] ==================================================================
[   36.264648] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   36.264648] 
[   36.264716] Corrupted memory at 0x0000000066e9e06d [ ! . . . . . . . . . . . . . . . ] (in kfence-#137):
[   36.265839]  test_corruption+0x278/0x378
[   36.265891]  kunit_try_run_case+0x170/0x3f0
[   36.265938]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   36.265986]  kthread+0x328/0x630
[   36.266028]  ret_from_fork+0x10/0x20
[   36.266072] 
[   36.266097] kfence-#137: 0x00000000b09094cb-0x0000000065cc9994, size=32, cache=kmalloc-32
[   36.266097] 
[   36.266160] allocated by task 342 on cpu 0 at 36.264221s (0.001935s ago):
[   36.266231]  test_alloc+0x29c/0x628
[   36.266275]  test_corruption+0xdc/0x378
[   36.266314]  kunit_try_run_case+0x170/0x3f0
[   36.266355]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   36.266406]  kthread+0x328/0x630
[   36.266443]  ret_from_fork+0x10/0x20
[   36.266484] 
[   36.266519] freed by task 342 on cpu 0 at 36.264323s (0.002192s ago):
[   36.266584]  test_corruption+0x278/0x378
[   36.266622]  kunit_try_run_case+0x170/0x3f0
[   36.266663]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   36.266708]  kthread+0x328/0x630
[   36.266746]  ret_from_fork+0x10/0x20
[   36.266786] 
[   36.266832] CPU: 0 UID: 0 PID: 342 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250716 #1 PREEMPT 
[   36.266920] Tainted: [B]=BAD_PAGE, [N]=TEST
[   36.266951] Hardware name: linux,dummy-virt (DT)
[   36.266990] ==================================================================
[   36.368871] ==================================================================
[   36.368965] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   36.368965] 
[   36.369027] Corrupted memory at 0x00000000c069d962 [ ! ] (in kfence-#138):
[   36.369158]  test_corruption+0x284/0x378
[   36.369202]  kunit_try_run_case+0x170/0x3f0
[   36.369247]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   36.369294]  kthread+0x328/0x630
[   36.369333]  ret_from_fork+0x10/0x20
[   36.369374] 
[   36.369397] kfence-#138: 0x00000000f982a3f9-0x00000000a5c3052e, size=32, cache=kmalloc-32
[   36.369397] 
[   36.369456] allocated by task 342 on cpu 0 at 36.368602s (0.000850s ago):
[   36.369542]  test_alloc+0x29c/0x628
[   36.369587]  test_corruption+0x198/0x378
[   36.369625]  kunit_try_run_case+0x170/0x3f0
[   36.369666]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   36.369711]  kthread+0x328/0x630
[   36.369750]  ret_from_fork+0x10/0x20
[   36.369790] 
[   36.369813] freed by task 342 on cpu 0 at 36.368702s (0.001107s ago):
[   36.369880]  test_corruption+0x284/0x378
[   36.369918]  kunit_try_run_case+0x170/0x3f0
[   36.369959]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   36.370006]  kthread+0x328/0x630
[   36.370043]  ret_from_fork+0x10/0x20
[   36.370083] 
[   36.370122] CPU: 0 UID: 0 PID: 342 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250716 #1 PREEMPT 
[   36.370209] Tainted: [B]=BAD_PAGE, [N]=TEST
[   36.370241] Hardware name: linux,dummy-virt (DT)
[   36.370277] ==================================================================
[   36.576354] ==================================================================
[   36.576456] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   36.576456] 
[   36.576535] Corrupted memory at 0x00000000c312d7ca [ ! . . . . . . . . . . . . . . . ] (in kfence-#140):
[   36.576853]  test_corruption+0x120/0x378
[   36.576901]  kunit_try_run_case+0x170/0x3f0
[   36.576949]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   36.576996]  kthread+0x328/0x630
[   36.577037]  ret_from_fork+0x10/0x20
[   36.577080] 
[   36.577104] kfence-#140: 0x000000006194bc67-0x00000000f6be2846, size=32, cache=test
[   36.577104] 
[   36.577163] allocated by task 344 on cpu 0 at 36.576205s (0.000953s ago):
[   36.577231]  test_alloc+0x230/0x628
[   36.577273]  test_corruption+0xdc/0x378
[   36.577313]  kunit_try_run_case+0x170/0x3f0
[   36.577354]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   36.577400]  kthread+0x328/0x630
[   36.577437]  ret_from_fork+0x10/0x20
[   36.577477] 
[   36.577500] freed by task 344 on cpu 0 at 36.576261s (0.001235s ago):
[   36.577583]  test_corruption+0x120/0x378
[   36.577623]  kunit_try_run_case+0x170/0x3f0
[   36.577662]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   36.577708]  kthread+0x328/0x630
[   36.577743]  ret_from_fork+0x10/0x20
[   36.577784] 
[   36.577828] CPU: 0 UID: 0 PID: 344 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250716 #1 PREEMPT 
[   36.577915] Tainted: [B]=BAD_PAGE, [N]=TEST
[   36.577947] Hardware name: linux,dummy-virt (DT)
[   36.577983] ==================================================================
[   36.888330] ==================================================================
[   36.888428] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   36.888428] 
[   36.888490] Corrupted memory at 0x000000008f57fbc6 [ ! ] (in kfence-#143):
[   36.888626]  test_corruption+0x1d8/0x378
[   36.888671]  kunit_try_run_case+0x170/0x3f0
[   36.888716]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   36.888763]  kthread+0x328/0x630
[   36.888802]  ret_from_fork+0x10/0x20
[   36.888842] 
[   36.888867] kfence-#143: 0x0000000062fab046-0x0000000063e7a052, size=32, cache=test
[   36.888867] 
[   36.888926] allocated by task 344 on cpu 0 at 36.888184s (0.000739s ago):
[   36.888996]  test_alloc+0x230/0x628
[   36.889040]  test_corruption+0x198/0x378
[   36.889080]  kunit_try_run_case+0x170/0x3f0
[   36.889122]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   36.889169]  kthread+0x328/0x630
[   36.889206]  ret_from_fork+0x10/0x20
[   36.889246] 
[   36.889270] freed by task 344 on cpu 0 at 36.888240s (0.001026s ago):
[   36.889337]  test_corruption+0x1d8/0x378
[   36.889377]  kunit_try_run_case+0x170/0x3f0
[   36.889418]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   36.889465]  kthread+0x328/0x630
[   36.889502]  ret_from_fork+0x10/0x20
[   36.889552] 
[   36.889594] CPU: 0 UID: 0 PID: 344 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250716 #1 PREEMPT 
[   36.889682] Tainted: [B]=BAD_PAGE, [N]=TEST
[   36.889714] Hardware name: linux,dummy-virt (DT)
[   36.889751] ==================================================================

[   29.754381] ==================================================================
[   29.754804] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   29.754804] 
[   29.755796] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#105):
[   29.756283]  test_corruption+0x131/0x3e0
[   29.756446]  kunit_try_run_case+0x1a5/0x480
[   29.756596]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.757012]  kthread+0x337/0x6f0
[   29.757196]  ret_from_fork+0x116/0x1d0
[   29.757329]  ret_from_fork_asm+0x1a/0x30
[   29.757480] 
[   29.757548] kfence-#105: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   29.757548] 
[   29.757908] allocated by task 362 on cpu 0 at 29.754235s (0.003670s ago):
[   29.758474]  test_alloc+0x2a6/0x10f0
[   29.758634]  test_corruption+0xe6/0x3e0
[   29.758784]  kunit_try_run_case+0x1a5/0x480
[   29.758926]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.759099]  kthread+0x337/0x6f0
[   29.759216]  ret_from_fork+0x116/0x1d0
[   29.759344]  ret_from_fork_asm+0x1a/0x30
[   29.759498] 
[   29.759572] freed by task 362 on cpu 0 at 29.754281s (0.005288s ago):
[   29.759994]  test_corruption+0x131/0x3e0
[   29.760184]  kunit_try_run_case+0x1a5/0x480
[   29.760338]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.760604]  kthread+0x337/0x6f0
[   29.760783]  ret_from_fork+0x116/0x1d0
[   29.760960]  ret_from_fork_asm+0x1a/0x30
[   29.761096] 
[   29.761217] CPU: 0 UID: 0 PID: 362 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250716 #1 PREEMPT(voluntary) 
[   29.761765] Tainted: [B]=BAD_PAGE, [N]=TEST
[   29.761899] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   29.762487] ==================================================================
[   29.234493] ==================================================================
[   29.235077] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   29.235077] 
[   29.235460] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#100):
[   29.236200]  test_corruption+0x2df/0x3e0
[   29.236400]  kunit_try_run_case+0x1a5/0x480
[   29.236582]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.236844]  kthread+0x337/0x6f0
[   29.237411]  ret_from_fork+0x116/0x1d0
[   29.237552]  ret_from_fork_asm+0x1a/0x30
[   29.237820] 
[   29.237931] kfence-#100: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   29.237931] 
[   29.238294] allocated by task 360 on cpu 1 at 29.234232s (0.004060s ago):
[   29.238590]  test_alloc+0x364/0x10f0
[   29.238772]  test_corruption+0x1cb/0x3e0
[   29.239330]  kunit_try_run_case+0x1a5/0x480
[   29.239512]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.239902]  kthread+0x337/0x6f0
[   29.240059]  ret_from_fork+0x116/0x1d0
[   29.240368]  ret_from_fork_asm+0x1a/0x30
[   29.240618] 
[   29.240720] freed by task 360 on cpu 1 at 29.234307s (0.006411s ago):
[   29.241139]  test_corruption+0x2df/0x3e0
[   29.241322]  kunit_try_run_case+0x1a5/0x480
[   29.241589]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.241816]  kthread+0x337/0x6f0
[   29.241973]  ret_from_fork+0x116/0x1d0
[   29.242136]  ret_from_fork_asm+0x1a/0x30
[   29.242333] 
[   29.242478] CPU: 1 UID: 0 PID: 360 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250716 #1 PREEMPT(voluntary) 
[   29.243316] Tainted: [B]=BAD_PAGE, [N]=TEST
[   29.243583] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   29.244076] ==================================================================
[   29.858400] ==================================================================
[   29.858926] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   29.858926] 
[   29.859225] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#106):
[   29.859614]  test_corruption+0x216/0x3e0
[   29.859790]  kunit_try_run_case+0x1a5/0x480
[   29.859939]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.860227]  kthread+0x337/0x6f0
[   29.860412]  ret_from_fork+0x116/0x1d0
[   29.860565]  ret_from_fork_asm+0x1a/0x30
[   29.860703] 
[   29.860797] kfence-#106: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   29.860797] 
[   29.861209] allocated by task 362 on cpu 0 at 29.858246s (0.002961s ago):
[   29.861472]  test_alloc+0x2a6/0x10f0
[   29.861649]  test_corruption+0x1cb/0x3e0
[   29.861855]  kunit_try_run_case+0x1a5/0x480
[   29.862071]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.862252]  kthread+0x337/0x6f0
[   29.862381]  ret_from_fork+0x116/0x1d0
[   29.862563]  ret_from_fork_asm+0x1a/0x30
[   29.862758] 
[   29.862850] freed by task 362 on cpu 0 at 29.858308s (0.004540s ago):
[   29.863208]  test_corruption+0x216/0x3e0
[   29.863387]  kunit_try_run_case+0x1a5/0x480
[   29.863529]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.863890]  kthread+0x337/0x6f0
[   29.864072]  ret_from_fork+0x116/0x1d0
[   29.864229]  ret_from_fork_asm+0x1a/0x30
[   29.864373] 
[   29.864493] CPU: 0 UID: 0 PID: 362 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250716 #1 PREEMPT(voluntary) 
[   29.865018] Tainted: [B]=BAD_PAGE, [N]=TEST
[   29.865240] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   29.865550] ==================================================================
[   29.130539] ==================================================================
[   29.131098] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   29.131098] 
[   29.131519] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#99):
[   29.132471]  test_corruption+0x2d2/0x3e0
[   29.132656]  kunit_try_run_case+0x1a5/0x480
[   29.132886]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.133151]  kthread+0x337/0x6f0
[   29.133275]  ret_from_fork+0x116/0x1d0
[   29.133419]  ret_from_fork_asm+0x1a/0x30
[   29.133622] 
[   29.133767] kfence-#99: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   29.133767] 
[   29.134202] allocated by task 360 on cpu 1 at 29.130245s (0.003955s ago):
[   29.134556]  test_alloc+0x364/0x10f0
[   29.134756]  test_corruption+0xe6/0x3e0
[   29.134889]  kunit_try_run_case+0x1a5/0x480
[   29.135111]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.135391]  kthread+0x337/0x6f0
[   29.135544]  ret_from_fork+0x116/0x1d0
[   29.135700]  ret_from_fork_asm+0x1a/0x30
[   29.135914] 
[   29.136004] freed by task 360 on cpu 1 at 29.130367s (0.005635s ago):
[   29.136309]  test_corruption+0x2d2/0x3e0
[   29.136498]  kunit_try_run_case+0x1a5/0x480
[   29.136727]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.136968]  kthread+0x337/0x6f0
[   29.137087]  ret_from_fork+0x116/0x1d0
[   29.137249]  ret_from_fork_asm+0x1a/0x30
[   29.137476] 
[   29.137615] CPU: 1 UID: 0 PID: 360 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250716 #1 PREEMPT(voluntary) 
[   29.138475] Tainted: [B]=BAD_PAGE, [N]=TEST
[   29.138627] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   29.139552] ==================================================================