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

Environment
qemu-arm64
qemu-x86_64

[   23.167776] ==================================================================
[   23.167868] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   23.167868] 
[   23.167933] Corrupted memory at 0x0000000031e7d11f [ ! . . . . . . . . . . . . . . . ] (in kfence-#110):
[   23.168262]  test_corruption+0x120/0x378
[   23.168312]  kunit_try_run_case+0x170/0x3f0
[   23.168357]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.168402]  kthread+0x328/0x630
[   23.168443]  ret_from_fork+0x10/0x20
[   23.168484] 
[   23.168507] kfence-#110: 0x000000003a697f67-0x0000000077268aae, size=32, cache=test
[   23.168507] 
[   23.168563] allocated by task 313 on cpu 1 at 23.167626s (0.000933s ago):
[   23.168625]  test_alloc+0x230/0x628
[   23.168666]  test_corruption+0xdc/0x378
[   23.168707]  kunit_try_run_case+0x170/0x3f0
[   23.168747]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.168792]  kthread+0x328/0x630
[   23.168828]  ret_from_fork+0x10/0x20
[   23.168868] 
[   23.168891] freed by task 313 on cpu 1 at 23.167688s (0.001199s ago):
[   23.168952]  test_corruption+0x120/0x378
[   23.168992]  kunit_try_run_case+0x170/0x3f0
[   23.169032]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.169075]  kthread+0x328/0x630
[   23.169111]  ret_from_fork+0x10/0x20
[   23.169153] 
[   23.169204] CPU: 1 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   23.169283] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.169311] Hardware name: linux,dummy-virt (DT)
[   23.169345] ==================================================================
[   22.543922] ==================================================================
[   22.544029] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   22.544029] 
[   22.544098] Corrupted memory at 0x000000007642cf89 [ ! . . . . . . . . . . . . . . . ] (in kfence-#104):
[   22.545228]  test_corruption+0x278/0x378
[   22.545281]  kunit_try_run_case+0x170/0x3f0
[   22.545329]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.545374]  kthread+0x328/0x630
[   22.545413]  ret_from_fork+0x10/0x20
[   22.545453] 
[   22.545479] kfence-#104: 0x00000000e6d0eb5b-0x00000000c8013148, size=32, cache=kmalloc-32
[   22.545479] 
[   22.545536] allocated by task 311 on cpu 1 at 22.543638s (0.001895s ago):
[   22.545598]  test_alloc+0x29c/0x628
[   22.545638]  test_corruption+0xdc/0x378
[   22.545680]  kunit_try_run_case+0x170/0x3f0
[   22.545720]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.545764]  kthread+0x328/0x630
[   22.545801]  ret_from_fork+0x10/0x20
[   22.545840] 
[   22.545863] freed by task 311 on cpu 1 at 22.543741s (0.002119s ago):
[   22.545924]  test_corruption+0x278/0x378
[   22.545970]  kunit_try_run_case+0x170/0x3f0
[   22.546010]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.546052]  kthread+0x328/0x630
[   22.546088]  ret_from_fork+0x10/0x20
[   22.546128] 
[   22.546186] CPU: 1 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   22.546266] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.546297] Hardware name: linux,dummy-virt (DT)
[   22.546331] ==================================================================
[   23.064001] ==================================================================
[   23.064104] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   23.064104] 
[   23.064188] Corrupted memory at 0x00000000c1811305 [ ! ] (in kfence-#109):
[   23.064322]  test_corruption+0x284/0x378
[   23.064372]  kunit_try_run_case+0x170/0x3f0
[   23.064417]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.064463]  kthread+0x328/0x630
[   23.064505]  ret_from_fork+0x10/0x20
[   23.064546] 
[   23.064570] kfence-#109: 0x0000000019e31bc6-0x00000000d611350c, size=32, cache=kmalloc-32
[   23.064570] 
[   23.064629] allocated by task 311 on cpu 1 at 23.063719s (0.000906s ago):
[   23.064691]  test_alloc+0x29c/0x628
[   23.064733]  test_corruption+0x198/0x378
[   23.064772]  kunit_try_run_case+0x170/0x3f0
[   23.064813]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.064856]  kthread+0x328/0x630
[   23.064892]  ret_from_fork+0x10/0x20
[   23.064933] 
[   23.064961] freed by task 311 on cpu 1 at 23.063822s (0.001134s ago):
[   23.065025]  test_corruption+0x284/0x378
[   23.065064]  kunit_try_run_case+0x170/0x3f0
[   23.065104]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.065148]  kthread+0x328/0x630
[   23.065195]  ret_from_fork+0x10/0x20
[   23.065235] 
[   23.065280] CPU: 1 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   23.065358] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.065388] Hardware name: linux,dummy-virt (DT)
[   23.065423] ==================================================================
[   23.479854] ==================================================================
[   23.479953] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   23.479953] 
[   23.480018] Corrupted memory at 0x00000000249053b0 [ ! ] (in kfence-#113):
[   23.480139]  test_corruption+0x1d8/0x378
[   23.480200]  kunit_try_run_case+0x170/0x3f0
[   23.480245]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.480289]  kthread+0x328/0x630
[   23.480330]  ret_from_fork+0x10/0x20
[   23.480373] 
[   23.480398] kfence-#113: 0x00000000e80203ec-0x000000002416f695, size=32, cache=test
[   23.480398] 
[   23.480454] allocated by task 313 on cpu 1 at 23.479683s (0.000767s ago):
[   23.480518]  test_alloc+0x230/0x628
[   23.480558]  test_corruption+0x198/0x378
[   23.480607]  kunit_try_run_case+0x170/0x3f0
[   23.480646]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.480690]  kthread+0x328/0x630
[   23.480726]  ret_from_fork+0x10/0x20
[   23.480764] 
[   23.480789] freed by task 313 on cpu 1 at 23.479744s (0.001042s ago):
[   23.480848]  test_corruption+0x1d8/0x378
[   23.480888]  kunit_try_run_case+0x170/0x3f0
[   23.480929]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.480970]  kthread+0x328/0x630
[   23.481007]  ret_from_fork+0x10/0x20
[   23.481044] 
[   23.481087] CPU: 1 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   23.481165] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.481203] Hardware name: linux,dummy-virt (DT)
[   23.481235] ==================================================================

[   19.800407] ==================================================================
[   19.800788] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   19.800788] 
[   19.801245] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#89):
[   19.801561]  test_corruption+0x216/0x3e0
[   19.801765]  kunit_try_run_case+0x1a5/0x480
[   19.801984]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.802221]  kthread+0x337/0x6f0
[   19.802371]  ret_from_fork+0x116/0x1d0
[   19.802543]  ret_from_fork_asm+0x1a/0x30
[   19.802722] 
[   19.802796] kfence-#89: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   19.802796] 
[   19.803201] allocated by task 330 on cpu 0 at 19.800295s (0.002904s ago):
[   19.803505]  test_alloc+0x2a6/0x10f0
[   19.803681]  test_corruption+0x1cb/0x3e0
[   19.803867]  kunit_try_run_case+0x1a5/0x480
[   19.804061]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.804256]  kthread+0x337/0x6f0
[   19.804393]  ret_from_fork+0x116/0x1d0
[   19.804592]  ret_from_fork_asm+0x1a/0x30
[   19.804795] 
[   19.804894] freed by task 330 on cpu 0 at 19.800337s (0.004555s ago):
[   19.805209]  test_corruption+0x216/0x3e0
[   19.805379]  kunit_try_run_case+0x1a5/0x480
[   19.805544]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.805808]  kthread+0x337/0x6f0
[   19.805982]  ret_from_fork+0x116/0x1d0
[   19.806157]  ret_from_fork_asm+0x1a/0x30
[   19.806342] 
[   19.806443] CPU: 0 UID: 0 PID: 330 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   19.806814] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.807014] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   19.807388] ==================================================================
[   19.696442] ==================================================================
[   19.696841] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   19.696841] 
[   19.697251] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#88):
[   19.697864]  test_corruption+0x131/0x3e0
[   19.698039]  kunit_try_run_case+0x1a5/0x480
[   19.698256]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.698510]  kthread+0x337/0x6f0
[   19.698688]  ret_from_fork+0x116/0x1d0
[   19.698853]  ret_from_fork_asm+0x1a/0x30
[   19.699020] 
[   19.699123] kfence-#88: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   19.699123] 
[   19.699506] allocated by task 330 on cpu 0 at 19.696319s (0.003185s ago):
[   19.699786]  test_alloc+0x2a6/0x10f0
[   19.699924]  test_corruption+0xe6/0x3e0
[   19.700120]  kunit_try_run_case+0x1a5/0x480
[   19.700344]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.700605]  kthread+0x337/0x6f0
[   19.700743]  ret_from_fork+0x116/0x1d0
[   19.700938]  ret_from_fork_asm+0x1a/0x30
[   19.701090] 
[   19.701165] freed by task 330 on cpu 0 at 19.696367s (0.004796s ago):
[   19.701422]  test_corruption+0x131/0x3e0
[   19.701632]  kunit_try_run_case+0x1a5/0x480
[   19.701847]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.702111]  kthread+0x337/0x6f0
[   19.702269]  ret_from_fork+0x116/0x1d0
[   19.702407]  ret_from_fork_asm+0x1a/0x30
[   19.702553] 
[   19.702670] CPU: 0 UID: 0 PID: 330 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   19.703161] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.703373] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   19.703663] ==================================================================
[   19.072560] ==================================================================
[   19.072989] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   19.072989] 
[   19.073323] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#82):
[   19.074050]  test_corruption+0x2d2/0x3e0
[   19.074274]  kunit_try_run_case+0x1a5/0x480
[   19.074493]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.074696]  kthread+0x337/0x6f0
[   19.074840]  ret_from_fork+0x116/0x1d0
[   19.075038]  ret_from_fork_asm+0x1a/0x30
[   19.075244] 
[   19.075348] kfence-#82: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   19.075348] 
[   19.075660] allocated by task 328 on cpu 0 at 19.072304s (0.003354s ago):
[   19.075987]  test_alloc+0x364/0x10f0
[   19.076177]  test_corruption+0xe6/0x3e0
[   19.076350]  kunit_try_run_case+0x1a5/0x480
[   19.076524]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.076784]  kthread+0x337/0x6f0
[   19.076938]  ret_from_fork+0x116/0x1d0
[   19.077121]  ret_from_fork_asm+0x1a/0x30
[   19.077276] 
[   19.077351] freed by task 328 on cpu 0 at 19.072401s (0.004947s ago):
[   19.077668]  test_corruption+0x2d2/0x3e0
[   19.077872]  kunit_try_run_case+0x1a5/0x480
[   19.078071]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.078322]  kthread+0x337/0x6f0
[   19.078500]  ret_from_fork+0x116/0x1d0
[   19.078665]  ret_from_fork_asm+0x1a/0x30
[   19.078817] 
[   19.078917] CPU: 0 UID: 0 PID: 328 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   19.079401] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.079598] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   19.079871] ==================================================================
[   19.280525] ==================================================================
[   19.280917] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   19.280917] 
[   19.281243] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#84):
[   19.281633]  test_corruption+0x2df/0x3e0
[   19.281824]  kunit_try_run_case+0x1a5/0x480
[   19.282039]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.282259]  kthread+0x337/0x6f0
[   19.282427]  ret_from_fork+0x116/0x1d0
[   19.282568]  ret_from_fork_asm+0x1a/0x30
[   19.282775] 
[   19.282877] kfence-#84: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   19.282877] 
[   19.283258] allocated by task 328 on cpu 0 at 19.280258s (0.002998s ago):
[   19.283527]  test_alloc+0x364/0x10f0
[   19.283716]  test_corruption+0x1cb/0x3e0
[   19.283908]  kunit_try_run_case+0x1a5/0x480
[   19.284074]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.284349]  kthread+0x337/0x6f0
[   19.284512]  ret_from_fork+0x116/0x1d0
[   19.284675]  ret_from_fork_asm+0x1a/0x30
[   19.284841] 
[   19.284941] freed by task 328 on cpu 0 at 19.280367s (0.004572s ago):
[   19.285243]  test_corruption+0x2df/0x3e0
[   19.285431]  kunit_try_run_case+0x1a5/0x480
[   19.285583]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.285774]  kthread+0x337/0x6f0
[   19.285945]  ret_from_fork+0x116/0x1d0
[   19.286137]  ret_from_fork_asm+0x1a/0x30
[   19.286348] 
[   19.286461] CPU: 0 UID: 0 PID: 328 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   19.286793] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.286995] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   19.287411] ==================================================================