Hay
Date
Dec. 6, 2024, 3:11 p.m.

Environment
qemu-arm64
qemu-x86_64

[   41.415355] ==================================================================
[   41.416036] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   41.416036] 
[   41.416875] Corrupted memory at 0x0000000009f227a1 [ ! . . . . . . . . . . . . . . . ] (in kfence-#168):
[   41.419600]  test_corruption+0x120/0x378
[   41.420178]  kunit_try_run_case+0x14c/0x3d0
[   41.420859]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.421609]  kthread+0x24c/0x2d0
[   41.422204]  ret_from_fork+0x10/0x20
[   41.422799] 
[   41.423188] kfence-#168: 0x00000000928b8394-0x00000000476e3f3e, size=32, cache=test
[   41.423188] 
[   41.424090] allocated by task 302 on cpu 0 at 41.415081s (0.008997s ago):
[   41.425011]  test_alloc+0x22c/0x620
[   41.425506]  test_corruption+0xdc/0x378
[   41.426029]  kunit_try_run_case+0x14c/0x3d0
[   41.426699]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.427320]  kthread+0x24c/0x2d0
[   41.427894]  ret_from_fork+0x10/0x20
[   41.428364] 
[   41.428750] freed by task 302 on cpu 0 at 41.415187s (0.013550s ago):
[   41.429529]  test_corruption+0x120/0x378
[   41.430161]  kunit_try_run_case+0x14c/0x3d0
[   41.430848]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.431611]  kthread+0x24c/0x2d0
[   41.432172]  ret_from_fork+0x10/0x20
[   41.432673] 
[   41.433086] CPU: 0 UID: 0 PID: 302 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241206 #1
[   41.434309] Tainted: [B]=BAD_PAGE, [N]=TEST
[   41.434838] Hardware name: linux,dummy-virt (DT)
[   41.435476] ==================================================================
[   41.103615] ==================================================================
[   41.104353] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   41.104353] 
[   41.105162] Corrupted memory at 0x00000000712da544 [ ! ] (in kfence-#165):
[   41.106454]  test_corruption+0x284/0x378
[   41.107090]  kunit_try_run_case+0x14c/0x3d0
[   41.107718]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.108469]  kthread+0x24c/0x2d0
[   41.109063]  ret_from_fork+0x10/0x20
[   41.109583] 
[   41.109930] kfence-#165: 0x000000004de98b11-0x000000002bdcccf8, size=32, cache=kmalloc-32
[   41.109930] 
[   41.111045] allocated by task 300 on cpu 0 at 41.103077s (0.007956s ago):
[   41.111733]  test_alloc+0x298/0x620
[   41.112306]  test_corruption+0x198/0x378
[   41.112950]  kunit_try_run_case+0x14c/0x3d0
[   41.113634]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.114230]  kthread+0x24c/0x2d0
[   41.114832]  ret_from_fork+0x10/0x20
[   41.115427] 
[   41.115852] freed by task 300 on cpu 0 at 41.103246s (0.012593s ago):
[   41.116650]  test_corruption+0x284/0x378
[   41.117241]  kunit_try_run_case+0x14c/0x3d0
[   41.117905]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.118679]  kthread+0x24c/0x2d0
[   41.119184]  ret_from_fork+0x10/0x20
[   41.119801] 
[   41.120151] CPU: 0 UID: 0 PID: 300 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241206 #1
[   41.121227] Tainted: [B]=BAD_PAGE, [N]=TEST
[   41.121760] Hardware name: linux,dummy-virt (DT)
[   41.122423] ==================================================================
[   40.895608] ==================================================================
[   40.896445] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   40.896445] 
[   40.897334] Corrupted memory at 0x00000000e48ee75d [ ! . . . . . . . . . . . . . . . ] (in kfence-#163):
[   40.901391]  test_corruption+0x278/0x378
[   40.902046]  kunit_try_run_case+0x14c/0x3d0
[   40.902642]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.903353]  kthread+0x24c/0x2d0
[   40.903953]  ret_from_fork+0x10/0x20
[   40.904481] 
[   40.904876] kfence-#163: 0x00000000f14d94c7-0x00000000ba9d7e53, size=32, cache=kmalloc-32
[   40.904876] 
[   40.905969] allocated by task 300 on cpu 0 at 40.895052s (0.010905s ago):
[   40.906714]  test_alloc+0x298/0x620
[   40.907312]  test_corruption+0xdc/0x378
[   40.907838]  kunit_try_run_case+0x14c/0x3d0
[   40.908453]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.909188]  kthread+0x24c/0x2d0
[   40.909776]  ret_from_fork+0x10/0x20
[   40.910298] 
[   40.910684] freed by task 300 on cpu 0 at 40.895219s (0.015452s ago):
[   40.911434]  test_corruption+0x278/0x378
[   40.912001]  kunit_try_run_case+0x14c/0x3d0
[   40.912661]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.913427]  kthread+0x24c/0x2d0
[   40.914025]  ret_from_fork+0x10/0x20
[   40.914562] 
[   40.914916] CPU: 0 UID: 0 PID: 300 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241206 #1
[   40.915993] Tainted: [B]=BAD_PAGE, [N]=TEST
[   40.916547] Hardware name: linux,dummy-virt (DT)
[   40.917115] ==================================================================
[   41.623244] ==================================================================
[   41.624040] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   41.624040] 
[   41.624785] Corrupted memory at 0x000000008a6f21bb [ ! ] (in kfence-#170):
[   41.625957]  test_corruption+0x1d8/0x378
[   41.626548]  kunit_try_run_case+0x14c/0x3d0
[   41.627225]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.627788]  kthread+0x24c/0x2d0
[   41.628372]  ret_from_fork+0x10/0x20
[   41.628977] 
[   41.629340] kfence-#170: 0x0000000074b34bb6-0x00000000c08be4ed, size=32, cache=test
[   41.629340] 
[   41.630344] allocated by task 302 on cpu 0 at 41.622972s (0.007361s ago):
[   41.631284]  test_alloc+0x22c/0x620
[   41.631853]  test_corruption+0x198/0x378
[   41.632400]  kunit_try_run_case+0x14c/0x3d0
[   41.633007]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.633588]  kthread+0x24c/0x2d0
[   41.634161]  ret_from_fork+0x10/0x20
[   41.634787] 
[   41.635176] freed by task 302 on cpu 0 at 41.623068s (0.012095s ago):
[   41.635992]  test_corruption+0x1d8/0x378
[   41.636640]  kunit_try_run_case+0x14c/0x3d0
[   41.637305]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.637973]  kthread+0x24c/0x2d0
[   41.638458]  ret_from_fork+0x10/0x20
[   41.639085] 
[   41.639493] CPU: 0 UID: 0 PID: 302 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241206 #1
[   41.640587] Tainted: [B]=BAD_PAGE, [N]=TEST
[   41.641189] Hardware name: linux,dummy-virt (DT)
[   41.641838] ==================================================================

[   34.595370] ==================================================================
[   34.596296] BUG: KFENCE: memory corruption in test_corruption+0x132/0x3e0
[   34.596296] 
[   34.597005] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#123):
[   34.599206]  test_corruption+0x132/0x3e0
[   34.599957]  kunit_try_run_case+0x1b3/0x490
[   34.600719]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.601397]  kthread+0x257/0x310
[   34.601792]  ret_from_fork+0x41/0x80
[   34.602250]  ret_from_fork_asm+0x1a/0x30
[   34.602554] 
[   34.602949] kfence-#123: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   34.602949] 
[   34.604360] allocated by task 321 on cpu 1 at 34.595171s (0.009181s ago):
[   34.605580]  test_alloc+0x2a7/0x10d0
[   34.606077]  test_corruption+0xe7/0x3e0
[   34.607097]  kunit_try_run_case+0x1b3/0x490
[   34.607680]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.608806]  kthread+0x257/0x310
[   34.609123]  ret_from_fork+0x41/0x80
[   34.609841]  ret_from_fork_asm+0x1a/0x30
[   34.610350] 
[   34.610568] freed by task 321 on cpu 1 at 34.595258s (0.015306s ago):
[   34.611569]  test_corruption+0x132/0x3e0
[   34.612365]  kunit_try_run_case+0x1b3/0x490
[   34.612852]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.613822]  kthread+0x257/0x310
[   34.614041]  ret_from_fork+0x41/0x80
[   34.614312]  ret_from_fork_asm+0x1a/0x30
[   34.615481] 
[   34.615704] CPU: 1 UID: 0 PID: 321 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241206 #1
[   34.617191] Tainted: [B]=BAD_PAGE, [N]=TEST
[   34.617694] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   34.618880] ==================================================================
[   34.387416] ==================================================================
[   34.388058] BUG: KFENCE: memory corruption in test_corruption+0x2d4/0x3e0
[   34.388058] 
[   34.389096] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#121):
[   34.391468]  test_corruption+0x2d4/0x3e0
[   34.391828]  kunit_try_run_case+0x1b3/0x490
[   34.392821]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.393517]  kthread+0x257/0x310
[   34.393902]  ret_from_fork+0x41/0x80
[   34.394175]  ret_from_fork_asm+0x1a/0x30
[   34.394615] 
[   34.394823] kfence-#121: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   34.394823] 
[   34.396768] allocated by task 319 on cpu 0 at 34.387181s (0.009580s ago):
[   34.398101]  test_alloc+0x35f/0x10d0
[   34.398545]  test_corruption+0xe7/0x3e0
[   34.398991]  kunit_try_run_case+0x1b3/0x490
[   34.399630]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.401035]  kthread+0x257/0x310
[   34.401449]  ret_from_fork+0x41/0x80
[   34.401963]  ret_from_fork_asm+0x1a/0x30
[   34.402470] 
[   34.402639] freed by task 319 on cpu 0 at 34.387309s (0.015327s ago):
[   34.403624]  test_corruption+0x2d4/0x3e0
[   34.404079]  kunit_try_run_case+0x1b3/0x490
[   34.404715]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.405724]  kthread+0x257/0x310
[   34.406214]  ret_from_fork+0x41/0x80
[   34.406717]  ret_from_fork_asm+0x1a/0x30
[   34.407117] 
[   34.407433] CPU: 0 UID: 0 PID: 319 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241206 #1
[   34.408439] Tainted: [B]=BAD_PAGE, [N]=TEST
[   34.408740] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   34.410051] ==================================================================
[   34.803318] ==================================================================
[   34.804038] BUG: KFENCE: memory corruption in test_corruption+0x217/0x3e0
[   34.804038] 
[   34.804638] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#125):
[   34.805229]  test_corruption+0x217/0x3e0
[   34.805792]  kunit_try_run_case+0x1b3/0x490
[   34.806867]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.807966]  kthread+0x257/0x310
[   34.808619]  ret_from_fork+0x41/0x80
[   34.809216]  ret_from_fork_asm+0x1a/0x30
[   34.809705] 
[   34.810063] kfence-#125: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   34.810063] 
[   34.811332] allocated by task 321 on cpu 1 at 34.803111s (0.008215s ago):
[   34.812143]  test_alloc+0x2a7/0x10d0
[   34.812452]  test_corruption+0x1cc/0x3e0
[   34.813195]  kunit_try_run_case+0x1b3/0x490
[   34.813570]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.814335]  kthread+0x257/0x310
[   34.814686]  ret_from_fork+0x41/0x80
[   34.815095]  ret_from_fork_asm+0x1a/0x30
[   34.815509] 
[   34.815705] freed by task 321 on cpu 1 at 34.803198s (0.012504s ago):
[   34.817369]  test_corruption+0x217/0x3e0
[   34.817905]  kunit_try_run_case+0x1b3/0x490
[   34.818235]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.819344]  kthread+0x257/0x310
[   34.819722]  ret_from_fork+0x41/0x80
[   34.819913]  ret_from_fork_asm+0x1a/0x30
[   34.820301] 
[   34.821222] CPU: 1 UID: 0 PID: 321 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241206 #1
[   34.822245] Tainted: [B]=BAD_PAGE, [N]=TEST
[   34.822648] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   34.823728] ==================================================================
[   34.491571] ==================================================================
[   34.492430] BUG: KFENCE: memory corruption in test_corruption+0x2e1/0x3e0
[   34.492430] 
[   34.493083] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#122):
[   34.493691]  test_corruption+0x2e1/0x3e0
[   34.494571]  kunit_try_run_case+0x1b3/0x490
[   34.495449]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.496230]  kthread+0x257/0x310
[   34.496710]  ret_from_fork+0x41/0x80
[   34.497373]  ret_from_fork_asm+0x1a/0x30
[   34.497851] 
[   34.498065] kfence-#122: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   34.498065] 
[   34.498873] allocated by task 319 on cpu 0 at 34.491176s (0.007692s ago):
[   34.499679]  test_alloc+0x35f/0x10d0
[   34.500113]  test_corruption+0x1cc/0x3e0
[   34.500529]  kunit_try_run_case+0x1b3/0x490
[   34.501027]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.501906]  kthread+0x257/0x310
[   34.502704]  ret_from_fork+0x41/0x80
[   34.503176]  ret_from_fork_asm+0x1a/0x30
[   34.503560] 
[   34.503797] freed by task 319 on cpu 0 at 34.491320s (0.012472s ago):
[   34.505245]  test_corruption+0x2e1/0x3e0
[   34.505687]  kunit_try_run_case+0x1b3/0x490
[   34.507035]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.507706]  kthread+0x257/0x310
[   34.508815]  ret_from_fork+0x41/0x80
[   34.509283]  ret_from_fork_asm+0x1a/0x30
[   34.509578] 
[   34.509864] CPU: 0 UID: 0 PID: 319 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241206 #1
[   34.511443] Tainted: [B]=BAD_PAGE, [N]=TEST
[   34.511895] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   34.512367] ==================================================================