Hay
Date
Nov. 22, 2024, 6:35 a.m.

Environment
qemu-arm64
qemu-x86_64

[   41.626045] ==================================================================
[   41.626945] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   41.626945] 
[   41.627902] Corrupted memory at 0x000000001e1906d6 [ ! ] (in kfence-#169):
[   41.630138]  test_corruption+0x284/0x378
[   41.630884]  kunit_try_run_case+0x14c/0x3d0
[   41.631568]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.632175]  kthread+0x24c/0x2d0
[   41.632850]  ret_from_fork+0x10/0x20
[   41.633476] 
[   41.633961] kfence-#169: 0x000000000b0427f7-0x00000000f8248443, size=32, cache=kmalloc-32
[   41.633961] 
[   41.635009] allocated by task 300 on cpu 1 at 41.625570s (0.009430s ago):
[   41.636036]  test_alloc+0x298/0x620
[   41.636628]  test_corruption+0x198/0x378
[   41.637168]  kunit_try_run_case+0x14c/0x3d0
[   41.637825]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.638573]  kthread+0x24c/0x2d0
[   41.639018]  ret_from_fork+0x10/0x20
[   41.639696] 
[   41.640060] freed by task 300 on cpu 1 at 41.625728s (0.014322s ago):
[   41.640908]  test_corruption+0x284/0x378
[   41.641573]  kunit_try_run_case+0x14c/0x3d0
[   41.642162]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.642998]  kthread+0x24c/0x2d0
[   41.643481]  ret_from_fork+0x10/0x20
[   41.643890] 
[   41.644272] CPU: 1 UID: 0 PID: 300 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241122 #1
[   41.645060] Tainted: [B]=BAD_PAGE, [N]=TEST
[   41.645487] Hardware name: linux,dummy-virt (DT)
[   41.646049] ==================================================================
[   41.833837] ==================================================================
[   41.834968] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   41.834968] 
[   41.835851] Corrupted memory at 0x0000000011113ce2 [ ! ] (in kfence-#171):
[   41.837487]  test_corruption+0x1d8/0x378
[   41.838216]  kunit_try_run_case+0x14c/0x3d0
[   41.838985]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.839573]  kthread+0x24c/0x2d0
[   41.840270]  ret_from_fork+0x10/0x20
[   41.840894] 
[   41.841248] kfence-#171: 0x000000008d2320d1-0x00000000eae7b40f, size=32, cache=test
[   41.841248] 
[   41.842390] allocated by task 302 on cpu 1 at 41.833569s (0.008811s ago):
[   41.843224]  test_alloc+0x22c/0x620
[   41.843852]  test_corruption+0x198/0x378
[   41.844600]  kunit_try_run_case+0x14c/0x3d0
[   41.845285]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.846149]  kthread+0x24c/0x2d0
[   41.846700]  ret_from_fork+0x10/0x20
[   41.847366] 
[   41.847735] freed by task 302 on cpu 1 at 41.833670s (0.014056s ago):
[   41.848587]  test_corruption+0x1d8/0x378
[   41.849178]  kunit_try_run_case+0x14c/0x3d0
[   41.849895]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.850707]  kthread+0x24c/0x2d0
[   41.851290]  ret_from_fork+0x10/0x20
[   41.851899] 
[   41.852320] CPU: 1 UID: 0 PID: 302 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241122 #1
[   41.853509] Tainted: [B]=BAD_PAGE, [N]=TEST
[   41.854222] Hardware name: linux,dummy-virt (DT)
[   41.854881] ==================================================================
[   41.521888] ==================================================================
[   41.522844] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   41.522844] 
[   41.524119] Corrupted memory at 0x00000000c21159f5 [ ! . . . . . . . . . . . . . . . ] (in kfence-#168):
[   41.527426]  test_corruption+0x278/0x378
[   41.528179]  kunit_try_run_case+0x14c/0x3d0
[   41.528992]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.529897]  kthread+0x24c/0x2d0
[   41.530603]  ret_from_fork+0x10/0x20
[   41.531278] 
[   41.531716] kfence-#168: 0x000000002d2153fa-0x0000000090501588, size=32, cache=kmalloc-32
[   41.531716] 
[   41.532988] allocated by task 300 on cpu 1 at 41.521537s (0.011441s ago):
[   41.534192]  test_alloc+0x298/0x620
[   41.534974]  test_corruption+0xdc/0x378
[   41.535525]  kunit_try_run_case+0x14c/0x3d0
[   41.536113]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.536822]  kthread+0x24c/0x2d0
[   41.537599]  ret_from_fork+0x10/0x20
[   41.538497] 
[   41.539112] freed by task 300 on cpu 1 at 41.521705s (0.017394s ago):
[   41.540152]  test_corruption+0x278/0x378
[   41.540935]  kunit_try_run_case+0x14c/0x3d0
[   41.541710]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.542659]  kthread+0x24c/0x2d0
[   41.543457]  ret_from_fork+0x10/0x20
[   41.544154] 
[   41.544625] CPU: 1 UID: 0 PID: 300 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241122 #1
[   41.546025] Tainted: [B]=BAD_PAGE, [N]=TEST
[   41.546777] Hardware name: linux,dummy-virt (DT)
[   41.547540] ==================================================================
[   41.729751] ==================================================================
[   41.730718] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   41.730718] 
[   41.731766] Corrupted memory at 0x00000000c886816e [ ! . . . . . . . . . . . . . . . ] (in kfence-#170):
[   41.734574]  test_corruption+0x120/0x378
[   41.735418]  kunit_try_run_case+0x14c/0x3d0
[   41.736178]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.737023]  kthread+0x24c/0x2d0
[   41.737606]  ret_from_fork+0x10/0x20
[   41.738237] 
[   41.738644] kfence-#170: 0x00000000eaaa7a8b-0x000000007a363a7b, size=32, cache=test
[   41.738644] 
[   41.739739] allocated by task 302 on cpu 1 at 41.729503s (0.010226s ago):
[   41.740865]  test_alloc+0x22c/0x620
[   41.741616]  test_corruption+0xdc/0x378
[   41.742255]  kunit_try_run_case+0x14c/0x3d0
[   41.742910]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.743675]  kthread+0x24c/0x2d0
[   41.744469]  ret_from_fork+0x10/0x20
[   41.745024] 
[   41.745483] freed by task 302 on cpu 1 at 41.729603s (0.015869s ago):
[   41.746488]  test_corruption+0x120/0x378
[   41.747212]  kunit_try_run_case+0x14c/0x3d0
[   41.747929]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.748733]  kthread+0x24c/0x2d0
[   41.749356]  ret_from_fork+0x10/0x20
[   41.750087] 
[   41.750521] CPU: 1 UID: 0 PID: 302 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241122 #1
[   41.751985] Tainted: [B]=BAD_PAGE, [N]=TEST
[   41.752673] Hardware name: linux,dummy-virt (DT)
[   41.753289] ==================================================================

[   35.010708] ==================================================================
[   35.011335] BUG: KFENCE: memory corruption in test_corruption+0x132/0x3e0
[   35.011335] 
[   35.011918] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#121):
[   35.014144]  test_corruption+0x132/0x3e0
[   35.014553]  kunit_try_run_case+0x1b3/0x490
[   35.014965]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   35.015778]  kthread+0x257/0x310
[   35.016046]  ret_from_fork+0x41/0x80
[   35.017072]  ret_from_fork_asm+0x1a/0x30
[   35.017553] 
[   35.017799] kfence-#121: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   35.017799] 
[   35.018632] allocated by task 321 on cpu 1 at 35.010494s (0.008133s ago):
[   35.019284]  test_alloc+0x2a7/0x10d0
[   35.019586]  test_corruption+0xe7/0x3e0
[   35.019881]  kunit_try_run_case+0x1b3/0x490
[   35.020313]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   35.020949]  kthread+0x257/0x310
[   35.021192]  ret_from_fork+0x41/0x80
[   35.021588]  ret_from_fork_asm+0x1a/0x30
[   35.022165] 
[   35.022432] freed by task 321 on cpu 1 at 35.010583s (0.011844s ago):
[   35.022864]  test_corruption+0x132/0x3e0
[   35.023304]  kunit_try_run_case+0x1b3/0x490
[   35.023641]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   35.024060]  kthread+0x257/0x310
[   35.024506]  ret_from_fork+0x41/0x80
[   35.024843]  ret_from_fork_asm+0x1a/0x30
[   35.025118] 
[   35.025310] CPU: 1 UID: 0 PID: 321 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241122 #1
[   35.026428] Tainted: [B]=BAD_PAGE, [N]=TEST
[   35.026856] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   35.027493] ==================================================================
[   34.802960] ==================================================================
[   34.803522] BUG: KFENCE: memory corruption in test_corruption+0x2e1/0x3e0
[   34.803522] 
[   34.804144] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#119):
[   34.804773]  test_corruption+0x2e1/0x3e0
[   34.805195]  kunit_try_run_case+0x1b3/0x490
[   34.805529]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.806030]  kthread+0x257/0x310
[   34.806271]  ret_from_fork+0x41/0x80
[   34.806535]  ret_from_fork_asm+0x1a/0x30
[   34.806799] 
[   34.807122] kfence-#119: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   34.807122] 
[   34.807966] allocated by task 319 on cpu 1 at 34.802516s (0.005445s ago):
[   34.808641]  test_alloc+0x35f/0x10d0
[   34.809018]  test_corruption+0x1cc/0x3e0
[   34.809311]  kunit_try_run_case+0x1b3/0x490
[   34.809706]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.810063]  kthread+0x257/0x310
[   34.810332]  ret_from_fork+0x41/0x80
[   34.810728]  ret_from_fork_asm+0x1a/0x30
[   34.811169] 
[   34.811406] freed by task 319 on cpu 1 at 34.802678s (0.008723s ago):
[   34.812039]  test_corruption+0x2e1/0x3e0
[   34.812457]  kunit_try_run_case+0x1b3/0x490
[   34.812839]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.813188]  kthread+0x257/0x310
[   34.813443]  ret_from_fork+0x41/0x80
[   34.813709]  ret_from_fork_asm+0x1a/0x30
[   34.814182] 
[   34.814447] CPU: 1 UID: 0 PID: 319 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241122 #1
[   34.815627] Tainted: [B]=BAD_PAGE, [N]=TEST
[   34.816044] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   34.817011] ==================================================================
[   34.594919] ==================================================================
[   34.595540] BUG: KFENCE: memory corruption in test_corruption+0x2d4/0x3e0
[   34.595540] 
[   34.596176] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#117):
[   34.598115]  test_corruption+0x2d4/0x3e0
[   34.598463]  kunit_try_run_case+0x1b3/0x490
[   34.599042]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.599377]  kthread+0x257/0x310
[   34.599777]  ret_from_fork+0x41/0x80
[   34.600212]  ret_from_fork_asm+0x1a/0x30
[   34.600621] 
[   34.600777] kfence-#117: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   34.600777] 
[   34.601568] allocated by task 319 on cpu 1 at 34.594491s (0.007070s ago):
[   34.602173]  test_alloc+0x35f/0x10d0
[   34.602601]  test_corruption+0xe7/0x3e0
[   34.602966]  kunit_try_run_case+0x1b3/0x490
[   34.603247]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.603584]  kthread+0x257/0x310
[   34.603984]  ret_from_fork+0x41/0x80
[   34.604506]  ret_from_fork_asm+0x1a/0x30
[   34.604891] 
[   34.605046] freed by task 319 on cpu 1 at 34.594650s (0.010392s ago):
[   34.605614]  test_corruption+0x2d4/0x3e0
[   34.606056]  kunit_try_run_case+0x1b3/0x490
[   34.606553]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.607080]  kthread+0x257/0x310
[   34.607520]  ret_from_fork+0x41/0x80
[   34.607833]  ret_from_fork_asm+0x1a/0x30
[   34.608109] 
[   34.608303] CPU: 1 UID: 0 PID: 319 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241122 #1
[   34.609310] Tainted: [B]=BAD_PAGE, [N]=TEST
[   34.609742] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   34.610638] ==================================================================
[   35.322698] ==================================================================
[   35.323341] BUG: KFENCE: memory corruption in test_corruption+0x217/0x3e0
[   35.323341] 
[   35.324121] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#124):
[   35.324882]  test_corruption+0x217/0x3e0
[   35.325156]  kunit_try_run_case+0x1b3/0x490
[   35.325617]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   35.326168]  kthread+0x257/0x310
[   35.326566]  ret_from_fork+0x41/0x80
[   35.326861]  ret_from_fork_asm+0x1a/0x30
[   35.327161] 
[   35.327380] kfence-#124: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   35.327380] 
[   35.328352] allocated by task 321 on cpu 1 at 35.322490s (0.005857s ago):
[   35.328745]  test_alloc+0x2a7/0x10d0
[   35.329037]  test_corruption+0x1cc/0x3e0
[   35.329321]  kunit_try_run_case+0x1b3/0x490
[   35.329773]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   35.330380]  kthread+0x257/0x310
[   35.330758]  ret_from_fork+0x41/0x80
[   35.331180]  ret_from_fork_asm+0x1a/0x30
[   35.331578] 
[   35.331819] freed by task 321 on cpu 1 at 35.322576s (0.009220s ago):
[   35.332230]  test_corruption+0x217/0x3e0
[   35.332644]  kunit_try_run_case+0x1b3/0x490
[   35.333029]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   35.333349]  kthread+0x257/0x310
[   35.333579]  ret_from_fork+0x41/0x80
[   35.334018]  ret_from_fork_asm+0x1a/0x30
[   35.334433] 
[   35.334685] CPU: 1 UID: 0 PID: 321 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241122 #1
[   35.335539] Tainted: [B]=BAD_PAGE, [N]=TEST
[   35.335973] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   35.336658] ==================================================================