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

Environment
qemu-arm64
qemu-x86_64

[   32.967729] ==================================================================
[   32.968470] BUG: KFENCE: invalid free in test_invalid_addr_free+0xec/0x238
[   32.968470] 
[   32.969253] Invalid free of 0x000000003c915777 (in kfence-#122):
[   32.970032]  test_invalid_addr_free+0xec/0x238
[   32.970625]  kunit_try_run_case+0x14c/0x3d0
[   32.971254]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   32.971864]  kthread+0x24c/0x2d0
[   32.972468]  ret_from_fork+0x10/0x20
[   32.973039] 
[   32.973367] kfence-#122: 0x000000004d84e5be-0x0000000029955738, size=32, cache=test
[   32.973367] 
[   32.974373] allocated by task 297 on cpu 0 at 32.967523s (0.006841s ago):
[   32.975316]  test_alloc+0x22c/0x620
[   32.975830]  test_invalid_addr_free+0xd4/0x238
[   32.976424]  kunit_try_run_case+0x14c/0x3d0
[   32.977123]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   32.977845]  kthread+0x24c/0x2d0
[   32.978300]  ret_from_fork+0x10/0x20
[   32.978872] 
[   32.979286] CPU: 0 UID: 0 PID: 297 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc2-next-20241209 #1
[   32.980294] Tainted: [B]=BAD_PAGE, [N]=TEST
[   32.980894] Hardware name: linux,dummy-virt (DT)
[   32.981477] ==================================================================
[   32.863880] ==================================================================
[   32.864557] BUG: KFENCE: invalid free in test_invalid_addr_free+0x1ac/0x238
[   32.864557] 
[   32.865410] Invalid free of 0x0000000048bcf881 (in kfence-#121):
[   32.866145]  test_invalid_addr_free+0x1ac/0x238
[   32.866728]  kunit_try_run_case+0x14c/0x3d0
[   32.867540]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   32.868276]  kthread+0x24c/0x2d0
[   32.868781]  ret_from_fork+0x10/0x20
[   32.869413] 
[   32.869772] kfence-#121: 0x00000000c21b7c10-0x00000000e30d5b65, size=32, cache=kmalloc-32
[   32.869772] 
[   32.870917] allocated by task 295 on cpu 1 at 32.863511s (0.007396s ago):
[   32.871870]  test_alloc+0x298/0x620
[   32.872493]  test_invalid_addr_free+0xd4/0x238
[   32.873214]  kunit_try_run_case+0x14c/0x3d0
[   32.873854]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   32.874647]  kthread+0x24c/0x2d0
[   32.875191]  ret_from_fork+0x10/0x20
[   32.875772] 
[   32.876174] CPU: 1 UID: 0 PID: 295 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc2-next-20241209 #1
[   32.877299] Tainted: [B]=BAD_PAGE, [N]=TEST
[   32.877911] Hardware name: linux,dummy-virt (DT)
[   32.878553] ==================================================================

[   34.404941] ==================================================================
[   34.405745] BUG: KFENCE: invalid free in test_invalid_addr_free+0xfc/0x260
[   34.405745] 
[   34.406438] Invalid free of 0x(____ptrval____) (in kfence-#115):
[   34.406893]  test_invalid_addr_free+0xfc/0x260
[   34.407421]  kunit_try_run_case+0x1b3/0x490
[   34.407953]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.408412]  kthread+0x257/0x310
[   34.408871]  ret_from_fork+0x41/0x80
[   34.409177]  ret_from_fork_asm+0x1a/0x30
[   34.409688] 
[   34.409854] kfence-#115: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   34.409854] 
[   34.410816] allocated by task 316 on cpu 0 at 34.404767s (0.006044s ago):
[   34.411494]  test_alloc+0x2a7/0x10d0
[   34.411860]  test_invalid_addr_free+0xdc/0x260
[   34.412424]  kunit_try_run_case+0x1b3/0x490
[   34.412809]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.413181]  kthread+0x257/0x310
[   34.413487]  ret_from_fork+0x41/0x80
[   34.413774]  ret_from_fork_asm+0x1a/0x30
[   34.414289] 
[   34.414605] CPU: 0 UID: 0 PID: 316 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc2-next-20241209 #1
[   34.415837] Tainted: [B]=BAD_PAGE, [N]=TEST
[   34.416354] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   34.417010] ==================================================================
[   34.300866] ==================================================================
[   34.301639] BUG: KFENCE: invalid free in test_invalid_addr_free+0x1e3/0x260
[   34.301639] 
[   34.302477] Invalid free of 0x(____ptrval____) (in kfence-#114):
[   34.303499]  test_invalid_addr_free+0x1e3/0x260
[   34.304427]  kunit_try_run_case+0x1b3/0x490
[   34.304964]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.305600]  kthread+0x257/0x310
[   34.305998]  ret_from_fork+0x41/0x80
[   34.306312]  ret_from_fork_asm+0x1a/0x30
[   34.306847] 
[   34.307303] kfence-#114: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   34.307303] 
[   34.308343] allocated by task 314 on cpu 0 at 34.300678s (0.007660s ago):
[   34.308800]  test_alloc+0x35f/0x10d0
[   34.309414]  test_invalid_addr_free+0xdc/0x260
[   34.309968]  kunit_try_run_case+0x1b3/0x490
[   34.310602]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.311236]  kthread+0x257/0x310
[   34.311760]  ret_from_fork+0x41/0x80
[   34.312168]  ret_from_fork_asm+0x1a/0x30
[   34.312707] 
[   34.312919] CPU: 0 UID: 0 PID: 314 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc2-next-20241209 #1
[   34.314100] Tainted: [B]=BAD_PAGE, [N]=TEST
[   34.314715] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   34.315554] ==================================================================