Date
Nov. 22, 2024, 6:35 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 41.105947] ================================================================== [ 41.106647] BUG: KFENCE: invalid free in test_double_free+0x100/0x238 [ 41.106647] [ 41.107263] Invalid free of 0x00000000e8a567ac (in kfence-#164): [ 41.109364] test_double_free+0x100/0x238 [ 41.110784] kunit_try_run_case+0x14c/0x3d0 [ 41.112084] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 41.113599] kthread+0x24c/0x2d0 [ 41.114836] ret_from_fork+0x10/0x20 [ 41.116020] [ 41.116695] kfence-#164: 0x00000000e8a567ac-0x00000000465e44d3, size=32, cache=test [ 41.116695] [ 41.117407] allocated by task 294 on cpu 0 at 41.105568s (0.011829s ago): [ 41.119606] test_alloc+0x22c/0x620 [ 41.120804] test_double_free+0xd4/0x238 [ 41.122016] kunit_try_run_case+0x14c/0x3d0 [ 41.123223] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 41.124101] kthread+0x24c/0x2d0 [ 41.124524] ret_from_fork+0x10/0x20 [ 41.124907] [ 41.125203] freed by task 294 on cpu 0 at 41.105671s (0.019524s ago): [ 41.126696] test_double_free+0xf0/0x238 [ 41.127364] kunit_try_run_case+0x14c/0x3d0 [ 41.128082] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 41.128997] kthread+0x24c/0x2d0 [ 41.129674] ret_from_fork+0x10/0x20 [ 41.130389] [ 41.130796] CPU: 0 UID: 0 PID: 294 Comm: kunit_try_catch Tainted: G B N 6.12.0-next-20241122 #1 [ 41.132204] Tainted: [B]=BAD_PAGE, [N]=TEST [ 41.132968] Hardware name: linux,dummy-virt (DT) [ 41.133728] ================================================================== [ 41.001925] ================================================================== [ 41.002913] BUG: KFENCE: invalid free in test_double_free+0x1bc/0x238 [ 41.002913] [ 41.003697] Invalid free of 0x0000000047a6a6e3 (in kfence-#163): [ 41.004790] test_double_free+0x1bc/0x238 [ 41.005523] kunit_try_run_case+0x14c/0x3d0 [ 41.006151] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 41.006994] kthread+0x24c/0x2d0 [ 41.007491] ret_from_fork+0x10/0x20 [ 41.008134] [ 41.008469] kfence-#163: 0x0000000047a6a6e3-0x0000000080348d2e, size=32, cache=kmalloc-32 [ 41.008469] [ 41.009821] allocated by task 292 on cpu 0 at 41.001487s (0.008324s ago): [ 41.010803] test_alloc+0x298/0x620 [ 41.011495] test_double_free+0xd4/0x238 [ 41.012238] kunit_try_run_case+0x14c/0x3d0 [ 41.012778] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 41.013681] kthread+0x24c/0x2d0 [ 41.014139] ret_from_fork+0x10/0x20 [ 41.014785] [ 41.015212] freed by task 292 on cpu 0 at 41.001609s (0.013593s ago): [ 41.016168] test_double_free+0x1ac/0x238 [ 41.016784] kunit_try_run_case+0x14c/0x3d0 [ 41.017495] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 41.018285] kthread+0x24c/0x2d0 [ 41.018743] ret_from_fork+0x10/0x20 [ 41.019401] [ 41.019842] CPU: 0 UID: 0 PID: 292 Comm: kunit_try_catch Tainted: G B N 6.12.0-next-20241122 #1 [ 41.021130] Tainted: [B]=BAD_PAGE, [N]=TEST [ 41.021712] Hardware name: linux,dummy-virt (DT) [ 41.022584] ==================================================================
[ 34.074794] ================================================================== [ 34.075480] BUG: KFENCE: invalid free in test_double_free+0x113/0x260 [ 34.075480] [ 34.076008] Invalid free of 0x(____ptrval____) (in kfence-#112): [ 34.076598] test_double_free+0x113/0x260 [ 34.076892] kunit_try_run_case+0x1b3/0x490 [ 34.077250] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 34.077861] kthread+0x257/0x310 [ 34.078241] ret_from_fork+0x41/0x80 [ 34.078664] ret_from_fork_asm+0x1a/0x30 [ 34.079114] [ 34.079281] kfence-#112: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test [ 34.079281] [ 34.079999] allocated by task 313 on cpu 0 at 34.074513s (0.005481s ago): [ 34.080717] test_alloc+0x2a7/0x10d0 [ 34.081084] test_double_free+0xdc/0x260 [ 34.081666] kunit_try_run_case+0x1b3/0x490 [ 34.082148] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 34.082567] kthread+0x257/0x310 [ 34.083001] ret_from_fork+0x41/0x80 [ 34.083503] ret_from_fork_asm+0x1a/0x30 [ 34.083837] [ 34.084037] freed by task 313 on cpu 0 at 34.074607s (0.009425s ago): [ 34.084538] test_double_free+0xfb/0x260 [ 34.085004] kunit_try_run_case+0x1b3/0x490 [ 34.085452] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 34.086063] kthread+0x257/0x310 [ 34.086487] ret_from_fork+0x41/0x80 [ 34.086912] ret_from_fork_asm+0x1a/0x30 [ 34.087351] [ 34.087602] CPU: 0 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G B N 6.12.0-next-20241122 #1 [ 34.088422] Tainted: [B]=BAD_PAGE, [N]=TEST [ 34.088753] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 34.089211] ================================================================== [ 33.970940] ================================================================== [ 33.971608] BUG: KFENCE: invalid free in test_double_free+0x1d5/0x260 [ 33.971608] [ 33.972055] Invalid free of 0x(____ptrval____) (in kfence-#111): [ 33.972489] test_double_free+0x1d5/0x260 [ 33.972896] kunit_try_run_case+0x1b3/0x490 [ 33.973252] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 33.973589] kthread+0x257/0x310 [ 33.973857] ret_from_fork+0x41/0x80 [ 33.974266] ret_from_fork_asm+0x1a/0x30 [ 33.974658] [ 33.974957] kfence-#111: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32 [ 33.974957] [ 33.975856] allocated by task 311 on cpu 0 at 33.970488s (0.005363s ago): [ 33.976239] test_alloc+0x35f/0x10d0 [ 33.976486] test_double_free+0xdc/0x260 [ 33.977070] kunit_try_run_case+0x1b3/0x490 [ 33.977510] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 33.978063] kthread+0x257/0x310 [ 33.978463] ret_from_fork+0x41/0x80 [ 33.978878] ret_from_fork_asm+0x1a/0x30 [ 33.979295] [ 33.979490] freed by task 311 on cpu 0 at 33.970606s (0.008880s ago): [ 33.979884] test_double_free+0x1e2/0x260 [ 33.980152] kunit_try_run_case+0x1b3/0x490 [ 33.980590] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 33.981121] kthread+0x257/0x310 [ 33.981591] ret_from_fork+0x41/0x80 [ 33.981963] ret_from_fork_asm+0x1a/0x30 [ 33.982225] [ 33.982491] CPU: 0 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G B N 6.12.0-next-20241122 #1 [ 33.983324] Tainted: [B]=BAD_PAGE, [N]=TEST [ 33.983683] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 33.984242] ==================================================================