Hay
Date
July 3, 2025, 3:13 p.m.

Environment
qemu-arm64
qemu-x86_64

[   21.714924] ==================================================================
[   21.715035] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   21.715035] 
[   21.715093] Corrupted memory at 0x00000000b42734e6 [ ! ] (in kfence-#108):
[   21.715225]  test_corruption+0x284/0x378
[   21.715270]  kunit_try_run_case+0x170/0x3f0
[   21.715313]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.715358]  kthread+0x328/0x630
[   21.715398]  ret_from_fork+0x10/0x20
[   21.715439] 
[   21.715464] kfence-#108: 0x00000000a5a09d4c-0x00000000f54258a2, size=32, cache=kmalloc-32
[   21.715464] 
[   21.715518] allocated by task 314 on cpu 1 at 21.714648s (0.000866s ago):
[   21.715576]  test_alloc+0x29c/0x628
[   21.715615]  test_corruption+0x198/0x378
[   21.715657]  kunit_try_run_case+0x170/0x3f0
[   21.715701]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.715746]  kthread+0x328/0x630
[   21.715783]  ret_from_fork+0x10/0x20
[   21.715823] 
[   21.715847] freed by task 314 on cpu 1 at 21.714752s (0.001091s ago):
[   21.715904]  test_corruption+0x284/0x378
[   21.715941]  kunit_try_run_case+0x170/0x3f0
[   21.715996]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.716040]  kthread+0x328/0x630
[   21.716079]  ret_from_fork+0x10/0x20
[   21.716118] 
[   21.716162] CPU: 1 UID: 0 PID: 314 Comm: kunit_try_catch Tainted: G    B            N  6.15.5-rc1 #1 PREEMPT 
[   21.716238] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.716266] Hardware name: linux,dummy-virt (DT)
[   21.716300] ==================================================================
[   21.402894] ==================================================================
[   21.403030] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   21.403030] 
[   21.403097] Corrupted memory at 0x00000000be369ef3 [ ! . . . . . . . . . . . . . . . ] (in kfence-#105):
[   21.404226]  test_corruption+0x278/0x378
[   21.404276]  kunit_try_run_case+0x170/0x3f0
[   21.404324]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.404368]  kthread+0x328/0x630
[   21.404412]  ret_from_fork+0x10/0x20
[   21.404451] 
[   21.404476] kfence-#105: 0x0000000019246626-0x000000007a290049, size=32, cache=kmalloc-32
[   21.404476] 
[   21.404532] allocated by task 314 on cpu 1 at 21.402612s (0.001917s ago):
[   21.404594]  test_alloc+0x29c/0x628
[   21.404633]  test_corruption+0xdc/0x378
[   21.404672]  kunit_try_run_case+0x170/0x3f0
[   21.404712]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.404757]  kthread+0x328/0x630
[   21.404796]  ret_from_fork+0x10/0x20
[   21.404836] 
[   21.404859] freed by task 314 on cpu 1 at 21.402712s (0.002143s ago):
[   21.404916]  test_corruption+0x278/0x378
[   21.404965]  kunit_try_run_case+0x170/0x3f0
[   21.405007]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.405052]  kthread+0x328/0x630
[   21.405089]  ret_from_fork+0x10/0x20
[   21.405129] 
[   21.405175] CPU: 1 UID: 0 PID: 314 Comm: kunit_try_catch Tainted: G    B            N  6.15.5-rc1 #1 PREEMPT 
[   21.405252] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.405282] Hardware name: linux,dummy-virt (DT)
[   21.405318] ==================================================================
[   22.026804] ==================================================================
[   22.026902] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   22.026902] 
[   22.026981] Corrupted memory at 0x0000000018e0be04 [ ! . . . . . . . . . . . . . . . ] (in kfence-#111):
[   22.027291]  test_corruption+0x120/0x378
[   22.027336]  kunit_try_run_case+0x170/0x3f0
[   22.027381]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.027427]  kthread+0x328/0x630
[   22.027469]  ret_from_fork+0x10/0x20
[   22.027508] 
[   22.027533] kfence-#111: 0x000000009aeebe34-0x0000000059903a46, size=32, cache=test
[   22.027533] 
[   22.027587] allocated by task 316 on cpu 1 at 22.026649s (0.000934s ago):
[   22.027648]  test_alloc+0x230/0x628
[   22.027687]  test_corruption+0xdc/0x378
[   22.027726]  kunit_try_run_case+0x170/0x3f0
[   22.027767]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.027811]  kthread+0x328/0x630
[   22.027852]  ret_from_fork+0x10/0x20
[   22.027893] 
[   22.027916] freed by task 316 on cpu 1 at 22.026712s (0.001200s ago):
[   22.027987]  test_corruption+0x120/0x378
[   22.028026]  kunit_try_run_case+0x170/0x3f0
[   22.028067]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.028116]  kthread+0x328/0x630
[   22.028156]  ret_from_fork+0x10/0x20
[   22.028194] 
[   22.028239] CPU: 1 UID: 0 PID: 316 Comm: kunit_try_catch Tainted: G    B            N  6.15.5-rc1 #1 PREEMPT 
[   22.028315] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.028346] Hardware name: linux,dummy-virt (DT)
[   22.028380] ==================================================================
[   22.546808] ==================================================================
[   22.546903] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   22.546903] 
[   22.546979] Corrupted memory at 0x000000001e14f36e [ ! ] (in kfence-#116):
[   22.547095]  test_corruption+0x1d8/0x378
[   22.547141]  kunit_try_run_case+0x170/0x3f0
[   22.547185]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.547230]  kthread+0x328/0x630
[   22.547270]  ret_from_fork+0x10/0x20
[   22.547311] 
[   22.547334] kfence-#116: 0x000000008b7c2781-0x00000000013c9571, size=32, cache=test
[   22.547334] 
[   22.547387] allocated by task 316 on cpu 1 at 22.546644s (0.000739s ago):
[   22.547447]  test_alloc+0x230/0x628
[   22.547487]  test_corruption+0x198/0x378
[   22.547525]  kunit_try_run_case+0x170/0x3f0
[   22.547565]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.547609]  kthread+0x328/0x630
[   22.547648]  ret_from_fork+0x10/0x20
[   22.547687] 
[   22.547710] freed by task 316 on cpu 1 at 22.546704s (0.001002s ago):
[   22.547768]  test_corruption+0x1d8/0x378
[   22.547804]  kunit_try_run_case+0x170/0x3f0
[   22.547845]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.547888]  kthread+0x328/0x630
[   22.547928]  ret_from_fork+0x10/0x20
[   22.547975] 
[   22.548017] CPU: 1 UID: 0 PID: 316 Comm: kunit_try_catch Tainted: G    B            N  6.15.5-rc1 #1 PREEMPT 
[   22.548093] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.548126] Hardware name: linux,dummy-virt (DT)
[   22.548161] ==================================================================

[   17.825824] ==================================================================
[   17.826232] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   17.826232] 
[   17.826553] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#84):
[   17.826973]  test_corruption+0x2df/0x3e0
[   17.827186]  kunit_try_run_case+0x1a5/0x480
[   17.827355]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.827603]  kthread+0x337/0x6f0
[   17.827762]  ret_from_fork+0x41/0x80
[   17.827898]  ret_from_fork_asm+0x1a/0x30
[   17.828105] 
[   17.828206] kfence-#84: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   17.828206] 
[   17.828605] allocated by task 331 on cpu 1 at 17.825566s (0.003036s ago):
[   17.828859]  test_alloc+0x364/0x10f0
[   17.829049]  test_corruption+0x1cb/0x3e0
[   17.829256]  kunit_try_run_case+0x1a5/0x480
[   17.829428]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.829655]  kthread+0x337/0x6f0
[   17.829827]  ret_from_fork+0x41/0x80
[   17.829983]  ret_from_fork_asm+0x1a/0x30
[   17.830192] 
[   17.830288] freed by task 331 on cpu 1 at 17.825664s (0.004622s ago):
[   17.830581]  test_corruption+0x2df/0x3e0
[   17.830772]  kunit_try_run_case+0x1a5/0x480
[   17.830922]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.831098]  kthread+0x337/0x6f0
[   17.831281]  ret_from_fork+0x41/0x80
[   17.831473]  ret_from_fork_asm+0x1a/0x30
[   17.831670] 
[   17.831790] CPU: 1 UID: 0 PID: 331 Comm: kunit_try_catch Tainted: G    B            N  6.15.5-rc1 #1 PREEMPT(voluntary) 
[   17.832383] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.832526] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.833173] ==================================================================
[   18.241749] ==================================================================
[   18.242140] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   18.242140] 
[   18.242511] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#88):
[   18.242968]  test_corruption+0x216/0x3e0
[   18.243292]  kunit_try_run_case+0x1a5/0x480
[   18.243623]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.243836]  kthread+0x337/0x6f0
[   18.243973]  ret_from_fork+0x41/0x80
[   18.244164]  ret_from_fork_asm+0x1a/0x30
[   18.244378] 
[   18.244480] kfence-#88: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   18.244480] 
[   18.244940] allocated by task 333 on cpu 1 at 18.241634s (0.003304s ago):
[   18.245163]  test_alloc+0x2a6/0x10f0
[   18.245303]  test_corruption+0x1cb/0x3e0
[   18.245438]  kunit_try_run_case+0x1a5/0x480
[   18.245591]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.245865]  kthread+0x337/0x6f0
[   18.246048]  ret_from_fork+0x41/0x80
[   18.246277]  ret_from_fork_asm+0x1a/0x30
[   18.246515] 
[   18.246615] freed by task 333 on cpu 1 at 18.241674s (0.004938s ago):
[   18.247042]  test_corruption+0x216/0x3e0
[   18.247254]  kunit_try_run_case+0x1a5/0x480
[   18.247480]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.247697]  kthread+0x337/0x6f0
[   18.247880]  ret_from_fork+0x41/0x80
[   18.248079]  ret_from_fork_asm+0x1a/0x30
[   18.248228] 
[   18.248322] CPU: 1 UID: 0 PID: 333 Comm: kunit_try_catch Tainted: G    B            N  6.15.5-rc1 #1 PREEMPT(voluntary) 
[   18.248635] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.248843] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.249294] ==================================================================
[   17.617860] ==================================================================
[   17.618298] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   17.618298] 
[   17.618660] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#82):
[   17.619388]  test_corruption+0x2d2/0x3e0
[   17.619606]  kunit_try_run_case+0x1a5/0x480
[   17.619842]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.620045]  kthread+0x337/0x6f0
[   17.620169]  ret_from_fork+0x41/0x80
[   17.620373]  ret_from_fork_asm+0x1a/0x30
[   17.620581] 
[   17.620676] kfence-#82: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   17.620676] 
[   17.621058] allocated by task 331 on cpu 1 at 17.617605s (0.003450s ago):
[   17.621325]  test_alloc+0x364/0x10f0
[   17.621520]  test_corruption+0xe6/0x3e0
[   17.621783]  kunit_try_run_case+0x1a5/0x480
[   17.621988]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.622186]  kthread+0x337/0x6f0
[   17.622317]  ret_from_fork+0x41/0x80
[   17.622473]  ret_from_fork_asm+0x1a/0x30
[   17.622675] 
[   17.622797] freed by task 331 on cpu 1 at 17.617698s (0.005097s ago):
[   17.623067]  test_corruption+0x2d2/0x3e0
[   17.623207]  kunit_try_run_case+0x1a5/0x480
[   17.623427]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.623686]  kthread+0x337/0x6f0
[   17.623935]  ret_from_fork+0x41/0x80
[   17.624113]  ret_from_fork_asm+0x1a/0x30
[   17.624293] 
[   17.624414] CPU: 1 UID: 0 PID: 331 Comm: kunit_try_catch Tainted: G    B            N  6.15.5-rc1 #1 PREEMPT(voluntary) 
[   17.624880] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.625059] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.625447] ==================================================================
[   18.137755] ==================================================================
[   18.138151] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   18.138151] 
[   18.138543] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#87):
[   18.139144]  test_corruption+0x131/0x3e0
[   18.139357]  kunit_try_run_case+0x1a5/0x480
[   18.139577]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.139783]  kthread+0x337/0x6f0
[   18.139979]  ret_from_fork+0x41/0x80
[   18.140140]  ret_from_fork_asm+0x1a/0x30
[   18.140295] 
[   18.140370] kfence-#87: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   18.140370] 
[   18.140960] allocated by task 333 on cpu 1 at 18.137617s (0.003340s ago):
[   18.141303]  test_alloc+0x2a6/0x10f0
[   18.141442]  test_corruption+0xe6/0x3e0
[   18.141585]  kunit_try_run_case+0x1a5/0x480
[   18.141794]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.142046]  kthread+0x337/0x6f0
[   18.142169]  ret_from_fork+0x41/0x80
[   18.142310]  ret_from_fork_asm+0x1a/0x30
[   18.142722] 
[   18.142822] freed by task 333 on cpu 1 at 18.137675s (0.005145s ago):
[   18.143091]  test_corruption+0x131/0x3e0
[   18.143240]  kunit_try_run_case+0x1a5/0x480
[   18.143420]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.143672]  kthread+0x337/0x6f0
[   18.143861]  ret_from_fork+0x41/0x80
[   18.144048]  ret_from_fork_asm+0x1a/0x30
[   18.144243] 
[   18.144346] CPU: 1 UID: 0 PID: 333 Comm: kunit_try_catch Tainted: G    B            N  6.15.5-rc1 #1 PREEMPT(voluntary) 
[   18.144743] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.144909] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.145315] ==================================================================