Hay
Date
Nov. 26, 2024, 6:09 a.m.

Environment
qemu-arm64
qemu-x86_64

[   40.061383] ==================================================================
[   40.062319] BUG: KFENCE: invalid free in test_invalid_addr_free+0xec/0x238
[   40.062319] 
[   40.063150] Invalid free of 0x0000000003eb9b62 (in kfence-#159):
[   40.063964]  test_invalid_addr_free+0xec/0x238
[   40.064669]  kunit_try_run_case+0x14c/0x3d0
[   40.065548]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.066138]  kthread+0x24c/0x2d0
[   40.066736]  ret_from_fork+0x10/0x20
[   40.067411] 
[   40.067833] kfence-#159: 0x000000006e21bdc4-0x00000000d5830d37, size=32, cache=test
[   40.067833] 
[   40.068959] allocated by task 298 on cpu 1 at 40.061181s (0.007766s ago):
[   40.069728]  test_alloc+0x22c/0x620
[   40.070258]  test_invalid_addr_free+0xd4/0x238
[   40.070995]  kunit_try_run_case+0x14c/0x3d0
[   40.071654]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.072470]  kthread+0x24c/0x2d0
[   40.073100]  ret_from_fork+0x10/0x20
[   40.073575] 
[   40.074038] CPU: 1 UID: 0 PID: 298 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241126 #1
[   40.075156] Tainted: [B]=BAD_PAGE, [N]=TEST
[   40.075773] Hardware name: linux,dummy-virt (DT)
[   40.076379] ==================================================================
[   39.957449] ==================================================================
[   39.958268] BUG: KFENCE: invalid free in test_invalid_addr_free+0x1ac/0x238
[   39.958268] 
[   39.959141] Invalid free of 0x0000000008e2445d (in kfence-#158):
[   39.959943]  test_invalid_addr_free+0x1ac/0x238
[   39.960646]  kunit_try_run_case+0x14c/0x3d0
[   39.961268]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.962129]  kthread+0x24c/0x2d0
[   39.962679]  ret_from_fork+0x10/0x20
[   39.963299] 
[   39.963718] kfence-#158: 0x000000002de572f9-0x00000000b1c10250, size=32, cache=kmalloc-32
[   39.963718] 
[   39.964887] allocated by task 296 on cpu 1 at 39.957200s (0.007674s ago):
[   39.965756]  test_alloc+0x298/0x620
[   39.966437]  test_invalid_addr_free+0xd4/0x238
[   39.967077]  kunit_try_run_case+0x14c/0x3d0
[   39.967750]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.968461]  kthread+0x24c/0x2d0
[   39.968936]  ret_from_fork+0x10/0x20
[   39.969523] 
[   39.969957] CPU: 1 UID: 0 PID: 296 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241126 #1
[   39.971193] Tainted: [B]=BAD_PAGE, [N]=TEST
[   39.971778] Hardware name: linux,dummy-virt (DT)
[   39.972418] ==================================================================

[   41.154551] ==================================================================
[   41.155333] BUG: KFENCE: invalid free in test_invalid_addr_free+0xec/0x238
[   41.155333] 
[   41.156381] Invalid free of 0x00000000c8c39cf8 (in kfence-#154):
[   41.157229]  test_invalid_addr_free+0xec/0x238
[   41.158337]  kunit_try_run_case+0x14c/0x3d0
[   41.158969]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.159667]  kthread+0x24c/0x2d0
[   41.160272]  ret_from_fork+0x10/0x20
[   41.160933] 
[   41.161340] kfence-#154: 0x0000000083af2e1f-0x00000000d65ddd59, size=32, cache=test
[   41.161340] 
[   41.162413] allocated by task 298 on cpu 0 at 41.154347s (0.008055s ago):
[   41.163343]  test_alloc+0x22c/0x620
[   41.163966]  test_invalid_addr_free+0xd4/0x238
[   41.164676]  kunit_try_run_case+0x14c/0x3d0
[   41.165277]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.165999]  kthread+0x24c/0x2d0
[   41.166609]  ret_from_fork+0x10/0x20
[   41.167212] 
[   41.167655] CPU: 0 UID: 0 PID: 298 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241126 #1
[   41.168753] Tainted: [B]=BAD_PAGE, [N]=TEST
[   41.169297] Hardware name: linux,dummy-virt (DT)
[   41.169998] ==================================================================
[   41.050484] ==================================================================
[   41.051273] BUG: KFENCE: invalid free in test_invalid_addr_free+0x1ac/0x238
[   41.051273] 
[   41.052120] Invalid free of 0x0000000008804196 (in kfence-#153):
[   41.052950]  test_invalid_addr_free+0x1ac/0x238
[   41.053636]  kunit_try_run_case+0x14c/0x3d0
[   41.054222]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.054879]  kthread+0x24c/0x2d0
[   41.055467]  ret_from_fork+0x10/0x20
[   41.056144] 
[   41.056563] kfence-#153: 0x000000008254bcc0-0x00000000feda542f, size=32, cache=kmalloc-32
[   41.056563] 
[   41.057599] allocated by task 296 on cpu 1 at 41.050274s (0.007313s ago):
[   41.058550]  test_alloc+0x298/0x620
[   41.059097]  test_invalid_addr_free+0xd4/0x238
[   41.059732]  kunit_try_run_case+0x14c/0x3d0
[   41.060422]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.061232]  kthread+0x24c/0x2d0
[   41.061743]  ret_from_fork+0x10/0x20
[   41.062362] 
[   41.062742] CPU: 1 UID: 0 PID: 296 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241126 #1
[   41.063882] Tainted: [B]=BAD_PAGE, [N]=TEST
[   41.064428] Hardware name: linux,dummy-virt (DT)
[   41.065140] ==================================================================

[   34.544928] ==================================================================
[   34.545123] BUG: KFENCE: invalid free in test_invalid_addr_free+0x1e3/0x260
[   34.545123] 
[   34.545123] Invalid free of 0x(____ptrval____) (in kfence-#112):
[   34.545123]  test_invalid_addr_free+0x1e3/0x260
[   34.545123]  kunit_try_run_case+0x1b3/0x490
[   34.545123]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.545123]  kthread+0x257/0x310
[   34.545123]  ret_from_fork+0x41/0x80
[   34.545123]  ret_from_fork_asm+0x1a/0x30
[   34.545123] 
[   34.545123] kfence-#112: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   34.545123] 
[   34.545123] allocated by task 316 on cpu 0 at 34.544720s (0.000403s ago):
[   34.545123]  test_alloc+0x35f/0x10d0
[   34.545123]  test_invalid_addr_free+0xdc/0x260
[   34.545123]  kunit_try_run_case+0x1b3/0x490
[   34.545123]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.545123]  kthread+0x257/0x310
[   34.545123]  ret_from_fork+0x41/0x80
[   34.545123]  ret_from_fork_asm+0x1a/0x30
[   34.545123] 
[   34.545123] CPU: 0 UID: 0 PID: 316 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241126 #1
[   34.545123] Tainted: [B]=BAD_PAGE, [N]=TEST
[   34.545123] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   34.545123] ==================================================================
[   34.648919] ==================================================================
[   34.649125] BUG: KFENCE: invalid free in test_invalid_addr_free+0xfc/0x260
[   34.649125] 
[   34.649125] Invalid free of 0x(____ptrval____) (in kfence-#113):
[   34.649125]  test_invalid_addr_free+0xfc/0x260
[   34.649125]  kunit_try_run_case+0x1b3/0x490
[   34.649125]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.649125]  kthread+0x257/0x310
[   34.649125]  ret_from_fork+0x41/0x80
[   34.649125]  ret_from_fork_asm+0x1a/0x30
[   34.649125] 
[   34.649125] kfence-#113: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   34.649125] 
[   34.649125] allocated by task 318 on cpu 1 at 34.648740s (0.000385s ago):
[   34.649125]  test_alloc+0x2a7/0x10d0
[   34.649125]  test_invalid_addr_free+0xdc/0x260
[   34.649125]  kunit_try_run_case+0x1b3/0x490
[   34.649125]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.649125]  kthread+0x257/0x310
[   34.649125]  ret_from_fork+0x41/0x80
[   34.649125]  ret_from_fork_asm+0x1a/0x30
[   34.649125] 
[   34.649125] CPU: 1 UID: 0 PID: 318 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241126 #1
[   34.649125] Tainted: [B]=BAD_PAGE, [N]=TEST
[   34.649125] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   34.649125] ==================================================================

[   30.189570] ==================================================================
[   30.190247] BUG: KFENCE: invalid free in test_invalid_addr_free+0x1e3/0x260
[   30.190247] 
[   30.190960] Invalid free of 0x(____ptrval____) (in kfence-#122):
[   30.191303]  test_invalid_addr_free+0x1e3/0x260
[   30.191793]  kunit_try_run_case+0x1b3/0x490
[   30.192327]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.193079]  kthread+0x257/0x310
[   30.193343]  ret_from_fork+0x41/0x80
[   30.193648]  ret_from_fork_asm+0x1a/0x30
[   30.194182] 
[   30.194472] kfence-#122: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   30.194472] 
[   30.195172] allocated by task 314 on cpu 0 at 30.189384s (0.005782s ago):
[   30.195629]  test_alloc+0x35f/0x10d0
[   30.196119]  test_invalid_addr_free+0xdc/0x260
[   30.196731]  kunit_try_run_case+0x1b3/0x490
[   30.197196]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.197616]  kthread+0x257/0x310
[   30.197875]  ret_from_fork+0x41/0x80
[   30.198341]  ret_from_fork_asm+0x1a/0x30
[   30.198814] 
[   30.199073] CPU: 0 UID: 0 PID: 314 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241126 #1
[   30.200359] Tainted: [B]=BAD_PAGE, [N]=TEST
[   30.200977] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   30.201722] ==================================================================
[   30.293472] ==================================================================
[   30.294113] BUG: KFENCE: invalid free in test_invalid_addr_free+0xfc/0x260
[   30.294113] 
[   30.294667] Invalid free of 0x(____ptrval____) (in kfence-#123):
[   30.295429]  test_invalid_addr_free+0xfc/0x260
[   30.295820]  kunit_try_run_case+0x1b3/0x490
[   30.296247]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.296825]  kthread+0x257/0x310
[   30.297136]  ret_from_fork+0x41/0x80
[   30.297563]  ret_from_fork_asm+0x1a/0x30
[   30.297958] 
[   30.298192] kfence-#123: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   30.298192] 
[   30.298891] allocated by task 316 on cpu 0 at 30.293364s (0.005521s ago):
[   30.299281]  test_alloc+0x2a7/0x10d0
[   30.299639]  test_invalid_addr_free+0xdc/0x260
[   30.300108]  kunit_try_run_case+0x1b3/0x490
[   30.300580]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.301047]  kthread+0x257/0x310
[   30.301414]  ret_from_fork+0x41/0x80
[   30.301836]  ret_from_fork_asm+0x1a/0x30
[   30.302261] 
[   30.302511] CPU: 0 UID: 0 PID: 316 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241126 #1
[   30.303255] Tainted: [B]=BAD_PAGE, [N]=TEST
[   30.303566] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   30.304150] ==================================================================