Hay
Date
July 3, 2025, 3:13 p.m.

Environment
qemu-arm64
qemu-x86_64

[   15.844758] ==================================================================
[   15.844812] BUG: KASAN: slab-use-after-free in ksize_uaf+0x598/0x5f8
[   15.845068] Read of size 1 at addr fff00000c7811700 by task kunit_try_catch/199
[   15.845161] 
[   15.845206] CPU: 1 UID: 0 PID: 199 Comm: kunit_try_catch Tainted: G    B            N  6.15.5-rc1 #1 PREEMPT 
[   15.845635] Tainted: [B]=BAD_PAGE, [N]=TEST
[   15.845666] Hardware name: linux,dummy-virt (DT)
[   15.845963] Call trace:
[   15.846000]  show_stack+0x20/0x38 (C)
[   15.846052]  dump_stack_lvl+0x8c/0xd0
[   15.846097]  print_report+0x118/0x608
[   15.846550]  kasan_report+0xdc/0x128
[   15.846630]  __asan_report_load1_noabort+0x20/0x30
[   15.847100]  ksize_uaf+0x598/0x5f8
[   15.847178]  kunit_try_run_case+0x170/0x3f0
[   15.847387]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   15.847612]  kthread+0x328/0x630
[   15.847695]  ret_from_fork+0x10/0x20
[   15.847848] 
[   15.847917] Allocated by task 199:
[   15.848143]  kasan_save_stack+0x3c/0x68
[   15.848183]  kasan_save_track+0x20/0x40
[   15.848420]  kasan_save_alloc_info+0x40/0x58
[   15.848594]  __kasan_kmalloc+0xd4/0xd8
[   15.848695]  __kmalloc_cache_noprof+0x16c/0x3c0
[   15.848811]  ksize_uaf+0xb8/0x5f8
[   15.848997]  kunit_try_run_case+0x170/0x3f0
[   15.849099]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   15.849288]  kthread+0x328/0x630
[   15.849560]  ret_from_fork+0x10/0x20
[   15.849723] 
[   15.849775] Freed by task 199:
[   15.849902]  kasan_save_stack+0x3c/0x68
[   15.850004]  kasan_save_track+0x20/0x40
[   15.850040]  kasan_save_free_info+0x4c/0x78
[   15.850314]  __kasan_slab_free+0x6c/0x98
[   15.850602]  kfree+0x214/0x3c8
[   15.850842]  ksize_uaf+0x11c/0x5f8
[   15.851019]  kunit_try_run_case+0x170/0x3f0
[   15.851143]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   15.851250]  kthread+0x328/0x630
[   15.851322]  ret_from_fork+0x10/0x20
[   15.851477] 
[   15.851546] The buggy address belongs to the object at fff00000c7811700
[   15.851546]  which belongs to the cache kmalloc-128 of size 128
[   15.851840] The buggy address is located 0 bytes inside of
[   15.851840]  freed 128-byte region [fff00000c7811700, fff00000c7811780)
[   15.852065] 
[   15.852114] The buggy address belongs to the physical page:
[   15.852174] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x107811
[   15.852318] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   15.852425] page_type: f5(slab)
[   15.852585] raw: 0bfffe0000000000 fff00000c0001a00 dead000000000122 0000000000000000
[   15.852647] raw: 0000000000000000 0000000080100010 00000000f5000000 0000000000000000
[   15.852818] page dumped because: kasan: bad access detected
[   15.853031] 
[   15.853084] Memory state around the buggy address:
[   15.853190]  fff00000c7811600: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[   15.853237]  fff00000c7811680: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   15.853280] >fff00000c7811700: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[   15.853318]                    ^
[   15.853357]  fff00000c7811780: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   15.853400]  fff00000c7811800: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   15.853438] ==================================================================
[   15.853939] ==================================================================
[   15.854003] BUG: KASAN: slab-use-after-free in ksize_uaf+0x544/0x5f8
[   15.854050] Read of size 1 at addr fff00000c7811778 by task kunit_try_catch/199
[   15.854294] 
[   15.854688] CPU: 1 UID: 0 PID: 199 Comm: kunit_try_catch Tainted: G    B            N  6.15.5-rc1 #1 PREEMPT 
[   15.854785] Tainted: [B]=BAD_PAGE, [N]=TEST
[   15.854876] Hardware name: linux,dummy-virt (DT)
[   15.854965] Call trace:
[   15.854998]  show_stack+0x20/0x38 (C)
[   15.855217]  dump_stack_lvl+0x8c/0xd0
[   15.855326]  print_report+0x118/0x608
[   15.855457]  kasan_report+0xdc/0x128
[   15.855525]  __asan_report_load1_noabort+0x20/0x30
[   15.855677]  ksize_uaf+0x544/0x5f8
[   15.855745]  kunit_try_run_case+0x170/0x3f0
[   15.856029]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   15.856231]  kthread+0x328/0x630
[   15.856360]  ret_from_fork+0x10/0x20
[   15.856487] 
[   15.856505] Allocated by task 199:
[   15.856740]  kasan_save_stack+0x3c/0x68
[   15.856920]  kasan_save_track+0x20/0x40
[   15.857517]  kasan_save_alloc_info+0x40/0x58
[   15.857714]  __kasan_kmalloc+0xd4/0xd8
[   15.857904]  __kmalloc_cache_noprof+0x16c/0x3c0
[   15.858079]  ksize_uaf+0xb8/0x5f8
[   15.858145]  kunit_try_run_case+0x170/0x3f0
[   15.858241]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   15.858309]  kthread+0x328/0x630
[   15.858346]  ret_from_fork+0x10/0x20
[   15.858382] 
[   15.858402] Freed by task 199:
[   15.858434]  kasan_save_stack+0x3c/0x68
[   15.858655]  kasan_save_track+0x20/0x40
[   15.858830]  kasan_save_free_info+0x4c/0x78
[   15.858997]  __kasan_slab_free+0x6c/0x98
[   15.859127]  kfree+0x214/0x3c8
[   15.859187]  ksize_uaf+0x11c/0x5f8
[   15.859332]  kunit_try_run_case+0x170/0x3f0
[   15.859372]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   15.859582]  kthread+0x328/0x630
[   15.859843]  ret_from_fork+0x10/0x20
[   15.859905] 
[   15.860034] The buggy address belongs to the object at fff00000c7811700
[   15.860034]  which belongs to the cache kmalloc-128 of size 128
[   15.860152] The buggy address is located 120 bytes inside of
[   15.860152]  freed 128-byte region [fff00000c7811700, fff00000c7811780)
[   15.860465] 
[   15.860527] The buggy address belongs to the physical page:
[   15.860794] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x107811
[   15.860933] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   15.861039] page_type: f5(slab)
[   15.861166] raw: 0bfffe0000000000 fff00000c0001a00 dead000000000122 0000000000000000
[   15.861687] raw: 0000000000000000 0000000080100010 00000000f5000000 0000000000000000
[   15.861775] page dumped because: kasan: bad access detected
[   15.861919] 
[   15.862009] Memory state around the buggy address:
[   15.862069]  fff00000c7811600: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[   15.862457]  fff00000c7811680: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   15.862621] >fff00000c7811700: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[   15.862787]                                                                 ^
[   15.862871]  fff00000c7811780: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   15.862926]  fff00000c7811800: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   15.863102] ==================================================================
[   15.835178] ==================================================================
[   15.835240] BUG: KASAN: slab-use-after-free in ksize_uaf+0x168/0x5f8
[   15.836202] Read of size 1 at addr fff00000c7811700 by task kunit_try_catch/199
[   15.836300] 
[   15.836360] CPU: 1 UID: 0 PID: 199 Comm: kunit_try_catch Tainted: G    B            N  6.15.5-rc1 #1 PREEMPT 
[   15.836448] Tainted: [B]=BAD_PAGE, [N]=TEST
[   15.836475] Hardware name: linux,dummy-virt (DT)
[   15.836504] Call trace:
[   15.836528]  show_stack+0x20/0x38 (C)
[   15.836933]  dump_stack_lvl+0x8c/0xd0
[   15.837214]  print_report+0x118/0x608
[   15.837259]  kasan_report+0xdc/0x128
[   15.837305]  __kasan_check_byte+0x54/0x70
[   15.837349]  ksize+0x30/0x88
[   15.837785]  ksize_uaf+0x168/0x5f8
[   15.837882]  kunit_try_run_case+0x170/0x3f0
[   15.837933]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   15.838692]  kthread+0x328/0x630
[   15.838811]  ret_from_fork+0x10/0x20
[   15.838911] 
[   15.838974] Allocated by task 199:
[   15.839097]  kasan_save_stack+0x3c/0x68
[   15.839256]  kasan_save_track+0x20/0x40
[   15.839640]  kasan_save_alloc_info+0x40/0x58
[   15.839824]  __kasan_kmalloc+0xd4/0xd8
[   15.839882]  __kmalloc_cache_noprof+0x16c/0x3c0
[   15.839930]  ksize_uaf+0xb8/0x5f8
[   15.840014]  kunit_try_run_case+0x170/0x3f0
[   15.840056]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   15.840103]  kthread+0x328/0x630
[   15.840137]  ret_from_fork+0x10/0x20
[   15.840182] 
[   15.840223] Freed by task 199:
[   15.840259]  kasan_save_stack+0x3c/0x68
[   15.840296]  kasan_save_track+0x20/0x40
[   15.840336]  kasan_save_free_info+0x4c/0x78
[   15.840384]  __kasan_slab_free+0x6c/0x98
[   15.840418]  kfree+0x214/0x3c8
[   15.840459]  ksize_uaf+0x11c/0x5f8
[   15.840493]  kunit_try_run_case+0x170/0x3f0
[   15.840532]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   15.840573]  kthread+0x328/0x630
[   15.840618]  ret_from_fork+0x10/0x20
[   15.840652] 
[   15.840670] The buggy address belongs to the object at fff00000c7811700
[   15.840670]  which belongs to the cache kmalloc-128 of size 128
[   15.840727] The buggy address is located 0 bytes inside of
[   15.840727]  freed 128-byte region [fff00000c7811700, fff00000c7811780)
[   15.840785] 
[   15.840805] The buggy address belongs to the physical page:
[   15.840849] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x107811
[   15.840908] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   15.841626] page_type: f5(slab)
[   15.841705] raw: 0bfffe0000000000 fff00000c0001a00 dead000000000122 0000000000000000
[   15.841778] raw: 0000000000000000 0000000080100010 00000000f5000000 0000000000000000
[   15.842125] page dumped because: kasan: bad access detected
[   15.842190] 
[   15.842406] Memory state around the buggy address:
[   15.842574]  fff00000c7811600: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[   15.842663]  fff00000c7811680: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   15.842707] >fff00000c7811700: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[   15.842746]                    ^
[   15.842937]  fff00000c7811780: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   15.843258]  fff00000c7811800: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   15.843472] ==================================================================

[   11.664479] ==================================================================
[   11.664824] BUG: KASAN: slab-use-after-free in ksize_uaf+0x5fe/0x6c0
[   11.665216] Read of size 1 at addr ffff888102dc0a00 by task kunit_try_catch/215
[   11.665498] 
[   11.665591] CPU: 1 UID: 0 PID: 215 Comm: kunit_try_catch Tainted: G    B            N  6.15.5-rc1 #1 PREEMPT(voluntary) 
[   11.665633] Tainted: [B]=BAD_PAGE, [N]=TEST
[   11.665645] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   11.665665] Call Trace:
[   11.665676]  <TASK>
[   11.665688]  dump_stack_lvl+0x73/0xb0
[   11.665712]  print_report+0xd1/0x650
[   11.665733]  ? __virt_addr_valid+0x1db/0x2d0
[   11.665754]  ? ksize_uaf+0x5fe/0x6c0
[   11.665774]  ? kasan_complete_mode_report_info+0x64/0x200
[   11.665797]  ? ksize_uaf+0x5fe/0x6c0
[   11.665818]  kasan_report+0x141/0x180
[   11.665841]  ? ksize_uaf+0x5fe/0x6c0
[   11.665867]  __asan_report_load1_noabort+0x18/0x20
[   11.665888]  ksize_uaf+0x5fe/0x6c0
[   11.665908]  ? __pfx_ksize_uaf+0x10/0x10
[   11.665931]  ? __schedule+0x10cc/0x2b60
[   11.665953]  ? __pfx_read_tsc+0x10/0x10
[   11.665972]  ? ktime_get_ts64+0x86/0x230
[   11.665996]  kunit_try_run_case+0x1a5/0x480
[   11.666019]  ? __pfx_kunit_try_run_case+0x10/0x10
[   11.666040]  ? _raw_spin_lock_irqsave+0xa1/0x100
[   11.666063]  ? _raw_spin_unlock_irqrestore+0x5f/0x90
[   11.666086]  ? __kthread_parkme+0x82/0x180
[   11.666107]  ? preempt_count_sub+0x50/0x80
[   11.666131]  ? __pfx_kunit_try_run_case+0x10/0x10
[   11.666154]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   11.666176]  ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10
[   11.666261]  kthread+0x337/0x6f0
[   11.666314]  ? trace_preempt_on+0x20/0xc0
[   11.666338]  ? __pfx_kthread+0x10/0x10
[   11.666356]  ? _raw_spin_unlock_irq+0x47/0x80
[   11.666378]  ? calculate_sigpending+0x7b/0xa0
[   11.666399]  ? __pfx_kthread+0x10/0x10
[   11.666417]  ret_from_fork+0x41/0x80
[   11.666437]  ? __pfx_kthread+0x10/0x10
[   11.666455]  ret_from_fork_asm+0x1a/0x30
[   11.666484]  </TASK>
[   11.666494] 
[   11.673995] Allocated by task 215:
[   11.674220]  kasan_save_stack+0x45/0x70
[   11.674561]  kasan_save_track+0x18/0x40
[   11.674756]  kasan_save_alloc_info+0x3b/0x50
[   11.674963]  __kasan_kmalloc+0xb7/0xc0
[   11.675148]  __kmalloc_cache_noprof+0x189/0x420
[   11.676327]  ksize_uaf+0xaa/0x6c0
[   11.676545]  kunit_try_run_case+0x1a5/0x480
[   11.677015]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   11.677207]  kthread+0x337/0x6f0
[   11.677800]  ret_from_fork+0x41/0x80
[   11.678076]  ret_from_fork_asm+0x1a/0x30
[   11.678741] 
[   11.678846] Freed by task 215:
[   11.679003]  kasan_save_stack+0x45/0x70
[   11.679188]  kasan_save_track+0x18/0x40
[   11.679677]  kasan_save_free_info+0x3f/0x60
[   11.680059]  __kasan_slab_free+0x56/0x70
[   11.680473]  kfree+0x222/0x3f0
[   11.680636]  ksize_uaf+0x12c/0x6c0
[   11.681089]  kunit_try_run_case+0x1a5/0x480
[   11.681345]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   11.681613]  kthread+0x337/0x6f0
[   11.682164]  ret_from_fork+0x41/0x80
[   11.682522]  ret_from_fork_asm+0x1a/0x30
[   11.682897] 
[   11.682993] The buggy address belongs to the object at ffff888102dc0a00
[   11.682993]  which belongs to the cache kmalloc-128 of size 128
[   11.684075] The buggy address is located 0 bytes inside of
[   11.684075]  freed 128-byte region [ffff888102dc0a00, ffff888102dc0a80)
[   11.685006] 
[   11.685344] The buggy address belongs to the physical page:
[   11.685596] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x102dc0
[   11.686642] flags: 0x200000000000000(node=0|zone=2)
[   11.687074] page_type: f5(slab)
[   11.687606] raw: 0200000000000000 ffff888100041a00 dead000000000122 0000000000000000
[   11.688092] raw: 0000000000000000 0000000080100010 00000000f5000000 0000000000000000
[   11.688603] page dumped because: kasan: bad access detected
[   11.689026] 
[   11.689270] Memory state around the buggy address:
[   11.689563]  ffff888102dc0900: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[   11.690084]  ffff888102dc0980: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   11.690705] >ffff888102dc0a00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[   11.691020]                    ^
[   11.691176]  ffff888102dc0a80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   11.691834]  ffff888102dc0b00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   11.692301] ==================================================================
[   11.642980] ==================================================================
[   11.643849] BUG: KASAN: slab-use-after-free in ksize_uaf+0x19d/0x6c0
[   11.644168] Read of size 1 at addr ffff888102dc0a00 by task kunit_try_catch/215
[   11.644480] 
[   11.644595] CPU: 1 UID: 0 PID: 215 Comm: kunit_try_catch Tainted: G    B            N  6.15.5-rc1 #1 PREEMPT(voluntary) 
[   11.644884] Tainted: [B]=BAD_PAGE, [N]=TEST
[   11.644900] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   11.644922] Call Trace:
[   11.644935]  <TASK>
[   11.644951]  dump_stack_lvl+0x73/0xb0
[   11.644981]  print_report+0xd1/0x650
[   11.645003]  ? __virt_addr_valid+0x1db/0x2d0
[   11.645026]  ? ksize_uaf+0x19d/0x6c0
[   11.645047]  ? kasan_complete_mode_report_info+0x64/0x200
[   11.645069]  ? ksize_uaf+0x19d/0x6c0
[   11.645091]  kasan_report+0x141/0x180
[   11.645113]  ? ksize_uaf+0x19d/0x6c0
[   11.645137]  ? ksize_uaf+0x19d/0x6c0
[   11.645158]  __kasan_check_byte+0x3d/0x50
[   11.645180]  ksize+0x20/0x60
[   11.645202]  ksize_uaf+0x19d/0x6c0
[   11.645223]  ? __pfx_ksize_uaf+0x10/0x10
[   11.645259]  ? __schedule+0x10cc/0x2b60
[   11.645346]  ? __pfx_read_tsc+0x10/0x10
[   11.645371]  ? ktime_get_ts64+0x86/0x230
[   11.645396]  kunit_try_run_case+0x1a5/0x480
[   11.645422]  ? __pfx_kunit_try_run_case+0x10/0x10
[   11.645443]  ? _raw_spin_lock_irqsave+0xa1/0x100
[   11.645467]  ? _raw_spin_unlock_irqrestore+0x5f/0x90
[   11.645490]  ? __kthread_parkme+0x82/0x180
[   11.645512]  ? preempt_count_sub+0x50/0x80
[   11.645537]  ? __pfx_kunit_try_run_case+0x10/0x10
[   11.645569]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   11.645591]  ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10
[   11.645614]  kthread+0x337/0x6f0
[   11.645631]  ? trace_preempt_on+0x20/0xc0
[   11.645665]  ? __pfx_kthread+0x10/0x10
[   11.645682]  ? _raw_spin_unlock_irq+0x47/0x80
[   11.645704]  ? calculate_sigpending+0x7b/0xa0
[   11.645726]  ? __pfx_kthread+0x10/0x10
[   11.645744]  ret_from_fork+0x41/0x80
[   11.645764]  ? __pfx_kthread+0x10/0x10
[   11.645781]  ret_from_fork_asm+0x1a/0x30
[   11.645812]  </TASK>
[   11.645823] 
[   11.652863] Allocated by task 215:
[   11.653039]  kasan_save_stack+0x45/0x70
[   11.653288]  kasan_save_track+0x18/0x40
[   11.653487]  kasan_save_alloc_info+0x3b/0x50
[   11.653770]  __kasan_kmalloc+0xb7/0xc0
[   11.653914]  __kmalloc_cache_noprof+0x189/0x420
[   11.654067]  ksize_uaf+0xaa/0x6c0
[   11.654189]  kunit_try_run_case+0x1a5/0x480
[   11.654506]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   11.654762]  kthread+0x337/0x6f0
[   11.655066]  ret_from_fork+0x41/0x80
[   11.655368]  ret_from_fork_asm+0x1a/0x30
[   11.655575] 
[   11.655669] Freed by task 215:
[   11.655795]  kasan_save_stack+0x45/0x70
[   11.655930]  kasan_save_track+0x18/0x40
[   11.656099]  kasan_save_free_info+0x3f/0x60
[   11.656368]  __kasan_slab_free+0x56/0x70
[   11.656563]  kfree+0x222/0x3f0
[   11.656922]  ksize_uaf+0x12c/0x6c0
[   11.657070]  kunit_try_run_case+0x1a5/0x480
[   11.657269]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   11.657560]  kthread+0x337/0x6f0
[   11.657731]  ret_from_fork+0x41/0x80
[   11.657895]  ret_from_fork_asm+0x1a/0x30
[   11.658066] 
[   11.658152] The buggy address belongs to the object at ffff888102dc0a00
[   11.658152]  which belongs to the cache kmalloc-128 of size 128
[   11.658650] The buggy address is located 0 bytes inside of
[   11.658650]  freed 128-byte region [ffff888102dc0a00, ffff888102dc0a80)
[   11.658996] 
[   11.659067] The buggy address belongs to the physical page:
[   11.659282] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x102dc0
[   11.660017] flags: 0x200000000000000(node=0|zone=2)
[   11.660225] page_type: f5(slab)
[   11.660355] raw: 0200000000000000 ffff888100041a00 dead000000000122 0000000000000000
[   11.660584] raw: 0000000000000000 0000000080100010 00000000f5000000 0000000000000000
[   11.661201] page dumped because: kasan: bad access detected
[   11.661462] 
[   11.661560] Memory state around the buggy address:
[   11.661873]  ffff888102dc0900: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[   11.662092]  ffff888102dc0980: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   11.662520] >ffff888102dc0a00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[   11.662984]                    ^
[   11.663110]  ffff888102dc0a80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   11.663393]  ffff888102dc0b00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   11.663900] ==================================================================
[   11.693045] ==================================================================
[   11.693767] BUG: KASAN: slab-use-after-free in ksize_uaf+0x5e4/0x6c0
[   11.694050] Read of size 1 at addr ffff888102dc0a78 by task kunit_try_catch/215
[   11.694472] 
[   11.694581] CPU: 1 UID: 0 PID: 215 Comm: kunit_try_catch Tainted: G    B            N  6.15.5-rc1 #1 PREEMPT(voluntary) 
[   11.694625] Tainted: [B]=BAD_PAGE, [N]=TEST
[   11.694637] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   11.694878] Call Trace:
[   11.694897]  <TASK>
[   11.694912]  dump_stack_lvl+0x73/0xb0
[   11.694937]  print_report+0xd1/0x650
[   11.694960]  ? __virt_addr_valid+0x1db/0x2d0
[   11.694982]  ? ksize_uaf+0x5e4/0x6c0
[   11.695004]  ? kasan_complete_mode_report_info+0x64/0x200
[   11.695190]  ? ksize_uaf+0x5e4/0x6c0
[   11.695215]  kasan_report+0x141/0x180
[   11.695252]  ? ksize_uaf+0x5e4/0x6c0
[   11.695279]  __asan_report_load1_noabort+0x18/0x20
[   11.695300]  ksize_uaf+0x5e4/0x6c0
[   11.695322]  ? __pfx_ksize_uaf+0x10/0x10
[   11.695345]  ? __schedule+0x10cc/0x2b60
[   11.695368]  ? __pfx_read_tsc+0x10/0x10
[   11.695388]  ? ktime_get_ts64+0x86/0x230
[   11.695413]  kunit_try_run_case+0x1a5/0x480
[   11.695461]  ? __pfx_kunit_try_run_case+0x10/0x10
[   11.695483]  ? _raw_spin_lock_irqsave+0xa1/0x100
[   11.695507]  ? _raw_spin_unlock_irqrestore+0x5f/0x90
[   11.695530]  ? __kthread_parkme+0x82/0x180
[   11.695551]  ? preempt_count_sub+0x50/0x80
[   11.695576]  ? __pfx_kunit_try_run_case+0x10/0x10
[   11.695599]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   11.695622]  ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10
[   11.695644]  kthread+0x337/0x6f0
[   11.695661]  ? trace_preempt_on+0x20/0xc0
[   11.695683]  ? __pfx_kthread+0x10/0x10
[   11.695701]  ? _raw_spin_unlock_irq+0x47/0x80
[   11.695723]  ? calculate_sigpending+0x7b/0xa0
[   11.695744]  ? __pfx_kthread+0x10/0x10
[   11.695762]  ret_from_fork+0x41/0x80
[   11.695782]  ? __pfx_kthread+0x10/0x10
[   11.695800]  ret_from_fork_asm+0x1a/0x30
[   11.695830]  </TASK>
[   11.695840] 
[   11.704931] Allocated by task 215:
[   11.705092]  kasan_save_stack+0x45/0x70
[   11.705329]  kasan_save_track+0x18/0x40
[   11.705523]  kasan_save_alloc_info+0x3b/0x50
[   11.705805]  __kasan_kmalloc+0xb7/0xc0
[   11.705944]  __kmalloc_cache_noprof+0x189/0x420
[   11.706117]  ksize_uaf+0xaa/0x6c0
[   11.706364]  kunit_try_run_case+0x1a5/0x480
[   11.706579]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   11.706954]  kthread+0x337/0x6f0
[   11.707114]  ret_from_fork+0x41/0x80
[   11.707351]  ret_from_fork_asm+0x1a/0x30
[   11.707512] 
[   11.707607] Freed by task 215:
[   11.707799]  kasan_save_stack+0x45/0x70
[   11.707972]  kasan_save_track+0x18/0x40
[   11.708145]  kasan_save_free_info+0x3f/0x60
[   11.708338]  __kasan_slab_free+0x56/0x70
[   11.708641]  kfree+0x222/0x3f0
[   11.708763]  ksize_uaf+0x12c/0x6c0
[   11.708941]  kunit_try_run_case+0x1a5/0x480
[   11.709136]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   11.709378]  kthread+0x337/0x6f0
[   11.709776]  ret_from_fork+0x41/0x80
[   11.710066]  ret_from_fork_asm+0x1a/0x30
[   11.710215] 
[   11.710331] The buggy address belongs to the object at ffff888102dc0a00
[   11.710331]  which belongs to the cache kmalloc-128 of size 128
[   11.710917] The buggy address is located 120 bytes inside of
[   11.710917]  freed 128-byte region [ffff888102dc0a00, ffff888102dc0a80)
[   11.711352] 
[   11.711495] The buggy address belongs to the physical page:
[   11.711848] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x102dc0
[   11.712100] flags: 0x200000000000000(node=0|zone=2)
[   11.712425] page_type: f5(slab)
[   11.712597] raw: 0200000000000000 ffff888100041a00 dead000000000122 0000000000000000
[   11.713007] raw: 0000000000000000 0000000080100010 00000000f5000000 0000000000000000
[   11.713344] page dumped because: kasan: bad access detected
[   11.713625] 
[   11.713775] Memory state around the buggy address:
[   11.713971]  ffff888102dc0900: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[   11.714228]  ffff888102dc0980: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   11.714757] >ffff888102dc0a00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[   11.714979]                                                                 ^
[   11.715191]  ffff888102dc0a80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   11.715473]  ffff888102dc0b00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   11.715792] ==================================================================