Hay
Date
July 8, 2025, 7:07 p.m.

Environment
qemu-arm64
qemu-x86_64

[   25.484041] ==================================================================
[   25.484140] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   25.484140] 
[   25.484202] Corrupted memory at 0x0000000054587bbd [ ! ] (in kfence-#104):
[   25.484315]  test_corruption+0x1d8/0x378
[   25.484360]  kunit_try_run_case+0x170/0x3f0
[   25.484405]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.484449]  kthread+0x328/0x630
[   25.484487]  ret_from_fork+0x10/0x20
[   25.484526] 
[   25.484551] kfence-#104: 0x00000000a7c01411-0x000000007a7f48fc, size=32, cache=test
[   25.484551] 
[   25.484604] allocated by task 313 on cpu 0 at 25.483900s (0.000700s ago):
[   25.484664]  test_alloc+0x230/0x628
[   25.484705]  test_corruption+0x198/0x378
[   25.484758]  kunit_try_run_case+0x170/0x3f0
[   25.484798]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.484840]  kthread+0x328/0x630
[   25.484877]  ret_from_fork+0x10/0x20
[   25.484915] 
[   25.484937] freed by task 313 on cpu 0 at 25.483956s (0.000977s ago):
[   25.484998]  test_corruption+0x1d8/0x378
[   25.485040]  kunit_try_run_case+0x170/0x3f0
[   25.485078]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.485121]  kthread+0x328/0x630
[   25.485155]  ret_from_fork+0x10/0x20
[   25.485195] 
[   25.485235] CPU: 0 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   25.485311] Tainted: [B]=BAD_PAGE, [N]=TEST
[   25.485340] Hardware name: linux,dummy-virt (DT)
[   25.485375] ==================================================================
[   24.860169] ==================================================================
[   24.860254] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   24.860254] 
[   24.860317] Corrupted memory at 0x000000002e42f50f [ ! ] (in kfence-#98):
[   24.860443]  test_corruption+0x284/0x378
[   24.860490]  kunit_try_run_case+0x170/0x3f0
[   24.860534]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.860578]  kthread+0x328/0x630
[   24.860617]  ret_from_fork+0x10/0x20
[   24.860657] 
[   24.860682] kfence-#98: 0x000000001734efec-0x00000000496d01d9, size=32, cache=kmalloc-32
[   24.860682] 
[   24.860749] allocated by task 311 on cpu 0 at 24.859895s (0.000851s ago):
[   24.860811]  test_alloc+0x29c/0x628
[   24.860850]  test_corruption+0x198/0x378
[   24.860891]  kunit_try_run_case+0x170/0x3f0
[   24.860932]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.860976]  kthread+0x328/0x630
[   24.861011]  ret_from_fork+0x10/0x20
[   24.861048] 
[   24.861072] freed by task 311 on cpu 0 at 24.859997s (0.001072s ago):
[   24.861132]  test_corruption+0x284/0x378
[   24.861171]  kunit_try_run_case+0x170/0x3f0
[   24.861210]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.861254]  kthread+0x328/0x630
[   24.861288]  ret_from_fork+0x10/0x20
[   24.861327] 
[   24.861369] CPU: 0 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   24.861445] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.861475] Hardware name: linux,dummy-virt (DT)
[   24.861506] ==================================================================
[   25.068166] ==================================================================
[   25.068268] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   25.068268] 
[   25.068331] Corrupted memory at 0x00000000236048fd [ ! . . . . . . . . . . . . . . . ] (in kfence-#100):
[   25.068636]  test_corruption+0x120/0x378
[   25.068681]  kunit_try_run_case+0x170/0x3f0
[   25.068740]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.068785]  kthread+0x328/0x630
[   25.068824]  ret_from_fork+0x10/0x20
[   25.068863] 
[   25.068886] kfence-#100: 0x00000000dd91d07f-0x00000000059339d2, size=32, cache=test
[   25.068886] 
[   25.068940] allocated by task 313 on cpu 0 at 25.067918s (0.001018s ago):
[   25.069001]  test_alloc+0x230/0x628
[   25.069041]  test_corruption+0xdc/0x378
[   25.069081]  kunit_try_run_case+0x170/0x3f0
[   25.069120]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.069164]  kthread+0x328/0x630
[   25.069198]  ret_from_fork+0x10/0x20
[   25.069236] 
[   25.069260] freed by task 313 on cpu 0 at 25.067972s (0.001284s ago):
[   25.069320]  test_corruption+0x120/0x378
[   25.069360]  kunit_try_run_case+0x170/0x3f0
[   25.069399]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.069443]  kthread+0x328/0x630
[   25.069479]  ret_from_fork+0x10/0x20
[   25.069517] 
[   25.069559] CPU: 0 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   25.069635] Tainted: [B]=BAD_PAGE, [N]=TEST
[   25.069663] Hardware name: linux,dummy-virt (DT)
[   25.069699] ==================================================================
[   24.756149] ==================================================================
[   24.756259] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   24.756259] 
[   24.756327] Corrupted memory at 0x00000000b67b27c3 [ ! . . . . . . . . . . . . . . . ] (in kfence-#97):
[   24.757441]  test_corruption+0x278/0x378
[   24.757494]  kunit_try_run_case+0x170/0x3f0
[   24.757540]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.757585]  kthread+0x328/0x630
[   24.757623]  ret_from_fork+0x10/0x20
[   24.757664] 
[   24.757687] kfence-#97: 0x0000000093bea726-0x00000000cddf3fee, size=32, cache=kmalloc-32
[   24.757687] 
[   24.757758] allocated by task 311 on cpu 0 at 24.755847s (0.001908s ago):
[   24.757823]  test_alloc+0x29c/0x628
[   24.757864]  test_corruption+0xdc/0x378
[   24.757905]  kunit_try_run_case+0x170/0x3f0
[   24.757945]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.757989]  kthread+0x328/0x630
[   24.758025]  ret_from_fork+0x10/0x20
[   24.758064] 
[   24.758087] freed by task 311 on cpu 0 at 24.755964s (0.002119s ago):
[   24.758148]  test_corruption+0x278/0x378
[   24.758190]  kunit_try_run_case+0x170/0x3f0
[   24.758230]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.758274]  kthread+0x328/0x630
[   24.758310]  ret_from_fork+0x10/0x20
[   24.758349] 
[   24.758396] CPU: 0 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   24.758476] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.758508] Hardware name: linux,dummy-virt (DT)
[   24.758544] ==================================================================

[   20.104507] ==================================================================
[   20.104892] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   20.104892] 
[   20.105358] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#86):
[   20.105730]  test_corruption+0x216/0x3e0
[   20.105876]  kunit_try_run_case+0x1a5/0x480
[   20.106152]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.106436]  kthread+0x337/0x6f0
[   20.106582]  ret_from_fork+0x116/0x1d0
[   20.106719]  ret_from_fork_asm+0x1a/0x30
[   20.106938] 
[   20.107047] kfence-#86: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   20.107047] 
[   20.107405] allocated by task 330 on cpu 1 at 20.104398s (0.003005s ago):
[   20.107691]  test_alloc+0x2a6/0x10f0
[   20.107900]  test_corruption+0x1cb/0x3e0
[   20.108082]  kunit_try_run_case+0x1a5/0x480
[   20.108242]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.108478]  kthread+0x337/0x6f0
[   20.108678]  ret_from_fork+0x116/0x1d0
[   20.108809]  ret_from_fork_asm+0x1a/0x30
[   20.108985] 
[   20.109093] freed by task 330 on cpu 1 at 20.104435s (0.004655s ago):
[   20.109380]  test_corruption+0x216/0x3e0
[   20.109531]  kunit_try_run_case+0x1a5/0x480
[   20.109749]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.109996]  kthread+0x337/0x6f0
[   20.110161]  ret_from_fork+0x116/0x1d0
[   20.110296]  ret_from_fork_asm+0x1a/0x30
[   20.110479] 
[   20.110683] CPU: 1 UID: 0 PID: 330 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   20.111128] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.111275] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   20.111757] ==================================================================
[   19.792700] ==================================================================
[   19.793181] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   19.793181] 
[   19.793523] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#83):
[   19.794468]  test_corruption+0x2df/0x3e0
[   19.794795]  kunit_try_run_case+0x1a5/0x480
[   19.795093]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.795353]  kthread+0x337/0x6f0
[   19.795734]  ret_from_fork+0x116/0x1d0
[   19.796027]  ret_from_fork_asm+0x1a/0x30
[   19.796332] 
[   19.796454] kfence-#83: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   19.796454] 
[   19.797096] allocated by task 328 on cpu 0 at 19.792419s (0.004675s ago):
[   19.797499]  test_alloc+0x364/0x10f0
[   19.797870]  test_corruption+0x1cb/0x3e0
[   19.798171]  kunit_try_run_case+0x1a5/0x480
[   19.798384]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.798820]  kthread+0x337/0x6f0
[   19.799109]  ret_from_fork+0x116/0x1d0
[   19.799424]  ret_from_fork_asm+0x1a/0x30
[   19.799666] 
[   19.799936] freed by task 328 on cpu 0 at 19.792519s (0.007415s ago):
[   19.800258]  test_corruption+0x2df/0x3e0
[   19.800453]  kunit_try_run_case+0x1a5/0x480
[   19.800850]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.801207]  kthread+0x337/0x6f0
[   19.801398]  ret_from_fork+0x116/0x1d0
[   19.801584]  ret_from_fork_asm+0x1a/0x30
[   19.801772] 
[   19.801894] CPU: 0 UID: 0 PID: 328 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   19.802344] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.802637] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   19.803297] ==================================================================
[   19.896505] ==================================================================
[   19.896871] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   19.896871] 
[   19.897336] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#84):
[   19.898006]  test_corruption+0x131/0x3e0
[   19.898224]  kunit_try_run_case+0x1a5/0x480
[   19.898398]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.898634]  kthread+0x337/0x6f0
[   19.898792]  ret_from_fork+0x116/0x1d0
[   19.898962]  ret_from_fork_asm+0x1a/0x30
[   19.899163] 
[   19.899263] kfence-#84: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   19.899263] 
[   19.899722] allocated by task 330 on cpu 1 at 19.896383s (0.003337s ago):
[   19.899974]  test_alloc+0x2a6/0x10f0
[   19.900169]  test_corruption+0xe6/0x3e0
[   19.900312]  kunit_try_run_case+0x1a5/0x480
[   19.900460]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.900952]  kthread+0x337/0x6f0
[   19.901124]  ret_from_fork+0x116/0x1d0
[   19.901259]  ret_from_fork_asm+0x1a/0x30
[   19.901399] 
[   19.901497] freed by task 330 on cpu 1 at 19.896441s (0.005054s ago):
[   19.901825]  test_corruption+0x131/0x3e0
[   19.902017]  kunit_try_run_case+0x1a5/0x480
[   19.902214]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.902450]  kthread+0x337/0x6f0
[   19.902712]  ret_from_fork+0x116/0x1d0
[   19.902883]  ret_from_fork_asm+0x1a/0x30
[   19.903053] 
[   19.903180] CPU: 1 UID: 0 PID: 330 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   19.903663] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.903807] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   19.904206] ==================================================================
[   19.480636] ==================================================================
[   19.481064] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   19.481064] 
[   19.481798] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#80):
[   19.483052]  test_corruption+0x2d2/0x3e0
[   19.483281]  kunit_try_run_case+0x1a5/0x480
[   19.483511]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.483893]  kthread+0x337/0x6f0
[   19.484211]  ret_from_fork+0x116/0x1d0
[   19.484470]  ret_from_fork_asm+0x1a/0x30
[   19.484701] 
[   19.484829] kfence-#80: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   19.484829] 
[   19.485444] allocated by task 328 on cpu 0 at 19.480382s (0.005059s ago):
[   19.485925]  test_alloc+0x364/0x10f0
[   19.486138]  test_corruption+0xe6/0x3e0
[   19.486323]  kunit_try_run_case+0x1a5/0x480
[   19.486786]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.487036]  kthread+0x337/0x6f0
[   19.487333]  ret_from_fork+0x116/0x1d0
[   19.487509]  ret_from_fork_asm+0x1a/0x30
[   19.487859] 
[   19.487982] freed by task 328 on cpu 0 at 19.480475s (0.007505s ago):
[   19.488413]  test_corruption+0x2d2/0x3e0
[   19.488727]  kunit_try_run_case+0x1a5/0x480
[   19.488986]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.489279]  kthread+0x337/0x6f0
[   19.489589]  ret_from_fork+0x116/0x1d0
[   19.489795]  ret_from_fork_asm+0x1a/0x30
[   19.490109] 
[   19.490275] CPU: 0 UID: 0 PID: 328 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   19.490892] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.491120] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   19.491517] ==================================================================