Hay
Date
Dec. 9, 2024, 6:35 a.m.

Environment
qemu-arm64
qemu-x86_64

[   33.176047] ==================================================================
[   33.176776] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   33.176776] 
[   33.177499] Corrupted memory at 0x00000000208f8d9e [ ! ] (in kfence-#124):
[   33.178608]  test_corruption+0x284/0x378
[   33.179279]  kunit_try_run_case+0x14c/0x3d0
[   33.179907]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.180571]  kthread+0x24c/0x2d0
[   33.181180]  ret_from_fork+0x10/0x20
[   33.181654] 
[   33.182043] kfence-#124: 0x00000000f3dd9759-0x00000000d3bdd84b, size=32, cache=kmalloc-32
[   33.182043] 
[   33.183062] allocated by task 299 on cpu 1 at 33.175579s (0.007474s ago):
[   33.183823]  test_alloc+0x298/0x620
[   33.184450]  test_corruption+0x198/0x378
[   33.184967]  kunit_try_run_case+0x14c/0x3d0
[   33.185609]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.186280]  kthread+0x24c/0x2d0
[   33.186811]  ret_from_fork+0x10/0x20
[   33.187417] 
[   33.187757] freed by task 299 on cpu 1 at 33.175750s (0.011996s ago):
[   33.188518]  test_corruption+0x284/0x378
[   33.189112]  kunit_try_run_case+0x14c/0x3d0
[   33.189677]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.190355]  kthread+0x24c/0x2d0
[   33.190883]  ret_from_fork+0x10/0x20
[   33.191425] 
[   33.191798] CPU: 1 UID: 0 PID: 299 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc2-next-20241209 #1
[   33.192955] Tainted: [B]=BAD_PAGE, [N]=TEST
[   33.193494] Hardware name: linux,dummy-virt (DT)
[   33.194076] ==================================================================
[   33.279914] ==================================================================
[   33.280688] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   33.280688] 
[   33.281504] Corrupted memory at 0x00000000ba075af4 [ ! . . . . . . . . . . . . . . . ] (in kfence-#125):
[   33.283978]  test_corruption+0x120/0x378
[   33.284578]  kunit_try_run_case+0x14c/0x3d0
[   33.285207]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.285908]  kthread+0x24c/0x2d0
[   33.286472]  ret_from_fork+0x10/0x20
[   33.287000] 
[   33.287311] kfence-#125: 0x0000000096908c10-0x000000000a6e7269, size=32, cache=test
[   33.287311] 
[   33.288293] allocated by task 301 on cpu 1 at 33.279649s (0.008634s ago):
[   33.289184]  test_alloc+0x22c/0x620
[   33.289674]  test_corruption+0xdc/0x378
[   33.290314]  kunit_try_run_case+0x14c/0x3d0
[   33.290848]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.291585]  kthread+0x24c/0x2d0
[   33.292059]  ret_from_fork+0x10/0x20
[   33.292620] 
[   33.292972] freed by task 301 on cpu 1 at 33.279763s (0.013198s ago):
[   33.293715]  test_corruption+0x120/0x378
[   33.294206]  kunit_try_run_case+0x14c/0x3d0
[   33.294851]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.295553]  kthread+0x24c/0x2d0
[   33.296062]  ret_from_fork+0x10/0x20
[   33.296561] 
[   33.296948] CPU: 1 UID: 0 PID: 301 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc2-next-20241209 #1
[   33.297999] Tainted: [B]=BAD_PAGE, [N]=TEST
[   33.298542] Hardware name: linux,dummy-virt (DT)
[   33.299126] ==================================================================
[   33.383840] ==================================================================
[   33.384654] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   33.384654] 
[   33.385390] Corrupted memory at 0x000000002d5eca7b [ ! ] (in kfence-#126):
[   33.386496]  test_corruption+0x1d8/0x378
[   33.387178]  kunit_try_run_case+0x14c/0x3d0
[   33.387781]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.388447]  kthread+0x24c/0x2d0
[   33.389091]  ret_from_fork+0x10/0x20
[   33.389677] 
[   33.390004] kfence-#126: 0x000000001a06a115-0x000000000acbb084, size=32, cache=test
[   33.390004] 
[   33.391038] allocated by task 301 on cpu 1 at 33.383579s (0.007449s ago):
[   33.391792]  test_alloc+0x22c/0x620
[   33.392346]  test_corruption+0x198/0x378
[   33.392907]  kunit_try_run_case+0x14c/0x3d0
[   33.393531]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.394288]  kthread+0x24c/0x2d0
[   33.394844]  ret_from_fork+0x10/0x20
[   33.395338] 
[   33.395740] freed by task 301 on cpu 1 at 33.383668s (0.012061s ago):
[   33.396402]  test_corruption+0x1d8/0x378
[   33.396984]  kunit_try_run_case+0x14c/0x3d0
[   33.397624]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.398269]  kthread+0x24c/0x2d0
[   33.398730]  ret_from_fork+0x10/0x20
[   33.399307] 
[   33.399727] CPU: 1 UID: 0 PID: 301 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc2-next-20241209 #1
[   33.400762] Tainted: [B]=BAD_PAGE, [N]=TEST
[   33.401332] Hardware name: linux,dummy-virt (DT)
[   33.401970] ==================================================================
[   33.072117] ==================================================================
[   33.072834] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   33.072834] 
[   33.073647] Corrupted memory at 0x000000006924fa2b [ ! . . . . . . . . . . . . . . . ] (in kfence-#123):
[   33.076860]  test_corruption+0x278/0x378
[   33.077405]  kunit_try_run_case+0x14c/0x3d0
[   33.078021]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.078666]  kthread+0x24c/0x2d0
[   33.079255]  ret_from_fork+0x10/0x20
[   33.079800] 
[   33.080119] kfence-#123: 0x00000000c0770284-0x000000002ba68ec3, size=32, cache=kmalloc-32
[   33.080119] 
[   33.081064] allocated by task 299 on cpu 1 at 33.071674s (0.009381s ago):
[   33.081867]  test_alloc+0x298/0x620
[   33.082507]  test_corruption+0xdc/0x378
[   33.083079]  kunit_try_run_case+0x14c/0x3d0
[   33.083651]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.084402]  kthread+0x24c/0x2d0
[   33.084912]  ret_from_fork+0x10/0x20
[   33.085473] 
[   33.085803] freed by task 299 on cpu 1 at 33.071848s (0.013944s ago):
[   33.086648]  test_corruption+0x278/0x378
[   33.087221]  kunit_try_run_case+0x14c/0x3d0
[   33.087829]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.088434]  kthread+0x24c/0x2d0
[   33.089026]  ret_from_fork+0x10/0x20
[   33.089550] 
[   33.089963] CPU: 1 UID: 0 PID: 299 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc2-next-20241209 #1
[   33.091049] Tainted: [B]=BAD_PAGE, [N]=TEST
[   33.091576] Hardware name: linux,dummy-virt (DT)
[   33.092146] ==================================================================

[   35.340950] ==================================================================
[   35.341612] BUG: KFENCE: memory corruption in test_corruption+0x217/0x3e0
[   35.341612] 
[   35.342506] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#124):
[   35.343049]  test_corruption+0x217/0x3e0
[   35.343594]  kunit_try_run_case+0x1b3/0x490
[   35.344320]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   35.344878]  kthread+0x257/0x310
[   35.345191]  ret_from_fork+0x41/0x80
[   35.345638]  ret_from_fork_asm+0x1a/0x30
[   35.346299] 
[   35.346492] kfence-#124: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   35.346492] 
[   35.347460] allocated by task 320 on cpu 1 at 35.340741s (0.006714s ago):
[   35.348062]  test_alloc+0x2a7/0x10d0
[   35.348681]  test_corruption+0x1cc/0x3e0
[   35.349160]  kunit_try_run_case+0x1b3/0x490
[   35.349479]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   35.350163]  kthread+0x257/0x310
[   35.350605]  ret_from_fork+0x41/0x80
[   35.351121]  ret_from_fork_asm+0x1a/0x30
[   35.351616] 
[   35.351897] freed by task 320 on cpu 1 at 35.340829s (0.011064s ago):
[   35.352495]  test_corruption+0x217/0x3e0
[   35.352871]  kunit_try_run_case+0x1b3/0x490
[   35.353337]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   35.353796]  kthread+0x257/0x310
[   35.354203]  ret_from_fork+0x41/0x80
[   35.354643]  ret_from_fork_asm+0x1a/0x30
[   35.355096] 
[   35.355310] CPU: 1 UID: 0 PID: 320 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc2-next-20241209 #1
[   35.356394] Tainted: [B]=BAD_PAGE, [N]=TEST
[   35.356757] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   35.357370] ==================================================================
[   34.820942] ==================================================================
[   34.821706] BUG: KFENCE: memory corruption in test_corruption+0x132/0x3e0
[   34.821706] 
[   34.822442] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#119):
[   34.824268]  test_corruption+0x132/0x3e0
[   34.824635]  kunit_try_run_case+0x1b3/0x490
[   34.825192]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.825976]  kthread+0x257/0x310
[   34.826492]  ret_from_fork+0x41/0x80
[   34.826901]  ret_from_fork_asm+0x1a/0x30
[   34.827103] 
[   34.827205] kfence-#119: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   34.827205] 
[   34.828619] allocated by task 320 on cpu 1 at 34.820748s (0.007867s ago):
[   34.829241]  test_alloc+0x2a7/0x10d0
[   34.829647]  test_corruption+0xe7/0x3e0
[   34.830016]  kunit_try_run_case+0x1b3/0x490
[   34.830528]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.831182]  kthread+0x257/0x310
[   34.831465]  ret_from_fork+0x41/0x80
[   34.831781]  ret_from_fork_asm+0x1a/0x30
[   34.832413] 
[   34.832679] freed by task 320 on cpu 1 at 34.820827s (0.011847s ago):
[   34.833596]  test_corruption+0x132/0x3e0
[   34.834070]  kunit_try_run_case+0x1b3/0x490
[   34.834397]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.835093]  kthread+0x257/0x310
[   34.835550]  ret_from_fork+0x41/0x80
[   34.836015]  ret_from_fork_asm+0x1a/0x30
[   34.836329] 
[   34.836710] CPU: 1 UID: 0 PID: 320 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc2-next-20241209 #1
[   34.838012] Tainted: [B]=BAD_PAGE, [N]=TEST
[   34.838322] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   34.839212] ==================================================================
[   34.613094] ==================================================================
[   34.613876] BUG: KFENCE: memory corruption in test_corruption+0x2e1/0x3e0
[   34.613876] 
[   34.614593] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#117):
[   34.615544]  test_corruption+0x2e1/0x3e0
[   34.616281]  kunit_try_run_case+0x1b3/0x490
[   34.616624]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.617431]  kthread+0x257/0x310
[   34.617947]  ret_from_fork+0x41/0x80
[   34.618349]  ret_from_fork_asm+0x1a/0x30
[   34.618904] 
[   34.619164] kfence-#117: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   34.619164] 
[   34.620078] allocated by task 318 on cpu 0 at 34.612757s (0.007317s ago):
[   34.620722]  test_alloc+0x35f/0x10d0
[   34.621429]  test_corruption+0x1cc/0x3e0
[   34.621720]  kunit_try_run_case+0x1b3/0x490
[   34.622530]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.623321]  kthread+0x257/0x310
[   34.623584]  ret_from_fork+0x41/0x80
[   34.624237]  ret_from_fork_asm+0x1a/0x30
[   34.624785] 
[   34.625035] freed by task 318 on cpu 0 at 34.612880s (0.012150s ago):
[   34.625709]  test_corruption+0x2e1/0x3e0
[   34.626480]  kunit_try_run_case+0x1b3/0x490
[   34.626894]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.627585]  kthread+0x257/0x310
[   34.628164]  ret_from_fork+0x41/0x80
[   34.628709]  ret_from_fork_asm+0x1a/0x30
[   34.629286] 
[   34.629573] CPU: 0 UID: 0 PID: 318 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc2-next-20241209 #1
[   34.630619] Tainted: [B]=BAD_PAGE, [N]=TEST
[   34.631206] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   34.632405] ==================================================================
[   34.509066] ==================================================================
[   34.509862] BUG: KFENCE: memory corruption in test_corruption+0x2d4/0x3e0
[   34.509862] 
[   34.510698] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#116):
[   34.512946]  test_corruption+0x2d4/0x3e0
[   34.513352]  kunit_try_run_case+0x1b3/0x490
[   34.513894]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.514730]  kthread+0x257/0x310
[   34.515130]  ret_from_fork+0x41/0x80
[   34.515531]  ret_from_fork_asm+0x1a/0x30
[   34.516419] 
[   34.516695] kfence-#116: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   34.516695] 
[   34.517823] allocated by task 318 on cpu 0 at 34.508735s (0.009083s ago):
[   34.518548]  test_alloc+0x35f/0x10d0
[   34.519076]  test_corruption+0xe7/0x3e0
[   34.519432]  kunit_try_run_case+0x1b3/0x490
[   34.520072]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.520740]  kthread+0x257/0x310
[   34.521452]  ret_from_fork+0x41/0x80
[   34.522127]  ret_from_fork_asm+0x1a/0x30
[   34.522648] 
[   34.522888] freed by task 318 on cpu 0 at 34.508856s (0.014028s ago):
[   34.523655]  test_corruption+0x2d4/0x3e0
[   34.524635]  kunit_try_run_case+0x1b3/0x490
[   34.525027]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.525608]  kthread+0x257/0x310
[   34.526267]  ret_from_fork+0x41/0x80
[   34.526632]  ret_from_fork_asm+0x1a/0x30
[   34.527199] 
[   34.527447] CPU: 0 UID: 0 PID: 318 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc2-next-20241209 #1
[   34.528740] Tainted: [B]=BAD_PAGE, [N]=TEST
[   34.529486] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   34.530339] ==================================================================