Hay
Date
Feb. 5, 2025, 2:09 p.m.

Environment
qemu-arm64
qemu-i386

[  186.959662] ==================================================================
[  186.961083] BUG: KFENCE: memory corruption in test_corruption+0x1e8/0x258
[  186.961083] 
[  186.962911] Corrupted memory at 0x00000000e45f21cc [ ! ] (in kfence-#119):
[  186.965024]  test_corruption+0x1e8/0x258
[  186.966170]  kunit_try_run_case+0xf8/0x260
[  186.967339]  kunit_generic_run_threadfn_adapter+0x38/0x60
[  186.968778]  kthread+0x18c/0x1a8
[  186.969762]  ret_from_fork+0x10/0x20
[  186.970874] 
[  186.971451] kfence-#119: 0x000000002c17ec43-0x00000000270b9cbf, size=32, cache=kmalloc-32
[  186.971451] 
[  186.973266] allocated by task 251 on cpu 1 at 186.958642s:
[  186.974980]  test_alloc+0x224/0x3d8
[  186.975945]  test_corruption+0x114/0x258
[  186.977112]  kunit_try_run_case+0xf8/0x260
[  186.978350]  kunit_generic_run_threadfn_adapter+0x38/0x60
[  186.979797]  kthread+0x18c/0x1a8
[  186.980779]  ret_from_fork+0x10/0x20
[  186.981880] 
[  186.982398] freed by task 251 on cpu 1 at 186.958963s:
[  186.984040]  test_corruption+0x1e8/0x258
[  186.985352]  kunit_try_run_case+0xf8/0x260
[  186.986784]  kunit_generic_run_threadfn_adapter+0x38/0x60
[  186.989085]  kthread+0x18c/0x1a8
[  186.990127]  ret_from_fork+0x10/0x20
[  186.991223] 
[  186.991844] CPU: 1 PID: 251 Comm: kunit_try_catch Tainted: G    B            N 6.6.76-rc1 #1
[  186.993655] Hardware name: linux,dummy-virt (DT)
[  186.994719] ==================================================================
[  187.063323] ==================================================================
[  187.064822] BUG: KFENCE: memory corruption in test_corruption+0xf4/0x258
[  187.064822] 
[  187.066560] Corrupted memory at 0x000000004cfe7d38 [ ! . . . . . . . . . . . . . . . ] (in kfence-#148):
[  187.070626]  test_corruption+0xf4/0x258
[  187.071793]  kunit_try_run_case+0xf8/0x260
[  187.073072]  kunit_generic_run_threadfn_adapter+0x38/0x60
[  187.074536]  kthread+0x18c/0x1a8
[  187.075518]  ret_from_fork+0x10/0x20
[  187.076612] 
[  187.077115] kfence-#148: 0x00000000b0291f8d-0x00000000611625c4, size=32, cache=test
[  187.077115] 
[  187.078977] allocated by task 253 on cpu 1 at 187.062567s:
[  187.080603]  test_alloc+0x1b8/0x3d8
[  187.081610]  test_corruption+0xc8/0x258
[  187.082776]  kunit_try_run_case+0xf8/0x260
[  187.083969]  kunit_generic_run_threadfn_adapter+0x38/0x60
[  187.085365]  kthread+0x18c/0x1a8
[  187.086356]  ret_from_fork+0x10/0x20
[  187.087424] 
[  187.087985] freed by task 253 on cpu 1 at 187.062883s:
[  187.089628]  test_corruption+0xf4/0x258
[  187.090665]  kunit_try_run_case+0xf8/0x260
[  187.091854]  kunit_generic_run_threadfn_adapter+0x38/0x60
[  187.093259]  kthread+0x18c/0x1a8
[  187.094251]  ret_from_fork+0x10/0x20
[  187.095338] 
[  187.095902] CPU: 1 PID: 253 Comm: kunit_try_catch Tainted: G    B            N 6.6.76-rc1 #1
[  187.097665] Hardware name: linux,dummy-virt (DT)
[  187.098828] ==================================================================
[  187.479963] ==================================================================
[  187.481555] BUG: KFENCE: memory corruption in test_corruption+0x13c/0x258
[  187.481555] 
[  187.483378] Corrupted memory at 0x000000007d1ef7d7 [ ! ] (in kfence-#170):
[  187.485457]  test_corruption+0x13c/0x258
[  187.486712]  kunit_try_run_case+0xf8/0x260
[  187.487933]  kunit_generic_run_threadfn_adapter+0x38/0x60
[  187.489381]  kthread+0x18c/0x1a8
[  187.490427]  ret_from_fork+0x10/0x20
[  187.491598] 
[  187.492228] kfence-#170: 0x00000000f20f3578-0x000000005a5b8acf, size=32, cache=test
[  187.492228] 
[  187.494080] allocated by task 253 on cpu 1 at 187.478837s:
[  187.495756]  test_alloc+0x1b8/0x3d8
[  187.496731]  test_corruption+0x114/0x258
[  187.498728]  kunit_try_run_case+0xf8/0x260
[  187.500227]  kunit_generic_run_threadfn_adapter+0x38/0x60
[  187.501725]  kthread+0x18c/0x1a8
[  187.502731]  ret_from_fork+0x10/0x20
[  187.503870] 
[  187.504486] freed by task 253 on cpu 1 at 187.479129s:
[  187.506188]  test_corruption+0x13c/0x258
[  187.507230]  kunit_try_run_case+0xf8/0x260
[  187.508431]  kunit_generic_run_threadfn_adapter+0x38/0x60
[  187.509924]  kthread+0x18c/0x1a8
[  187.510923]  ret_from_fork+0x10/0x20
[  187.512033] 
[  187.512708] CPU: 1 PID: 253 Comm: kunit_try_catch Tainted: G    B            N 6.6.76-rc1 #1
[  187.514755] Hardware name: linux,dummy-virt (DT)
[  187.515736] ==================================================================
[  186.855685] ==================================================================
[  186.857094] BUG: KFENCE: memory corruption in test_corruption+0x194/0x258
[  186.857094] 
[  186.859079] Corrupted memory at 0x0000000044922680 [ ! . . . . . . . . . . . . . . . ] (in kfence-#114):
[  186.863837]  test_corruption+0x194/0x258
[  186.865031]  kunit_try_run_case+0xf8/0x260
[  186.866209]  kunit_generic_run_threadfn_adapter+0x38/0x60
[  186.867651]  kthread+0x18c/0x1a8
[  186.868609]  ret_from_fork+0x10/0x20
[  186.869678] 
[  186.870237] kfence-#114: 0x00000000a45aed3b-0x00000000b898834d, size=32, cache=kmalloc-32
[  186.870237] 
[  186.872121] allocated by task 251 on cpu 1 at 186.854716s:
[  186.873769]  test_alloc+0x224/0x3d8
[  186.874749]  test_corruption+0xc8/0x258
[  186.875898]  kunit_try_run_case+0xf8/0x260
[  186.877086]  kunit_generic_run_threadfn_adapter+0x38/0x60
[  186.878564]  kthread+0x18c/0x1a8
[  186.879557]  ret_from_fork+0x10/0x20
[  186.880638] 
[  186.881125] freed by task 251 on cpu 1 at 186.855040s:
[  186.882822]  test_corruption+0x194/0x258
[  186.883847]  kunit_try_run_case+0xf8/0x260
[  186.885056]  kunit_generic_run_threadfn_adapter+0x38/0x60
[  186.886479]  kthread+0x18c/0x1a8
[  186.887445]  ret_from_fork+0x10/0x20
[  186.888525] 
[  186.889061] CPU: 1 PID: 251 Comm: kunit_try_catch Tainted: G    B            N 6.6.76-rc1 #1
[  186.890906] Hardware name: linux,dummy-virt (DT)
[  186.892021] ==================================================================


[   39.298774] ==================================================================
[   39.299408] BUG: KFENCE: memory corruption in test_corruption+0x137/0x1b0
[   39.299408] 
[   39.299826] Corrupted memory at 0x(ptrval) [ ! ] (in kfence-#35):
[   39.300372]  test_corruption+0x137/0x1b0
[   39.300561]  kunit_try_run_case+0x8a/0x1c4
[   39.300847]  kunit_generic_run_threadfn_adapter+0x16/0x20
[   39.302060]  kthread+0xe0/0x108
[   39.302263]  ret_from_fork+0x40/0x4c
[   39.302404]  ret_from_fork_asm+0x12/0x18
[   39.303052]  restore_all_switch_stack+0x0/0xc3
[   39.303223] 
[   39.303559] kfence-#35: 0x(ptrval)-0x(ptrval), size=32, cache=kmalloc-32
[   39.303559] 
[   39.304002] allocated by task 153 on cpu 1 at 39.298546s:
[   39.304411]  test_alloc+0x153/0x2d4
[   39.304699]  test_corruption+0x8f/0x1b0
[   39.304839]  kunit_try_run_case+0x8a/0x1c4
[   39.305176]  kunit_generic_run_threadfn_adapter+0x16/0x20
[   39.305449]  kthread+0xe0/0x108
[   39.305603]  ret_from_fork+0x40/0x4c
[   39.305897]  ret_from_fork_asm+0x12/0x18
[   39.306218]  restore_all_switch_stack+0x0/0xc3
[   39.306408] 
[   39.306484] freed by task 153 on cpu 1 at 39.298622s:
[   39.306691]  test_corruption+0x137/0x1b0
[   39.306992]  kunit_try_run_case+0x8a/0x1c4
[   39.307353]  kunit_generic_run_threadfn_adapter+0x16/0x20
[   39.307643]  kthread+0xe0/0x108
[   39.307877]  ret_from_fork+0x40/0x4c
[   39.308122]  ret_from_fork_asm+0x12/0x18
[   39.308268]  restore_all_switch_stack+0x0/0xc3
[   39.308426] 
[   39.308507] CPU: 1 PID: 153 Comm: kunit_try_catch Tainted: G    B            N 6.6.76-rc1 #1
[   39.309136] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   39.309703] ==================================================================
[   38.778688] ==================================================================
[   38.779033] BUG: KFENCE: memory corruption in test_corruption+0xdf/0x1b0
[   38.779033] 
[   38.779701] Corrupted memory at 0x(ptrval) [ ! . . . . . . . . . . . . . . . ] (in kfence-#30):
[   38.780483]  test_corruption+0xdf/0x1b0
[   38.780822]  kunit_try_run_case+0x8a/0x1c4
[   38.781036]  kunit_generic_run_threadfn_adapter+0x16/0x20
[   38.781308]  kthread+0xe0/0x108
[   38.781445]  ret_from_fork+0x40/0x4c
[   38.781666]  ret_from_fork_asm+0x12/0x18
[   38.781963]  restore_all_switch_stack+0x0/0xc3
[   38.782234] 
[   38.782392] kfence-#30: 0x(ptrval)-0x(ptrval), size=32, cache=kmalloc-32
[   38.782392] 
[   38.782749] allocated by task 153 on cpu 1 at 38.778479s:
[   38.782976]  test_alloc+0x153/0x2d4
[   38.783125]  test_corruption+0x51/0x1b0
[   38.783418]  kunit_try_run_case+0x8a/0x1c4
[   38.783731]  kunit_generic_run_threadfn_adapter+0x16/0x20
[   38.784145]  kthread+0xe0/0x108
[   38.784396]  ret_from_fork+0x40/0x4c
[   38.784671]  ret_from_fork_asm+0x12/0x18
[   38.784895]  restore_all_switch_stack+0x0/0xc3
[   38.785176] 
[   38.785251] freed by task 153 on cpu 1 at 38.778548s:
[   38.785578]  test_corruption+0xdf/0x1b0
[   38.785830]  kunit_try_run_case+0x8a/0x1c4
[   38.785976]  kunit_generic_run_threadfn_adapter+0x16/0x20
[   38.786188]  kthread+0xe0/0x108
[   38.786467]  ret_from_fork+0x40/0x4c
[   38.786742]  ret_from_fork_asm+0x12/0x18
[   38.787029]  restore_all_switch_stack+0x0/0xc3
[   38.787265] 
[   38.787393] CPU: 1 PID: 153 Comm: kunit_try_catch Tainted: G    B            N 6.6.76-rc1 #1
[   38.787661] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   38.788208] ==================================================================
[   39.610646] ==================================================================
[   39.611013] BUG: KFENCE: memory corruption in test_corruption+0xad/0x1b0
[   39.611013] 
[   39.611443] Corrupted memory at 0x(ptrval) [ ! ] (in kfence-#38):
[   39.612198]  test_corruption+0xad/0x1b0
[   39.612352]  kunit_try_run_case+0x8a/0x1c4
[   39.612490]  kunit_generic_run_threadfn_adapter+0x16/0x20
[   39.612669]  kthread+0xe0/0x108
[   39.612956]  ret_from_fork+0x40/0x4c
[   39.613271]  ret_from_fork_asm+0x12/0x18
[   39.613572]  restore_all_switch_stack+0x0/0xc3
[   39.613915] 
[   39.614037] kfence-#38: 0x(ptrval)-0x(ptrval), size=32, cache=test
[   39.614037] 
[   39.614358] allocated by task 155 on cpu 1 at 39.610542s:
[   39.614738]  test_alloc+0xed/0x2d4
[   39.614993]  test_corruption+0x8f/0x1b0
[   39.615189]  kunit_try_run_case+0x8a/0x1c4
[   39.615344]  kunit_generic_run_threadfn_adapter+0x16/0x20
[   39.615529]  kthread+0xe0/0x108
[   39.615654]  ret_from_fork+0x40/0x4c
[   39.615787]  ret_from_fork_asm+0x12/0x18
[   39.615932]  restore_all_switch_stack+0x0/0xc3
[   39.616306] 
[   39.616436] freed by task 155 on cpu 1 at 39.610594s:
[   39.616857]  test_corruption+0xad/0x1b0
[   39.617187]  kunit_try_run_case+0x8a/0x1c4
[   39.617488]  kunit_generic_run_threadfn_adapter+0x16/0x20
[   39.617887]  kthread+0xe0/0x108
[   39.618156]  ret_from_fork+0x40/0x4c
[   39.618370]  ret_from_fork_asm+0x12/0x18
[   39.618546]  restore_all_switch_stack+0x0/0xc3
[   39.618731] 
[   39.618830] CPU: 1 PID: 155 Comm: kunit_try_catch Tainted: G    B            N 6.6.76-rc1 #1
[   39.619212] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   39.619847] ==================================================================
[   39.506636] ==================================================================
[   39.506993] BUG: KFENCE: memory corruption in test_corruption+0x6b/0x1b0
[   39.506993] 
[   39.507313] Corrupted memory at 0x(ptrval) [ ! . . . . . . . . . . . . . . . ] (in kfence-#37):
[   39.507937]  test_corruption+0x6b/0x1b0
[   39.508164]  kunit_try_run_case+0x8a/0x1c4
[   39.508403]  kunit_generic_run_threadfn_adapter+0x16/0x20
[   39.508688]  kthread+0xe0/0x108
[   39.508871]  ret_from_fork+0x40/0x4c
[   39.509191]  ret_from_fork_asm+0x12/0x18
[   39.509458]  restore_all_switch_stack+0x0/0xc3
[   39.509792] 
[   39.509930] kfence-#37: 0x(ptrval)-0x(ptrval), size=32, cache=test
[   39.509930] 
[   39.510465] allocated by task 155 on cpu 1 at 39.506542s:
[   39.510858]  test_alloc+0xed/0x2d4
[   39.511144]  test_corruption+0x51/0x1b0
[   39.511523]  kunit_try_run_case+0x8a/0x1c4
[   39.511844]  kunit_generic_run_threadfn_adapter+0x16/0x20
[   39.512264]  kthread+0xe0/0x108
[   39.512522]  ret_from_fork+0x40/0x4c
[   39.512797]  ret_from_fork_asm+0x12/0x18
[   39.513109]  restore_all_switch_stack+0x0/0xc3
[   39.513426] 
[   39.513585] freed by task 155 on cpu 1 at 39.506581s:
[   39.513998]  test_corruption+0x6b/0x1b0
[   39.514340]  kunit_try_run_case+0x8a/0x1c4
[   39.514654]  kunit_generic_run_threadfn_adapter+0x16/0x20
[   39.515035]  kthread+0xe0/0x108
[   39.515325]  ret_from_fork+0x40/0x4c
[   39.515635]  ret_from_fork_asm+0x12/0x18
[   39.515945]  restore_all_switch_stack+0x0/0xc3
[   39.516296] 
[   39.516443] CPU: 1 PID: 155 Comm: kunit_try_catch Tainted: G    B            N 6.6.76-rc1 #1
[   39.517031] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   39.517630] ==================================================================