Hay
Date
July 3, 2025, 10:10 a.m.

Environment
qemu-arm64
qemu-x86_64

[   37.233042] ==================================================================
[   37.233161] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   37.233161] 
[   37.233232] Corrupted memory at 0x000000006433ed97 [ ! . . . . . . . . . . . . . . . ] (in kfence-#148):
[   37.234358]  test_corruption+0x278/0x378
[   37.234412]  kunit_try_run_case+0x170/0x3f0
[   37.234461]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.234508]  kthread+0x328/0x630
[   37.234549]  ret_from_fork+0x10/0x20
[   37.234592] 
[   37.234616] kfence-#148: 0x00000000a7cd20d7-0x0000000037f5709d, size=32, cache=kmalloc-32
[   37.234616] 
[   37.234673] allocated by task 343 on cpu 1 at 37.232724s (0.001946s ago):
[   37.234739]  test_alloc+0x29c/0x628
[   37.234781]  test_corruption+0xdc/0x378
[   37.234822]  kunit_try_run_case+0x170/0x3f0
[   37.234878]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.234924]  kthread+0x328/0x630
[   37.234961]  ret_from_fork+0x10/0x20
[   37.234999] 
[   37.235022] freed by task 343 on cpu 1 at 37.232847s (0.002172s ago):
[   37.235087]  test_corruption+0x278/0x378
[   37.235127]  kunit_try_run_case+0x170/0x3f0
[   37.235168]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.235214]  kthread+0x328/0x630
[   37.235249]  ret_from_fork+0x10/0x20
[   37.235288] 
[   37.235338] CPU: 1 UID: 0 PID: 343 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4-next-20250703 #1 PREEMPT 
[   37.235417] Tainted: [B]=BAD_PAGE, [N]=TEST
[   37.235445] Hardware name: linux,dummy-virt (DT)
[   37.235481] ==================================================================
[   38.272939] ==================================================================
[   38.273034] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   38.273034] 
[   38.273097] Corrupted memory at 0x0000000035230aca [ ! ] (in kfence-#158):
[   38.273210]  test_corruption+0x1d8/0x378
[   38.273259]  kunit_try_run_case+0x170/0x3f0
[   38.273302]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   38.273348]  kthread+0x328/0x630
[   38.273388]  ret_from_fork+0x10/0x20
[   38.273429] 
[   38.273453] kfence-#158: 0x00000000eb6a16cc-0x000000000696d509, size=32, cache=test
[   38.273453] 
[   38.273509] allocated by task 345 on cpu 1 at 38.272762s (0.000743s ago):
[   38.273572]  test_alloc+0x230/0x628
[   38.273615]  test_corruption+0x198/0x378
[   38.273657]  kunit_try_run_case+0x170/0x3f0
[   38.273698]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   38.273744]  kthread+0x328/0x630
[   38.273781]  ret_from_fork+0x10/0x20
[   38.273822] 
[   38.273859] freed by task 345 on cpu 1 at 38.272824s (0.001031s ago):
[   38.273924]  test_corruption+0x1d8/0x378
[   38.273978]  kunit_try_run_case+0x170/0x3f0
[   38.274024]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   38.274069]  kthread+0x328/0x630
[   38.274106]  ret_from_fork+0x10/0x20
[   38.274146] 
[   38.274187] CPU: 1 UID: 0 PID: 345 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4-next-20250703 #1 PREEMPT 
[   38.274266] Tainted: [B]=BAD_PAGE, [N]=TEST
[   38.274295] Hardware name: linux,dummy-virt (DT)
[   38.274330] ==================================================================
[   37.753042] ==================================================================
[   37.753141] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   37.753141] 
[   37.753207] Corrupted memory at 0x0000000017268e3f [ ! ] (in kfence-#153):
[   37.753342]  test_corruption+0x284/0x378
[   37.753390]  kunit_try_run_case+0x170/0x3f0
[   37.753435]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.753481]  kthread+0x328/0x630
[   37.753521]  ret_from_fork+0x10/0x20
[   37.753560] 
[   37.753585] kfence-#153: 0x000000009041dc3c-0x0000000055f1de4c, size=32, cache=kmalloc-32
[   37.753585] 
[   37.753640] allocated by task 343 on cpu 1 at 37.752747s (0.000890s ago):
[   37.753704]  test_alloc+0x29c/0x628
[   37.753745]  test_corruption+0x198/0x378
[   37.753787]  kunit_try_run_case+0x170/0x3f0
[   37.753828]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.753886]  kthread+0x328/0x630
[   37.753924]  ret_from_fork+0x10/0x20
[   37.753969] 
[   37.753993] freed by task 343 on cpu 1 at 37.752862s (0.001127s ago):
[   37.754057]  test_corruption+0x284/0x378
[   37.754099]  kunit_try_run_case+0x170/0x3f0
[   37.754140]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.754188]  kthread+0x328/0x630
[   37.754225]  ret_from_fork+0x10/0x20
[   37.754266] 
[   37.754308] CPU: 1 UID: 0 PID: 343 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4-next-20250703 #1 PREEMPT 
[   37.754389] Tainted: [B]=BAD_PAGE, [N]=TEST
[   37.754419] Hardware name: linux,dummy-virt (DT)
[   37.754454] ==================================================================
[   38.168948] ==================================================================
[   38.169048] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   38.169048] 
[   38.169111] Corrupted memory at 0x000000009c00ceab [ ! . . . . . . . . . . . . . . . ] (in kfence-#157):
[   38.169422]  test_corruption+0x120/0x378
[   38.169470]  kunit_try_run_case+0x170/0x3f0
[   38.169515]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   38.169562]  kthread+0x328/0x630
[   38.169601]  ret_from_fork+0x10/0x20
[   38.169641] 
[   38.169664] kfence-#157: 0x000000003c452b1a-0x0000000015e644eb, size=32, cache=test
[   38.169664] 
[   38.169720] allocated by task 345 on cpu 1 at 38.168781s (0.000935s ago):
[   38.169784]  test_alloc+0x230/0x628
[   38.169825]  test_corruption+0xdc/0x378
[   38.169882]  kunit_try_run_case+0x170/0x3f0
[   38.169923]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   38.169975]  kthread+0x328/0x630
[   38.170011]  ret_from_fork+0x10/0x20
[   38.170051] 
[   38.170074] freed by task 345 on cpu 1 at 38.168853s (0.001217s ago):
[   38.170138]  test_corruption+0x120/0x378
[   38.170179]  kunit_try_run_case+0x170/0x3f0
[   38.170221]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   38.170266]  kthread+0x328/0x630
[   38.170301]  ret_from_fork+0x10/0x20
[   38.170342] 
[   38.170384] CPU: 1 UID: 0 PID: 345 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4-next-20250703 #1 PREEMPT 
[   38.170465] Tainted: [B]=BAD_PAGE, [N]=TEST
[   38.170495] Hardware name: linux,dummy-virt (DT)
[   38.170529] ==================================================================

[   29.569699] ==================================================================
[   29.570165] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   29.570165] 
[   29.570570] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#103):
[   29.571389]  test_corruption+0x2d2/0x3e0
[   29.571616]  kunit_try_run_case+0x1a5/0x480
[   29.571816]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.572073]  kthread+0x337/0x6f0
[   29.572279]  ret_from_fork+0x116/0x1d0
[   29.572433]  ret_from_fork_asm+0x1a/0x30
[   29.572659] 
[   29.572753] kfence-#103: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   29.572753] 
[   29.573133] allocated by task 360 on cpu 1 at 29.569421s (0.003710s ago):
[   29.573442]  test_alloc+0x364/0x10f0
[   29.573659]  test_corruption+0xe6/0x3e0
[   29.573849]  kunit_try_run_case+0x1a5/0x480
[   29.574022]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.574283]  kthread+0x337/0x6f0
[   29.574451]  ret_from_fork+0x116/0x1d0
[   29.574630]  ret_from_fork_asm+0x1a/0x30
[   29.574779] 
[   29.574845] freed by task 360 on cpu 1 at 29.569530s (0.005313s ago):
[   29.575094]  test_corruption+0x2d2/0x3e0
[   29.575407]  kunit_try_run_case+0x1a5/0x480
[   29.575640]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.575904]  kthread+0x337/0x6f0
[   29.576063]  ret_from_fork+0x116/0x1d0
[   29.576243]  ret_from_fork_asm+0x1a/0x30
[   29.576432] 
[   29.576574] CPU: 1 UID: 0 PID: 360 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4-next-20250703 #1 PREEMPT(voluntary) 
[   29.577199] Tainted: [B]=BAD_PAGE, [N]=TEST
[   29.577362] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   29.577622] ==================================================================
[   29.985716] ==================================================================
[   29.986105] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   29.986105] 
[   29.986406] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#107):
[   29.986873]  test_corruption+0x2df/0x3e0
[   29.987076]  kunit_try_run_case+0x1a5/0x480
[   29.987327]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.987557]  kthread+0x337/0x6f0
[   29.987743]  ret_from_fork+0x116/0x1d0
[   29.987926]  ret_from_fork_asm+0x1a/0x30
[   29.988070] 
[   29.988136] kfence-#107: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   29.988136] 
[   29.988782] allocated by task 360 on cpu 1 at 29.985430s (0.003350s ago):
[   29.989107]  test_alloc+0x364/0x10f0
[   29.989306]  test_corruption+0x1cb/0x3e0
[   29.989473]  kunit_try_run_case+0x1a5/0x480
[   29.989690]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.989965]  kthread+0x337/0x6f0
[   29.990141]  ret_from_fork+0x116/0x1d0
[   29.990316]  ret_from_fork_asm+0x1a/0x30
[   29.990539] 
[   29.990607] freed by task 360 on cpu 1 at 29.985539s (0.005065s ago):
[   29.990836]  test_corruption+0x2df/0x3e0
[   29.991050]  kunit_try_run_case+0x1a5/0x480
[   29.991328]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.991610]  kthread+0x337/0x6f0
[   29.991757]  ret_from_fork+0x116/0x1d0
[   29.991928]  ret_from_fork_asm+0x1a/0x30
[   29.992116] 
[   29.992216] CPU: 1 UID: 0 PID: 360 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4-next-20250703 #1 PREEMPT(voluntary) 
[   29.992721] Tainted: [B]=BAD_PAGE, [N]=TEST
[   29.992908] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   29.993256] ==================================================================
[   30.193607] ==================================================================
[   30.193997] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   30.193997] 
[   30.194355] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#109):
[   30.195026]  test_corruption+0x131/0x3e0
[   30.195181]  kunit_try_run_case+0x1a5/0x480
[   30.195466]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.195676]  kthread+0x337/0x6f0
[   30.195847]  ret_from_fork+0x116/0x1d0
[   30.196043]  ret_from_fork_asm+0x1a/0x30
[   30.196231] 
[   30.196398] kfence-#109: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   30.196398] 
[   30.196693] allocated by task 362 on cpu 0 at 30.193451s (0.003239s ago):
[   30.197039]  test_alloc+0x2a6/0x10f0
[   30.197249]  test_corruption+0xe6/0x3e0
[   30.197386]  kunit_try_run_case+0x1a5/0x480
[   30.197572]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.197848]  kthread+0x337/0x6f0
[   30.198024]  ret_from_fork+0x116/0x1d0
[   30.198173]  ret_from_fork_asm+0x1a/0x30
[   30.198395] 
[   30.198489] freed by task 362 on cpu 0 at 30.193524s (0.004963s ago):
[   30.198762]  test_corruption+0x131/0x3e0
[   30.198956]  kunit_try_run_case+0x1a5/0x480
[   30.199149]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.199495]  kthread+0x337/0x6f0
[   30.199665]  ret_from_fork+0x116/0x1d0
[   30.199871]  ret_from_fork_asm+0x1a/0x30
[   30.200066] 
[   30.200181] CPU: 0 UID: 0 PID: 362 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4-next-20250703 #1 PREEMPT(voluntary) 
[   30.200688] Tainted: [B]=BAD_PAGE, [N]=TEST
[   30.200819] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   30.201402] ==================================================================
[   30.297510] ==================================================================
[   30.297884] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   30.297884] 
[   30.298259] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#110):
[   30.298658]  test_corruption+0x216/0x3e0
[   30.298849]  kunit_try_run_case+0x1a5/0x480
[   30.299071]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.299324]  kthread+0x337/0x6f0
[   30.299446]  ret_from_fork+0x116/0x1d0
[   30.299731]  ret_from_fork_asm+0x1a/0x30
[   30.299930] 
[   30.300031] kfence-#110: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   30.300031] 
[   30.300465] allocated by task 362 on cpu 0 at 30.297367s (0.003096s ago):
[   30.300770]  test_alloc+0x2a6/0x10f0
[   30.300901]  test_corruption+0x1cb/0x3e0
[   30.301091]  kunit_try_run_case+0x1a5/0x480
[   30.301316]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.301651]  kthread+0x337/0x6f0
[   30.301837]  ret_from_fork+0x116/0x1d0
[   30.302030]  ret_from_fork_asm+0x1a/0x30
[   30.302258] 
[   30.302329] freed by task 362 on cpu 0 at 30.297421s (0.004906s ago):
[   30.302619]  test_corruption+0x216/0x3e0
[   30.302764]  kunit_try_run_case+0x1a5/0x480
[   30.302965]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.303209]  kthread+0x337/0x6f0
[   30.303389]  ret_from_fork+0x116/0x1d0
[   30.303555]  ret_from_fork_asm+0x1a/0x30
[   30.303690] 
[   30.303776] CPU: 0 UID: 0 PID: 362 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4-next-20250703 #1 PREEMPT(voluntary) 
[   30.304408] Tainted: [B]=BAD_PAGE, [N]=TEST
[   30.304627] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   30.305048] ==================================================================