Hay
Date
May 12, 2025, 6:12 p.m.

Environment
qemu-arm64
qemu-x86_64

[   24.871666] ==================================================================
[   24.872323] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   24.872323] 
[   24.872929] Corrupted memory at 0x00000000380f2867 [ ! . . . . . . . . . . . . . . . ] (in kfence-#112):
[   24.875901]  test_corruption+0x278/0x378
[   24.876323]  kunit_try_run_case+0x170/0x3f0
[   24.876722]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.877192]  kthread+0x318/0x620
[   24.877578]  ret_from_fork+0x10/0x20
[   24.877988] 
[   24.878225] kfence-#112: 0x0000000067594dd7-0x00000000ae319080, size=32, cache=kmalloc-32
[   24.878225] 
[   24.878970] allocated by task 300 on cpu 1 at 24.871243s (0.007715s ago):
[   24.879644]  test_alloc+0x29c/0x628
[   24.880035]  test_corruption+0xdc/0x378
[   24.880457]  kunit_try_run_case+0x170/0x3f0
[   24.880969]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.881460]  kthread+0x318/0x620
[   24.881901]  ret_from_fork+0x10/0x20
[   24.882356] 
[   24.882625] freed by task 300 on cpu 1 at 24.871414s (0.011199s ago):
[   24.883316]  test_corruption+0x278/0x378
[   24.883767]  kunit_try_run_case+0x170/0x3f0
[   24.884181]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.884618]  kthread+0x318/0x620
[   24.885047]  ret_from_fork+0x10/0x20
[   24.885394] 
[   24.885728] CPU: 1 UID: 0 PID: 300 Comm: kunit_try_catch Tainted: G    B            N 6.14.7-rc1 #1
[   24.886475] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.886805] Hardware name: linux,dummy-virt (DT)
[   24.887321] ==================================================================
[   24.975934] ==================================================================
[   24.976482] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   24.976482] 
[   24.977185] Corrupted memory at 0x000000008753d1d2 [ ! ] (in kfence-#113):
[   24.978247]  test_corruption+0x284/0x378
[   24.978758]  kunit_try_run_case+0x170/0x3f0
[   24.979266]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.979877]  kthread+0x318/0x620
[   24.980364]  ret_from_fork+0x10/0x20
[   24.980792] 
[   24.981114] kfence-#113: 0x00000000f54054f5-0x000000005edd7b85, size=32, cache=kmalloc-32
[   24.981114] 
[   24.981934] allocated by task 300 on cpu 1 at 24.975487s (0.006435s ago):
[   24.982624]  test_alloc+0x29c/0x628
[   24.983155]  test_corruption+0x198/0x378
[   24.983585]  kunit_try_run_case+0x170/0x3f0
[   24.984065]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.984607]  kthread+0x318/0x620
[   24.985037]  ret_from_fork+0x10/0x20
[   24.985436] 
[   24.985732] freed by task 300 on cpu 1 at 24.975664s (0.010057s ago):
[   24.986392]  test_corruption+0x284/0x378
[   24.986853]  kunit_try_run_case+0x170/0x3f0
[   24.987245]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.987819]  kthread+0x318/0x620
[   24.988199]  ret_from_fork+0x10/0x20
[   24.988660] 
[   24.988929] CPU: 1 UID: 0 PID: 300 Comm: kunit_try_catch Tainted: G    B            N 6.14.7-rc1 #1
[   24.989810] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.990221] Hardware name: linux,dummy-virt (DT)
[   24.990622] ==================================================================
[   25.079514] ==================================================================
[   25.080076] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   25.080076] 
[   25.081147] Corrupted memory at 0x00000000444958e2 [ ! . . . . . . . . . . . . . . . ] (in kfence-#114):
[   25.082845]  test_corruption+0x120/0x378
[   25.083296]  kunit_try_run_case+0x170/0x3f0
[   25.083979]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.084625]  kthread+0x318/0x620
[   25.085023]  ret_from_fork+0x10/0x20
[   25.085520] 
[   25.085837] kfence-#114: 0x0000000055794dbf-0x000000004d02accd, size=32, cache=test
[   25.085837] 
[   25.086547] allocated by task 302 on cpu 1 at 25.079253s (0.007282s ago):
[   25.087250]  test_alloc+0x230/0x628
[   25.087730]  test_corruption+0xdc/0x378
[   25.088186]  kunit_try_run_case+0x170/0x3f0
[   25.088659]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.089130]  kthread+0x318/0x620
[   25.089536]  ret_from_fork+0x10/0x20
[   25.089962] 
[   25.090250] freed by task 302 on cpu 1 at 25.079353s (0.010884s ago):
[   25.090828]  test_corruption+0x120/0x378
[   25.091377]  kunit_try_run_case+0x170/0x3f0
[   25.091854]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.092390]  kthread+0x318/0x620
[   25.092796]  ret_from_fork+0x10/0x20
[   25.093170] 
[   25.093440] CPU: 1 UID: 0 PID: 302 Comm: kunit_try_catch Tainted: G    B            N 6.14.7-rc1 #1
[   25.094097] Tainted: [B]=BAD_PAGE, [N]=TEST
[   25.094603] Hardware name: linux,dummy-virt (DT)
[   25.095133] ==================================================================
[   25.183853] ==================================================================
[   25.184503] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   25.184503] 
[   25.185260] Corrupted memory at 0x000000005e089b09 [ ! ] (in kfence-#115):
[   25.186238]  test_corruption+0x1d8/0x378
[   25.186696]  kunit_try_run_case+0x170/0x3f0
[   25.187278]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.187767]  kthread+0x318/0x620
[   25.188219]  ret_from_fork+0x10/0x20
[   25.188712] 
[   25.189035] kfence-#115: 0x00000000ecaabb0e-0x00000000c7599280, size=32, cache=test
[   25.189035] 
[   25.189720] allocated by task 302 on cpu 1 at 25.183556s (0.006151s ago):
[   25.190499]  test_alloc+0x230/0x628
[   25.190961]  test_corruption+0x198/0x378
[   25.191409]  kunit_try_run_case+0x170/0x3f0
[   25.191815]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.192344]  kthread+0x318/0x620
[   25.192669]  ret_from_fork+0x10/0x20
[   25.193130] 
[   25.193421] freed by task 302 on cpu 1 at 25.183665s (0.009744s ago):
[   25.194074]  test_corruption+0x1d8/0x378
[   25.194423]  kunit_try_run_case+0x170/0x3f0
[   25.194929]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.195392]  kthread+0x318/0x620
[   25.195730]  ret_from_fork+0x10/0x20
[   25.196161] 
[   25.196466] CPU: 1 UID: 0 PID: 302 Comm: kunit_try_catch Tainted: G    B            N 6.14.7-rc1 #1
[   25.197175] Tainted: [B]=BAD_PAGE, [N]=TEST
[   25.197498] Hardware name: linux,dummy-virt (DT)
[   25.197999] ==================================================================

[   19.237582] ==================================================================
[   19.238042] BUG: KFENCE: memory corruption in test_corruption+0x2d4/0x3e0
[   19.238042] 
[   19.238384] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#81):
[   19.239013]  test_corruption+0x2d4/0x3e0
[   19.239233]  kunit_try_run_case+0x1a6/0x480
[   19.239439]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.239621]  kthread+0x324/0x6e0
[   19.239797]  ret_from_fork+0x41/0x80
[   19.239996]  ret_from_fork_asm+0x1a/0x30
[   19.240221] 
[   19.240309] kfence-#81: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   19.240309] 
[   19.240691] allocated by task 319 on cpu 0 at 19.237405s (0.003283s ago):
[   19.240947]  test_alloc+0x365/0x10f0
[   19.241168]  test_corruption+0xe7/0x3e0
[   19.241365]  kunit_try_run_case+0x1a6/0x480
[   19.241574]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.241791]  kthread+0x324/0x6e0
[   19.241928]  ret_from_fork+0x41/0x80
[   19.242057]  ret_from_fork_asm+0x1a/0x30
[   19.242301] 
[   19.242400] freed by task 319 on cpu 0 at 19.237499s (0.004899s ago):
[   19.242833]  test_corruption+0x2d4/0x3e0
[   19.242987]  kunit_try_run_case+0x1a6/0x480
[   19.243304]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.243518]  kthread+0x324/0x6e0
[   19.243696]  ret_from_fork+0x41/0x80
[   19.243828]  ret_from_fork_asm+0x1a/0x30
[   19.244000] 
[   19.244164] CPU: 0 UID: 0 PID: 319 Comm: kunit_try_catch Tainted: G    B            N 6.14.7-rc1 #1
[   19.244574] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.244765] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   19.245182] ==================================================================
[   19.757498] ==================================================================
[   19.757912] BUG: KFENCE: memory corruption in test_corruption+0x132/0x3e0
[   19.757912] 
[   19.758329] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#86):
[   19.758977]  test_corruption+0x132/0x3e0
[   19.759233]  kunit_try_run_case+0x1a6/0x480
[   19.759387]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.759753]  kthread+0x324/0x6e0
[   19.759947]  ret_from_fork+0x41/0x80
[   19.760149]  ret_from_fork_asm+0x1a/0x30
[   19.760361] 
[   19.760464] kfence-#86: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   19.760464] 
[   19.760874] allocated by task 321 on cpu 0 at 19.757359s (0.003513s ago):
[   19.761193]  test_alloc+0x2a7/0x10f0
[   19.761395]  test_corruption+0xe7/0x3e0
[   19.761573]  kunit_try_run_case+0x1a6/0x480
[   19.761806]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.762068]  kthread+0x324/0x6e0
[   19.762303]  ret_from_fork+0x41/0x80
[   19.762440]  ret_from_fork_asm+0x1a/0x30
[   19.762581] 
[   19.762668] freed by task 321 on cpu 0 at 19.757420s (0.005246s ago):
[   19.763013]  test_corruption+0x132/0x3e0
[   19.763251]  kunit_try_run_case+0x1a6/0x480
[   19.763476]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.763728]  kthread+0x324/0x6e0
[   19.763890]  ret_from_fork+0x41/0x80
[   19.764104]  ret_from_fork_asm+0x1a/0x30
[   19.764306] 
[   19.764491] CPU: 0 UID: 0 PID: 321 Comm: kunit_try_catch Tainted: G    B            N 6.14.7-rc1 #1
[   19.764803] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.764951] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   19.765764] ==================================================================
[   19.445581] ==================================================================
[   19.446003] BUG: KFENCE: memory corruption in test_corruption+0x2e1/0x3e0
[   19.446003] 
[   19.446389] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#83):
[   19.446798]  test_corruption+0x2e1/0x3e0
[   19.447004]  kunit_try_run_case+0x1a6/0x480
[   19.447178]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.447445]  kthread+0x324/0x6e0
[   19.447595]  ret_from_fork+0x41/0x80
[   19.447729]  ret_from_fork_asm+0x1a/0x30
[   19.447943] 
[   19.448043] kfence-#83: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   19.448043] 
[   19.448497] allocated by task 319 on cpu 0 at 19.445317s (0.003177s ago):
[   19.448748]  test_alloc+0x365/0x10f0
[   19.448889]  test_corruption+0x1cc/0x3e0
[   19.449167]  kunit_try_run_case+0x1a6/0x480
[   19.449389]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.449654]  kthread+0x324/0x6e0
[   19.449842]  ret_from_fork+0x41/0x80
[   19.449979]  ret_from_fork_asm+0x1a/0x30
[   19.450149] 
[   19.450250] freed by task 319 on cpu 0 at 19.445416s (0.004831s ago):
[   19.450547]  test_corruption+0x2e1/0x3e0
[   19.450686]  kunit_try_run_case+0x1a6/0x480
[   19.450872]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.451155]  kthread+0x324/0x6e0
[   19.451373]  ret_from_fork+0x41/0x80
[   19.451556]  ret_from_fork_asm+0x1a/0x30
[   19.451711] 
[   19.451803] CPU: 0 UID: 0 PID: 319 Comm: kunit_try_catch Tainted: G    B            N 6.14.7-rc1 #1
[   19.452349] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.452553] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   19.452866] ==================================================================
[   19.965526] ==================================================================
[   19.965941] BUG: KFENCE: memory corruption in test_corruption+0x217/0x3e0
[   19.965941] 
[   19.966322] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#88):
[   19.966712]  test_corruption+0x217/0x3e0
[   19.966942]  kunit_try_run_case+0x1a6/0x480
[   19.967199]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.967466]  kthread+0x324/0x6e0
[   19.967652]  ret_from_fork+0x41/0x80
[   19.967856]  ret_from_fork_asm+0x1a/0x30
[   19.968080] 
[   19.968189] kfence-#88: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   19.968189] 
[   19.968671] allocated by task 321 on cpu 0 at 19.965405s (0.003263s ago):
[   19.968975]  test_alloc+0x2a7/0x10f0
[   19.969283]  test_corruption+0x1cc/0x3e0
[   19.969537]  kunit_try_run_case+0x1a6/0x480
[   19.969766]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.970062]  kthread+0x324/0x6e0
[   19.970292]  ret_from_fork+0x41/0x80
[   19.970429]  ret_from_fork_asm+0x1a/0x30
[   19.970639] 
[   19.970776] freed by task 321 on cpu 0 at 19.965446s (0.005327s ago):
[   19.971182]  test_corruption+0x217/0x3e0
[   19.971353]  kunit_try_run_case+0x1a6/0x480
[   19.971607]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.971908]  kthread+0x324/0x6e0
[   19.972065]  ret_from_fork+0x41/0x80
[   19.972279]  ret_from_fork_asm+0x1a/0x30
[   19.972507] 
[   19.972633] CPU: 0 UID: 0 PID: 321 Comm: kunit_try_catch Tainted: G    B            N 6.14.7-rc1 #1
[   19.973086] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.973314] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   19.973685] ==================================================================