Hay
Date
May 15, 2025, 10:38 a.m.

Environment
qemu-arm64
qemu-x86_64

[   23.286396] ==================================================================
[   23.286488] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   23.286488] 
[   23.286555] Corrupted memory at 0x000000001e27fb41 [ ! . . . . . . . . . . . . . . . ] (in kfence-#100):
[   23.286871]  test_corruption+0x120/0x378
[   23.286920]  kunit_try_run_case+0x170/0x3f0
[   23.286965]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.287009]  kthread+0x328/0x630
[   23.287049]  ret_from_fork+0x10/0x20
[   23.287089] 
[   23.287112] kfence-#100: 0x0000000065344787-0x0000000087cb509d, size=32, cache=test
[   23.287112] 
[   23.287175] allocated by task 313 on cpu 1 at 23.286256s (0.000916s ago):
[   23.287240]  test_alloc+0x230/0x628
[   23.287283]  test_corruption+0xdc/0x378
[   23.287324]  kunit_try_run_case+0x170/0x3f0
[   23.287361]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.287403]  kthread+0x328/0x630
[   23.287441]  ret_from_fork+0x10/0x20
[   23.287481] 
[   23.287504] freed by task 313 on cpu 1 at 23.286313s (0.001188s ago):
[   23.287563]  test_corruption+0x120/0x378
[   23.287600]  kunit_try_run_case+0x170/0x3f0
[   23.287638]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.287678]  kthread+0x328/0x630
[   23.287719]  ret_from_fork+0x10/0x20
[   23.287756] 
[   23.287798] CPU: 1 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250515 #1 PREEMPT 
[   23.287877] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.287908] Hardware name: linux,dummy-virt (DT)
[   23.287940] ==================================================================
[   23.702349] ==================================================================
[   23.702437] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   23.702437] 
[   23.702496] Corrupted memory at 0x0000000012766279 [ ! ] (in kfence-#104):
[   23.702611]  test_corruption+0x1d8/0x378
[   23.702656]  kunit_try_run_case+0x170/0x3f0
[   23.702699]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.702748]  kthread+0x328/0x630
[   23.702789]  ret_from_fork+0x10/0x20
[   23.702828] 
[   23.702851] kfence-#104: 0x000000007c17a602-0x00000000912418c3, size=32, cache=test
[   23.702851] 
[   23.702905] allocated by task 313 on cpu 1 at 23.702208s (0.000693s ago):
[   23.702966]  test_alloc+0x230/0x628
[   23.703006]  test_corruption+0x198/0x378
[   23.703045]  kunit_try_run_case+0x170/0x3f0
[   23.703083]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.703125]  kthread+0x328/0x630
[   23.703175]  ret_from_fork+0x10/0x20
[   23.703214] 
[   23.703237] freed by task 313 on cpu 1 at 23.702266s (0.000967s ago):
[   23.703296]  test_corruption+0x1d8/0x378
[   23.703334]  kunit_try_run_case+0x170/0x3f0
[   23.703371]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.703414]  kthread+0x328/0x630
[   23.703451]  ret_from_fork+0x10/0x20
[   23.703490] 
[   23.703529] CPU: 1 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250515 #1 PREEMPT 
[   23.703608] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.703639] Hardware name: linux,dummy-virt (DT)
[   23.703673] ==================================================================
[   22.974445] ==================================================================
[   22.974537] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   22.974537] 
[   22.974597] Corrupted memory at 0x000000003202b637 [ ! ] (in kfence-#97):
[   22.974731]  test_corruption+0x284/0x378
[   22.974779]  kunit_try_run_case+0x170/0x3f0
[   22.974820]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.974863]  kthread+0x328/0x630
[   22.974904]  ret_from_fork+0x10/0x20
[   22.974942] 
[   22.974966] kfence-#97: 0x0000000063f888f8-0x00000000218016ba, size=32, cache=kmalloc-32
[   22.974966] 
[   22.975019] allocated by task 311 on cpu 1 at 22.974169s (0.000847s ago):
[   22.975080]  test_alloc+0x29c/0x628
[   22.975119]  test_corruption+0x198/0x378
[   22.975169]  kunit_try_run_case+0x170/0x3f0
[   22.975208]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.975250]  kthread+0x328/0x630
[   22.975289]  ret_from_fork+0x10/0x20
[   22.975326] 
[   22.975349] freed by task 311 on cpu 1 at 22.974273s (0.001072s ago):
[   22.975407]  test_corruption+0x284/0x378
[   22.975446]  kunit_try_run_case+0x170/0x3f0
[   22.975484]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.975527]  kthread+0x328/0x630
[   22.975564]  ret_from_fork+0x10/0x20
[   22.975601] 
[   22.975643] CPU: 1 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250515 #1 PREEMPT 
[   22.975723] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.975753] Hardware name: linux,dummy-virt (DT)
[   22.975786] ==================================================================
[   22.766465] ==================================================================
[   22.766570] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   22.766570] 
[   22.766638] Corrupted memory at 0x000000008f5eeef1 [ ! . . . . . . . . . . . . . . . ] (in kfence-#95):
[   22.767764]  test_corruption+0x278/0x378
[   22.767816]  kunit_try_run_case+0x170/0x3f0
[   22.767863]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.767907]  kthread+0x328/0x630
[   22.767949]  ret_from_fork+0x10/0x20
[   22.767990] 
[   22.768014] kfence-#95: 0x0000000049730b14-0x0000000098c4f873, size=32, cache=kmalloc-32
[   22.768014] 
[   22.768068] allocated by task 311 on cpu 1 at 22.766185s (0.001880s ago):
[   22.768131]  test_alloc+0x29c/0x628
[   22.768183]  test_corruption+0xdc/0x378
[   22.768223]  kunit_try_run_case+0x170/0x3f0
[   22.768261]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.768304]  kthread+0x328/0x630
[   22.768342]  ret_from_fork+0x10/0x20
[   22.768379] 
[   22.768402] freed by task 311 on cpu 1 at 22.766294s (0.002105s ago):
[   22.768461]  test_corruption+0x278/0x378
[   22.768499]  kunit_try_run_case+0x170/0x3f0
[   22.768537]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.768578]  kthread+0x328/0x630
[   22.768617]  ret_from_fork+0x10/0x20
[   22.768654] 
[   22.768694] CPU: 1 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250515 #1 PREEMPT 
[   22.768775] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.768803] Hardware name: linux,dummy-virt (DT)
[   22.768837] ==================================================================


[   22.683250] ==================================================================
[   22.683681] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   22.683681] 
[   22.683931] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#119):
[   22.684524]  test_corruption+0x216/0x3e0
[   22.684786]  kunit_try_run_case+0x1a5/0x480
[   22.684980]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   22.685153]  kthread+0x337/0x6f0
[   22.685325]  ret_from_fork+0x116/0x1d0
[   22.685500]  ret_from_fork_asm+0x1a/0x30
[   22.685775] 
[   22.685935] kfence-#119: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   22.685935] 
[   22.686566] allocated by task 331 on cpu 0 at 22.683058s (0.003503s ago):
[   22.687036]  test_alloc+0x2a6/0x10f0
[   22.687307]  test_corruption+0x1cb/0x3e0
[   22.687492]  kunit_try_run_case+0x1a5/0x480
[   22.687681]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   22.688045]  kthread+0x337/0x6f0
[   22.688321]  ret_from_fork+0x116/0x1d0
[   22.688610]  ret_from_fork_asm+0x1a/0x30
[   22.688918] 
[   22.689077] freed by task 331 on cpu 0 at 22.683114s (0.005959s ago):
[   22.689495]  test_corruption+0x216/0x3e0
[   22.689680]  kunit_try_run_case+0x1a5/0x480
[   22.689875]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   22.690238]  kthread+0x337/0x6f0
[   22.690523]  ret_from_fork+0x116/0x1d0
[   22.690808]  ret_from_fork_asm+0x1a/0x30
[   22.691119] 
[   22.691327] CPU: 0 UID: 0 PID: 331 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250515 #1 PREEMPT(voluntary) 
[   22.692023] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.692259] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   22.692590] ==================================================================
[   22.475282] ==================================================================
[   22.475724] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   22.475724] 
[   22.475967] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#117):
[   22.476912]  test_corruption+0x131/0x3e0
[   22.477237]  kunit_try_run_case+0x1a5/0x480
[   22.477448]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   22.477661]  kthread+0x337/0x6f0
[   22.477926]  ret_from_fork+0x116/0x1d0
[   22.478201]  ret_from_fork_asm+0x1a/0x30
[   22.478504] 
[   22.478639] kfence-#117: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   22.478639] 
[   22.478995] allocated by task 331 on cpu 0 at 22.475065s (0.003926s ago):
[   22.479264]  test_alloc+0x2a6/0x10f0
[   22.479537]  test_corruption+0xe6/0x3e0
[   22.479814]  kunit_try_run_case+0x1a5/0x480
[   22.480129]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   22.480354]  kthread+0x337/0x6f0
[   22.480525]  ret_from_fork+0x116/0x1d0
[   22.480693]  ret_from_fork_asm+0x1a/0x30
[   22.481001] 
[   22.481155] freed by task 331 on cpu 0 at 22.475154s (0.005996s ago):
[   22.481632]  test_corruption+0x131/0x3e0
[   22.481932]  kunit_try_run_case+0x1a5/0x480
[   22.482262]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   22.482532]  kthread+0x337/0x6f0
[   22.482695]  ret_from_fork+0x116/0x1d0
[   22.482870]  ret_from_fork_asm+0x1a/0x30
[   22.483171] 
[   22.483474] CPU: 0 UID: 0 PID: 331 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250515 #1 PREEMPT(voluntary) 
[   22.484233] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.484491] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   22.484906] ==================================================================
[   21.123444] ==================================================================
[   21.123857] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   21.123857] 
[   21.124091] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#104):
[   21.124670]  test_corruption+0x2df/0x3e0
[   21.124997]  kunit_try_run_case+0x1a5/0x480
[   21.125562]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   21.125819]  kthread+0x337/0x6f0
[   21.126455]  ret_from_fork+0x116/0x1d0
[   21.126834]  ret_from_fork_asm+0x1a/0x30
[   21.127207] 
[   21.127426] kfence-#104: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   21.127426] 
[   21.127995] allocated by task 329 on cpu 0 at 21.123066s (0.004924s ago):
[   21.128492]  test_alloc+0x364/0x10f0
[   21.128767]  test_corruption+0x1cb/0x3e0
[   21.129050]  kunit_try_run_case+0x1a5/0x480
[   21.129315]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   21.129694]  kthread+0x337/0x6f0
[   21.129877]  ret_from_fork+0x116/0x1d0
[   21.130161]  ret_from_fork_asm+0x1a/0x30
[   21.130445] 
[   21.130593] freed by task 329 on cpu 0 at 21.123232s (0.007356s ago):
[   21.130908]  test_corruption+0x2df/0x3e0
[   21.131132]  kunit_try_run_case+0x1a5/0x480
[   21.131414]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   21.131627]  kthread+0x337/0x6f0
[   21.131794]  ret_from_fork+0x116/0x1d0
[   21.131958]  ret_from_fork_asm+0x1a/0x30
[   21.132127] 
[   21.132298] CPU: 0 UID: 0 PID: 329 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250515 #1 PREEMPT(voluntary) 
[   21.133065] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.133404] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   21.133972] ==================================================================
[   20.603557] ==================================================================
[   20.603967] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   20.603967] 
[   20.604257] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#99):
[   20.605423]  test_corruption+0x2d2/0x3e0
[   20.605755]  kunit_try_run_case+0x1a5/0x480
[   20.605977]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.606178]  kthread+0x337/0x6f0
[   20.606518]  ret_from_fork+0x116/0x1d0
[   20.606857]  ret_from_fork_asm+0x1a/0x30
[   20.607177] 
[   20.607375] kfence-#99: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   20.607375] 
[   20.607728] allocated by task 329 on cpu 0 at 20.603124s (0.004600s ago):
[   20.608212]  test_alloc+0x364/0x10f0
[   20.608531]  test_corruption+0xe6/0x3e0
[   20.608829]  kunit_try_run_case+0x1a5/0x480
[   20.609074]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.609448]  kthread+0x337/0x6f0
[   20.609703]  ret_from_fork+0x116/0x1d0
[   20.609880]  ret_from_fork_asm+0x1a/0x30
[   20.610064] 
[   20.610231] freed by task 329 on cpu 0 at 20.603303s (0.006923s ago):
[   20.610724]  test_corruption+0x2d2/0x3e0
[   20.611050]  kunit_try_run_case+0x1a5/0x480
[   20.611248]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.611641]  kthread+0x337/0x6f0
[   20.611833]  ret_from_fork+0x116/0x1d0
[   20.612142]  ret_from_fork_asm+0x1a/0x30
[   20.612331] 
[   20.612566] CPU: 0 UID: 0 PID: 329 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250515 #1 PREEMPT(voluntary) 
[   20.613189] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.613506] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   20.613874] ==================================================================