Hay
Date
May 23, 2025, 11:07 p.m.

Environment
qemu-arm64
qemu-x86_64

[   35.350355] ==================================================================
[   35.350708] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   35.350708] 
[   35.351045] Corrupted memory at 0x00000000e6887690 [ ! . . . . . . . . . . . . . . . ] (in kfence-#168):
[   35.353113]  test_corruption+0x120/0x378
[   35.353430]  kunit_try_run_case+0x170/0x3f0
[   35.353736]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.354074]  kthread+0x328/0x630
[   35.354221]  ret_from_fork+0x10/0x20
[   35.354341] 
[   35.354409] kfence-#168: 0x00000000f5be9bfb-0x00000000fe1b0c86, size=32, cache=test
[   35.354409] 
[   35.354594] allocated by task 315 on cpu 0 at 35.349787s (0.004797s ago):
[   35.354777]  test_alloc+0x230/0x628
[   35.354891]  test_corruption+0xdc/0x378
[   35.355008]  kunit_try_run_case+0x170/0x3f0
[   35.355952]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.356408]  kthread+0x328/0x630
[   35.356801]  ret_from_fork+0x10/0x20
[   35.356930] 
[   35.356981] freed by task 315 on cpu 0 at 35.349952s (0.007022s ago):
[   35.357153]  test_corruption+0x120/0x378
[   35.357689]  kunit_try_run_case+0x170/0x3f0
[   35.358007]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.358328]  kthread+0x328/0x630
[   35.358470]  ret_from_fork+0x10/0x20
[   35.358582] 
[   35.359070] CPU: 0 UID: 0 PID: 315 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc7 #1 PREEMPT 
[   35.359394] Tainted: [B]=BAD_PAGE, [N]=TEST
[   35.359648] Hardware name: linux,dummy-virt (DT)
[   35.360015] ==================================================================
[   35.034862] ==================================================================
[   35.035081] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   35.035081] 
[   35.035303] Corrupted memory at 0x00000000f19fdebf [ ! . . . . . . . . . . . . . . . ] (in kfence-#165):
[   35.036401]  test_corruption+0x278/0x378
[   35.036573]  kunit_try_run_case+0x170/0x3f0
[   35.036807]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.036981]  kthread+0x328/0x630
[   35.037298]  ret_from_fork+0x10/0x20
[   35.037430] 
[   35.037508] kfence-#165: 0x00000000531fba15-0x0000000009dc4c97, size=32, cache=kmalloc-32
[   35.037508] 
[   35.037959] allocated by task 313 on cpu 0 at 35.034462s (0.003483s ago):
[   35.038240]  test_alloc+0x29c/0x628
[   35.038840]  test_corruption+0xdc/0x378
[   35.039055]  kunit_try_run_case+0x170/0x3f0
[   35.039406]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.039828]  kthread+0x328/0x630
[   35.040133]  ret_from_fork+0x10/0x20
[   35.040255] 
[   35.040320] freed by task 313 on cpu 0 at 35.034642s (0.005668s ago):
[   35.040519]  test_corruption+0x278/0x378
[   35.040969]  kunit_try_run_case+0x170/0x3f0
[   35.041615]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.041782]  kthread+0x328/0x630
[   35.041983]  ret_from_fork+0x10/0x20
[   35.042306] 
[   35.042729] CPU: 0 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc7 #1 PREEMPT 
[   35.043436] Tainted: [B]=BAD_PAGE, [N]=TEST
[   35.043733] Hardware name: linux,dummy-virt (DT)
[   35.043846] ==================================================================
[   35.566319] ==================================================================
[   35.566537] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   35.566537] 
[   35.566686] Corrupted memory at 0x0000000009f3f455 [ ! ] (in kfence-#170):
[   35.567019]  test_corruption+0x1d8/0x378
[   35.567141]  kunit_try_run_case+0x170/0x3f0
[   35.567277]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.567421]  kthread+0x328/0x630
[   35.567560]  ret_from_fork+0x10/0x20
[   35.567680] 
[   35.567748] kfence-#170: 0x0000000038edaea8-0x000000008210d175, size=32, cache=test
[   35.567748] 
[   35.567902] allocated by task 315 on cpu 0 at 35.566034s (0.001858s ago):
[   35.568068]  test_alloc+0x230/0x628
[   35.568181]  test_corruption+0x198/0x378
[   35.568291]  kunit_try_run_case+0x170/0x3f0
[   35.568415]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.568549]  kthread+0x328/0x630
[   35.569942]  ret_from_fork+0x10/0x20
[   35.570174] 
[   35.570251] freed by task 315 on cpu 0 at 35.566140s (0.004102s ago):
[   35.570473]  test_corruption+0x1d8/0x378
[   35.570623]  kunit_try_run_case+0x170/0x3f0
[   35.570726]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.570824]  kthread+0x328/0x630
[   35.571238]  ret_from_fork+0x10/0x20
[   35.571433] 
[   35.571611] CPU: 0 UID: 0 PID: 315 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc7 #1 PREEMPT 
[   35.571939] Tainted: [B]=BAD_PAGE, [N]=TEST
[   35.572352] Hardware name: linux,dummy-virt (DT)
[   35.572479] ==================================================================
[   35.141808] ==================================================================
[   35.141999] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   35.141999] 
[   35.142166] Corrupted memory at 0x00000000f17e40ee [ ! ] (in kfence-#166):
[   35.142498]  test_corruption+0x284/0x378
[   35.142624]  kunit_try_run_case+0x170/0x3f0
[   35.142800]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.142929]  kthread+0x328/0x630
[   35.143047]  ret_from_fork+0x10/0x20
[   35.143168] 
[   35.143282] kfence-#166: 0x000000006d29278b-0x00000000a14156af, size=32, cache=kmalloc-32
[   35.143282] 
[   35.143469] allocated by task 313 on cpu 0 at 35.141131s (0.002329s ago):
[   35.143633]  test_alloc+0x29c/0x628
[   35.143749]  test_corruption+0x198/0x378
[   35.143859]  kunit_try_run_case+0x170/0x3f0
[   35.143998]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.144159]  kthread+0x328/0x630
[   35.144294]  ret_from_fork+0x10/0x20
[   35.144415] 
[   35.144515] freed by task 313 on cpu 0 at 35.141378s (0.003123s ago):
[   35.144684]  test_corruption+0x284/0x378
[   35.144789]  kunit_try_run_case+0x170/0x3f0
[   35.144935]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.145061]  kthread+0x328/0x630
[   35.145158]  ret_from_fork+0x10/0x20
[   35.145294] 
[   35.145421] CPU: 0 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc7 #1 PREEMPT 
[   35.145690] Tainted: [B]=BAD_PAGE, [N]=TEST
[   35.145776] Hardware name: linux,dummy-virt (DT)
[   35.145873] ==================================================================

[   20.022410] ==================================================================
[   20.022813] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   20.022813] 
[   20.023116] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#90):
[   20.023606]  test_corruption+0x216/0x3e0
[   20.023799]  kunit_try_run_case+0x1a5/0x480
[   20.023967]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.024228]  kthread+0x337/0x6f0
[   20.024413]  ret_from_fork+0x41/0x80
[   20.024654]  ret_from_fork_asm+0x1a/0x30
[   20.024843] 
[   20.024921] kfence-#90: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   20.024921] 
[   20.025292] allocated by task 332 on cpu 0 at 20.022267s (0.003023s ago):
[   20.025622]  test_alloc+0x2a6/0x10f0
[   20.025781]  test_corruption+0x1cb/0x3e0
[   20.025983]  kunit_try_run_case+0x1a5/0x480
[   20.026135]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.026407]  kthread+0x337/0x6f0
[   20.026581]  ret_from_fork+0x41/0x80
[   20.026762]  ret_from_fork_asm+0x1a/0x30
[   20.026905] 
[   20.026981] freed by task 332 on cpu 0 at 20.022334s (0.004645s ago):
[   20.027282]  test_corruption+0x216/0x3e0
[   20.027491]  kunit_try_run_case+0x1a5/0x480
[   20.027724]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.027914]  kthread+0x337/0x6f0
[   20.028040]  ret_from_fork+0x41/0x80
[   20.028228]  ret_from_fork_asm+0x1a/0x30
[   20.028441] 
[   20.028580] CPU: 0 UID: 0 PID: 332 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc7 #1 PREEMPT(voluntary) 
[   20.029009] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.029187] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   20.029478] ==================================================================
[   19.502452] ==================================================================
[   19.502863] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   19.502863] 
[   19.503194] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#85):
[   19.503698]  test_corruption+0x2df/0x3e0
[   19.503912]  kunit_try_run_case+0x1a5/0x480
[   19.504070]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.504259]  kthread+0x337/0x6f0
[   19.504461]  ret_from_fork+0x41/0x80
[   19.504709]  ret_from_fork_asm+0x1a/0x30
[   19.505068] 
[   19.505146] kfence-#85: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   19.505146] 
[   19.505659] allocated by task 330 on cpu 0 at 19.502184s (0.003472s ago):
[   19.505940]  test_alloc+0x364/0x10f0
[   19.506133]  test_corruption+0x1cb/0x3e0
[   19.506360]  kunit_try_run_case+0x1a5/0x480
[   19.506592]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.506855]  kthread+0x337/0x6f0
[   19.507024]  ret_from_fork+0x41/0x80
[   19.507157]  ret_from_fork_asm+0x1a/0x30
[   19.507299] 
[   19.507442] freed by task 330 on cpu 0 at 19.502275s (0.005165s ago):
[   19.507793]  test_corruption+0x2df/0x3e0
[   19.508021]  kunit_try_run_case+0x1a5/0x480
[   19.508259]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.508555]  kthread+0x337/0x6f0
[   19.508755]  ret_from_fork+0x41/0x80
[   19.508896]  ret_from_fork_asm+0x1a/0x30
[   19.509069] 
[   19.509216] CPU: 0 UID: 0 PID: 330 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc7 #1 PREEMPT(voluntary) 
[   19.509809] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.510016] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   19.510443] ==================================================================
[   18.670385] ==================================================================
[   18.670804] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   18.670804] 
[   18.671234] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#77):
[   18.671914]  test_corruption+0x2d2/0x3e0
[   18.672140]  kunit_try_run_case+0x1a5/0x480
[   18.672361]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.672623]  kthread+0x337/0x6f0
[   18.672755]  ret_from_fork+0x41/0x80
[   18.672946]  ret_from_fork_asm+0x1a/0x30
[   18.673188] 
[   18.673281] kfence-#77: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   18.673281] 
[   18.673798] allocated by task 330 on cpu 0 at 18.670194s (0.003601s ago):
[   18.674093]  test_alloc+0x364/0x10f0
[   18.674277]  test_corruption+0xe6/0x3e0
[   18.674510]  kunit_try_run_case+0x1a5/0x480
[   18.674727]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.675042]  kthread+0x337/0x6f0
[   18.675167]  ret_from_fork+0x41/0x80
[   18.675297]  ret_from_fork_asm+0x1a/0x30
[   18.675630] 
[   18.675729] freed by task 330 on cpu 0 at 18.670295s (0.005432s ago):
[   18.676045]  test_corruption+0x2d2/0x3e0
[   18.676281]  kunit_try_run_case+0x1a5/0x480
[   18.676546]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.676776]  kthread+0x337/0x6f0
[   18.676977]  ret_from_fork+0x41/0x80
[   18.677168]  ret_from_fork_asm+0x1a/0x30
[   18.677379] 
[   18.677495] CPU: 0 UID: 0 PID: 330 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc7 #1 PREEMPT(voluntary) 
[   18.677950] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.678188] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.678666] ==================================================================
[   19.814372] ==================================================================
[   19.814788] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   19.814788] 
[   19.815122] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#88):
[   19.815947]  test_corruption+0x131/0x3e0
[   19.816142]  kunit_try_run_case+0x1a5/0x480
[   19.816363]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.816562]  kthread+0x337/0x6f0
[   19.816746]  ret_from_fork+0x41/0x80
[   19.816943]  ret_from_fork_asm+0x1a/0x30
[   19.817123] 
[   19.817199] kfence-#88: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   19.817199] 
[   19.817676] allocated by task 332 on cpu 0 at 19.814237s (0.003437s ago):
[   19.817939]  test_alloc+0x2a6/0x10f0
[   19.818132]  test_corruption+0xe6/0x3e0
[   19.818341]  kunit_try_run_case+0x1a5/0x480
[   19.818517]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.818744]  kthread+0x337/0x6f0
[   19.818918]  ret_from_fork+0x41/0x80
[   19.819080]  ret_from_fork_asm+0x1a/0x30
[   19.819253] 
[   19.819341] freed by task 332 on cpu 0 at 19.814283s (0.005055s ago):
[   19.819554]  test_corruption+0x131/0x3e0
[   19.819753]  kunit_try_run_case+0x1a5/0x480
[   19.819961]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.820221]  kthread+0x337/0x6f0
[   19.820393]  ret_from_fork+0x41/0x80
[   19.820669]  ret_from_fork_asm+0x1a/0x30
[   19.820856] 
[   19.820979] CPU: 0 UID: 0 PID: 332 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc7 #1 PREEMPT(voluntary) 
[   19.821371] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.821516] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   19.822103] ==================================================================