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

Environment
qemu-arm64
qemu-x86_64

[   39.229363] ==================================================================
[   39.230312] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   39.230312] 
[   39.231083] Out-of-bounds write at 0x000000003c0fa943 (1B left of kfence-#151):
[   39.231995]  test_out_of_bounds_write+0x100/0x240
[   39.232781]  test_out_of_bounds_write+0xc8/0x240
[   39.233522]  kunit_try_run_case+0x14c/0x3d0
[   39.234247]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.235093]  kthread+0x24c/0x2d0
[   39.235709]  ret_from_fork+0x10/0x20
[   39.236406] 
[   39.236809] kfence-#151: 0x0000000033e57af8-0x0000000074fbd6fb, size=32, cache=test
[   39.236809] 
[   39.238074] allocated by task 282 on cpu 0 at 39.229196s (0.008866s ago):
[   39.239066]  test_alloc+0x22c/0x620
[   39.239697]  test_out_of_bounds_write+0xc8/0x240
[   39.240479]  kunit_try_run_case+0x14c/0x3d0
[   39.241214]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.242093]  kthread+0x24c/0x2d0
[   39.242714]  ret_from_fork+0x10/0x20
[   39.243382] 
[   39.243800] CPU: 0 UID: 0 PID: 282 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241126 #1
[   39.245057] Tainted: [B]=BAD_PAGE, [N]=TEST
[   39.245619] Hardware name: linux,dummy-virt (DT)
[   39.246223] ==================================================================
[   39.125441] ==================================================================
[   39.126216] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   39.126216] 
[   39.126965] Out-of-bounds write at 0x000000007ee26111 (1B left of kfence-#150):
[   39.127855]  test_out_of_bounds_write+0x100/0x240
[   39.129033]  test_out_of_bounds_write+0xc8/0x240
[   39.129563]  kunit_try_run_case+0x14c/0x3d0
[   39.130250]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.130940]  kthread+0x24c/0x2d0
[   39.131467]  ret_from_fork+0x10/0x20
[   39.132097] 
[   39.132447] kfence-#150: 0x00000000cf681eef-0x000000004eda05ed, size=32, cache=kmalloc-32
[   39.132447] 
[   39.133412] allocated by task 280 on cpu 0 at 39.125127s (0.008274s ago):
[   39.134214]  test_alloc+0x298/0x620
[   39.134809]  test_out_of_bounds_write+0xc8/0x240
[   39.135475]  kunit_try_run_case+0x14c/0x3d0
[   39.136138]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.136917]  kthread+0x24c/0x2d0
[   39.137411]  ret_from_fork+0x10/0x20
[   39.138026] 
[   39.138436] CPU: 0 UID: 0 PID: 280 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241126 #1
[   39.139613] Tainted: [B]=BAD_PAGE, [N]=TEST
[   39.140234] Hardware name: linux,dummy-virt (DT)
[   39.140832] ==================================================================

[   40.114838] ==================================================================
[   40.115908] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   40.115908] 
[   40.116907] Out-of-bounds write at 0x000000000b80381b (1B left of kfence-#144):
[   40.118052]  test_out_of_bounds_write+0x100/0x240
[   40.118827]  test_out_of_bounds_write+0xc8/0x240
[   40.119621]  kunit_try_run_case+0x14c/0x3d0
[   40.120392]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.121288]  kthread+0x24c/0x2d0
[   40.121993]  ret_from_fork+0x10/0x20
[   40.122702] 
[   40.122964] kfence-#144: 0x000000000d003ecb-0x0000000003cfdcc6, size=32, cache=kmalloc-32
[   40.122964] 
[   40.124049] allocated by task 280 on cpu 0 at 40.114557s (0.009480s ago):
[   40.125031]  test_alloc+0x298/0x620
[   40.125572]  test_out_of_bounds_write+0xc8/0x240
[   40.126275]  kunit_try_run_case+0x14c/0x3d0
[   40.126843]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.127636]  kthread+0x24c/0x2d0
[   40.128110]  ret_from_fork+0x10/0x20
[   40.128756] 
[   40.129170] CPU: 0 UID: 0 PID: 280 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241126 #1
[   40.130134] Tainted: [B]=BAD_PAGE, [N]=TEST
[   40.130788] Hardware name: linux,dummy-virt (DT)
[   40.131481] ==================================================================
[   40.322815] ==================================================================
[   40.323773] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   40.323773] 
[   40.324731] Out-of-bounds write at 0x000000001f3c44b5 (1B left of kfence-#146):
[   40.325459]  test_out_of_bounds_write+0x100/0x240
[   40.326332]  test_out_of_bounds_write+0xc8/0x240
[   40.327151]  kunit_try_run_case+0x14c/0x3d0
[   40.327982]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.328875]  kthread+0x24c/0x2d0
[   40.329644]  ret_from_fork+0x10/0x20
[   40.330213] 
[   40.330581] kfence-#146: 0x0000000003942c9a-0x000000008b74aa0a, size=32, cache=test
[   40.330581] 
[   40.331521] allocated by task 282 on cpu 0 at 40.322640s (0.008869s ago):
[   40.332476]  test_alloc+0x22c/0x620
[   40.332969]  test_out_of_bounds_write+0xc8/0x240
[   40.333687]  kunit_try_run_case+0x14c/0x3d0
[   40.334362]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.335177]  kthread+0x24c/0x2d0
[   40.335790]  ret_from_fork+0x10/0x20
[   40.336423] 
[   40.336827] CPU: 0 UID: 0 PID: 282 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241126 #1
[   40.337884] Tainted: [B]=BAD_PAGE, [N]=TEST
[   40.338452] Hardware name: linux,dummy-virt (DT)
[   40.338987] ==================================================================

[   33.816831] ==================================================================
[   33.817122] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10e/0x260
[   33.817122] 
[   33.817122] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#105):
[   33.817122]  test_out_of_bounds_write+0x10e/0x260
[   33.817122]  kunit_try_run_case+0x1b3/0x490
[   33.817122]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.817122]  kthread+0x257/0x310
[   33.817122]  ret_from_fork+0x41/0x80
[   33.817122]  ret_from_fork_asm+0x1a/0x30
[   33.817122] 
[   33.817122] kfence-#105: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   33.817122] 
[   33.817122] allocated by task 302 on cpu 1 at 33.816740s (0.000381s ago):
[   33.817122]  test_alloc+0x2a7/0x10d0
[   33.817122]  test_out_of_bounds_write+0xd5/0x260
[   33.817122]  kunit_try_run_case+0x1b3/0x490
[   33.817122]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.817122]  kthread+0x257/0x310
[   33.817122]  ret_from_fork+0x41/0x80
[   33.817122]  ret_from_fork_asm+0x1a/0x30
[   33.817122] 
[   33.817122] CPU: 1 UID: 0 PID: 302 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241126 #1
[   33.817122] Tainted: [B]=BAD_PAGE, [N]=TEST
[   33.817122] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   33.817122] ==================================================================
[   33.712942] ==================================================================
[   33.713121] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10e/0x260
[   33.713121] 
[   33.713121] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#104):
[   33.713121]  test_out_of_bounds_write+0x10e/0x260
[   33.713121]  kunit_try_run_case+0x1b3/0x490
[   33.713121]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.713121]  kthread+0x257/0x310
[   33.713121]  ret_from_fork+0x41/0x80
[   33.713121]  ret_from_fork_asm+0x1a/0x30
[   33.713121] 
[   33.713121] kfence-#104: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   33.713121] 
[   33.713121] allocated by task 300 on cpu 0 at 33.712734s (0.000387s ago):
[   33.713121]  test_alloc+0x35f/0x10d0
[   33.713121]  test_out_of_bounds_write+0xd5/0x260
[   33.713121]  kunit_try_run_case+0x1b3/0x490
[   33.713121]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.713121]  kthread+0x257/0x310
[   33.713121]  ret_from_fork+0x41/0x80
[   33.713121]  ret_from_fork_asm+0x1a/0x30
[   33.713121] 
[   33.713121] CPU: 0 UID: 0 PID: 300 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241126 #1
[   33.713121] Tainted: [B]=BAD_PAGE, [N]=TEST
[   33.713121] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   33.713121] ==================================================================

[   29.254002] ==================================================================
[   29.254466] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10e/0x260
[   29.254466] 
[   29.255231] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#113):
[   29.255653]  test_out_of_bounds_write+0x10e/0x260
[   29.256401]  kunit_try_run_case+0x1b3/0x490
[   29.257281]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.257671]  kthread+0x257/0x310
[   29.258261]  ret_from_fork+0x41/0x80
[   29.258754]  ret_from_fork_asm+0x1a/0x30
[   29.259527] 
[   29.259841] kfence-#113: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   29.259841] 
[   29.260408] allocated by task 298 on cpu 0 at 29.253796s (0.006606s ago):
[   29.260927]  test_alloc+0x35f/0x10d0
[   29.261345]  test_out_of_bounds_write+0xd5/0x260
[   29.261793]  kunit_try_run_case+0x1b3/0x490
[   29.262238]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.262635]  kthread+0x257/0x310
[   29.263021]  ret_from_fork+0x41/0x80
[   29.263411]  ret_from_fork_asm+0x1a/0x30
[   29.263922] 
[   29.264195] CPU: 0 UID: 0 PID: 298 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241126 #1
[   29.264908] Tainted: [B]=BAD_PAGE, [N]=TEST
[   29.265335] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   29.266029] ==================================================================
[   29.461646] ==================================================================
[   29.462413] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10e/0x260
[   29.462413] 
[   29.463160] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#115):
[   29.463586]  test_out_of_bounds_write+0x10e/0x260
[   29.464727]  kunit_try_run_case+0x1b3/0x490
[   29.465240]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.465901]  kthread+0x257/0x310
[   29.466318]  ret_from_fork+0x41/0x80
[   29.466667]  ret_from_fork_asm+0x1a/0x30
[   29.467114] 
[   29.467348] kfence-#115: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   29.467348] 
[   29.468023] allocated by task 300 on cpu 1 at 29.461548s (0.006470s ago):
[   29.468782]  test_alloc+0x2a7/0x10d0
[   29.469046]  test_out_of_bounds_write+0xd5/0x260
[   29.469338]  kunit_try_run_case+0x1b3/0x490
[   29.469794]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.470459]  kthread+0x257/0x310
[   29.471012]  ret_from_fork+0x41/0x80
[   29.471507]  ret_from_fork_asm+0x1a/0x30
[   29.471947] 
[   29.472147] CPU: 1 UID: 0 PID: 300 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241126 #1
[   29.472926] Tainted: [B]=BAD_PAGE, [N]=TEST
[   29.473431] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   29.474345] ==================================================================