Hay
Date
July 15, 2025, 11:35 a.m.

Environment
e850-96
qemu-arm64
qemu-x86_64

[   37.889910] ==================================================================
[   37.900671] BUG: KASAN: slab-out-of-bounds in kmalloc_big_oob_right+0x2a4/0x2f0
[   37.907954] Write of size 1 at addr ffff000808119f00 by task kunit_try_catch/225
[   37.915331] 
[   37.916817] CPU: 2 UID: 0 PID: 225 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250715 #1 PREEMPT 
[   37.916875] Tainted: [B]=BAD_PAGE, [N]=TEST
[   37.916891] Hardware name: WinLink E850-96 board (DT)
[   37.916911] Call trace:
[   37.916924]  show_stack+0x20/0x38 (C)
[   37.916959]  dump_stack_lvl+0x8c/0xd0
[   37.916993]  print_report+0x118/0x5d0
[   37.917021]  kasan_report+0xdc/0x128
[   37.917046]  __asan_report_store1_noabort+0x20/0x30
[   37.917077]  kmalloc_big_oob_right+0x2a4/0x2f0
[   37.917107]  kunit_try_run_case+0x170/0x3f0
[   37.917141]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.917175]  kthread+0x328/0x630
[   37.917202]  ret_from_fork+0x10/0x20
[   37.917236] 
[   37.981217] Allocated by task 225:
[   37.984603]  kasan_save_stack+0x3c/0x68
[   37.988420]  kasan_save_track+0x20/0x40
[   37.992239]  kasan_save_alloc_info+0x40/0x58
[   37.996492]  __kasan_kmalloc+0xd4/0xd8
[   38.000226]  __kmalloc_cache_noprof+0x16c/0x3c0
[   38.004739]  kmalloc_big_oob_right+0xb8/0x2f0
[   38.009079]  kunit_try_run_case+0x170/0x3f0
[   38.013246]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   38.018715]  kthread+0x328/0x630
[   38.021927]  ret_from_fork+0x10/0x20
[   38.025486] 
[   38.026964] The buggy address belongs to the object at ffff000808118000
[   38.026964]  which belongs to the cache kmalloc-8k of size 8192
[   38.039463] The buggy address is located 0 bytes to the right of
[   38.039463]  allocated 7936-byte region [ffff000808118000, ffff000808119f00)
[   38.052481] 
[   38.053961] The buggy address belongs to the physical page:
[   38.059517] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x888118
[   38.067500] head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
[   38.075141] flags: 0xbfffe0000000040(head|node=0|zone=2|lastcpupid=0x1ffff)
[   38.082083] page_type: f5(slab)
[   38.085221] raw: 0bfffe0000000040 ffff000800003180 dead000000000122 0000000000000000
[   38.092939] raw: 0000000000000000 0000000080020002 00000000f5000000 0000000000000000
[   38.100668] head: 0bfffe0000000040 ffff000800003180 dead000000000122 0000000000000000
[   38.108477] head: 0000000000000000 0000000080020002 00000000f5000000 0000000000000000
[   38.116290] head: 0bfffe0000000003 fffffdffe0204601 00000000ffffffff 00000000ffffffff
[   38.124102] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000008
[   38.131907] page dumped because: kasan: bad access detected
[   38.137463] 
[   38.138938] Memory state around the buggy address:
[   38.143721]  ffff000808119e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   38.150921]  ffff000808119e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   38.158126] >ffff000808119f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   38.165327]                    ^
[   38.168542]  ffff000808119f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   38.175748]  ffff00080811a000: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   38.182948] ==================================================================

[   30.329004] ==================================================================
[   30.329482] BUG: KASAN: slab-out-of-bounds in kmalloc_big_oob_right+0x2a4/0x2f0
[   30.329652] Write of size 1 at addr fff00000c658df00 by task kunit_try_catch/176
[   30.330019] 
[   30.330157] CPU: 0 UID: 0 PID: 176 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250715 #1 PREEMPT 
[   30.330338] Tainted: [B]=BAD_PAGE, [N]=TEST
[   30.330499] Hardware name: linux,dummy-virt (DT)
[   30.330590] Call trace:
[   30.330770]  show_stack+0x20/0x38 (C)
[   30.330847]  dump_stack_lvl+0x8c/0xd0
[   30.331038]  print_report+0x118/0x5d0
[   30.331289]  kasan_report+0xdc/0x128
[   30.331411]  __asan_report_store1_noabort+0x20/0x30
[   30.331569]  kmalloc_big_oob_right+0x2a4/0x2f0
[   30.331835]  kunit_try_run_case+0x170/0x3f0
[   30.331990]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   30.332253]  kthread+0x328/0x630
[   30.332399]  ret_from_fork+0x10/0x20
[   30.332660] 
[   30.332903] Allocated by task 176:
[   30.333474]  kasan_save_stack+0x3c/0x68
[   30.333710]  kasan_save_track+0x20/0x40
[   30.334038]  kasan_save_alloc_info+0x40/0x58
[   30.334292]  __kasan_kmalloc+0xd4/0xd8
[   30.334507]  __kmalloc_cache_noprof+0x16c/0x3c0
[   30.334564]  kmalloc_big_oob_right+0xb8/0x2f0
[   30.334801]  kunit_try_run_case+0x170/0x3f0
[   30.335104]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   30.335463]  kthread+0x328/0x630
[   30.335662]  ret_from_fork+0x10/0x20
[   30.336025] 
[   30.336194] The buggy address belongs to the object at fff00000c658c000
[   30.336194]  which belongs to the cache kmalloc-8k of size 8192
[   30.336378] The buggy address is located 0 bytes to the right of
[   30.336378]  allocated 7936-byte region [fff00000c658c000, fff00000c658df00)
[   30.336566] 
[   30.336697] The buggy address belongs to the physical page:
[   30.336754] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x106588
[   30.336919] head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
[   30.336989] flags: 0xbfffe0000000040(head|node=0|zone=2|lastcpupid=0x1ffff)
[   30.337396] page_type: f5(slab)
[   30.337519] raw: 0bfffe0000000040 fff00000c0002280 dead000000000100 dead000000000122
[   30.337983] raw: 0000000000000000 0000000080020002 00000000f5000000 0000000000000000
[   30.338084] head: 0bfffe0000000040 fff00000c0002280 dead000000000100 dead000000000122
[   30.338242] head: 0000000000000000 0000000080020002 00000000f5000000 0000000000000000
[   30.338290] head: 0bfffe0000000003 ffffc1ffc3196201 00000000ffffffff 00000000ffffffff
[   30.338505] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000008
[   30.338616] page dumped because: kasan: bad access detected
[   30.338894] 
[   30.339105] Memory state around the buggy address:
[   30.339532]  fff00000c658de00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   30.339738]  fff00000c658de80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   30.339986] >fff00000c658df00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   30.340074]                    ^
[   30.340208]  fff00000c658df80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   30.340254]  fff00000c658e000: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   30.340346] ==================================================================

[   23.548314] ==================================================================
[   23.549306] BUG: KASAN: slab-out-of-bounds in kmalloc_big_oob_right+0x316/0x370
[   23.550100] Write of size 1 at addr ffff888102b25f00 by task kunit_try_catch/192
[   23.550461] 
[   23.550854] CPU: 1 UID: 0 PID: 192 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250715 #1 PREEMPT(voluntary) 
[   23.550917] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.550930] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   23.550950] Call Trace:
[   23.550992]  <TASK>
[   23.551008]  dump_stack_lvl+0x73/0xb0
[   23.551038]  print_report+0xd1/0x610
[   23.551061]  ? __virt_addr_valid+0x1db/0x2d0
[   23.551084]  ? kmalloc_big_oob_right+0x316/0x370
[   23.551105]  ? kasan_complete_mode_report_info+0x2a/0x200
[   23.551131]  ? kmalloc_big_oob_right+0x316/0x370
[   23.551153]  kasan_report+0x141/0x180
[   23.551174]  ? kmalloc_big_oob_right+0x316/0x370
[   23.551201]  __asan_report_store1_noabort+0x1b/0x30
[   23.551225]  kmalloc_big_oob_right+0x316/0x370
[   23.551246]  ? __pfx_kmalloc_big_oob_right+0x10/0x10
[   23.551269]  ? __schedule+0x10cc/0x2b60
[   23.551290]  ? __pfx_read_tsc+0x10/0x10
[   23.551311]  ? ktime_get_ts64+0x86/0x230
[   23.551335]  kunit_try_run_case+0x1a5/0x480
[   23.551358]  ? __pfx_kunit_try_run_case+0x10/0x10
[   23.551379]  ? _raw_spin_lock_irqsave+0xa1/0x100
[   23.551400]  ? _raw_spin_unlock_irqrestore+0x5f/0x90
[   23.551422]  ? __kthread_parkme+0x82/0x180
[   23.551442]  ? preempt_count_sub+0x50/0x80
[   23.551466]  ? __pfx_kunit_try_run_case+0x10/0x10
[   23.551488]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   23.551513]  ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10
[   23.551552]  kthread+0x337/0x6f0
[   23.551571]  ? trace_preempt_on+0x20/0xc0
[   23.551616]  ? __pfx_kthread+0x10/0x10
[   23.551637]  ? _raw_spin_unlock_irq+0x47/0x80
[   23.551660]  ? calculate_sigpending+0x7b/0xa0
[   23.551684]  ? __pfx_kthread+0x10/0x10
[   23.551705]  ret_from_fork+0x116/0x1d0
[   23.551724]  ? __pfx_kthread+0x10/0x10
[   23.551744]  ret_from_fork_asm+0x1a/0x30
[   23.551776]  </TASK>
[   23.551786] 
[   23.561560] Allocated by task 192:
[   23.561752]  kasan_save_stack+0x45/0x70
[   23.561895]  kasan_save_track+0x18/0x40
[   23.562659]  kasan_save_alloc_info+0x3b/0x50
[   23.562811]  __kasan_kmalloc+0xb7/0xc0
[   23.563161]  __kmalloc_cache_noprof+0x189/0x420
[   23.563377]  kmalloc_big_oob_right+0xa9/0x370
[   23.563574]  kunit_try_run_case+0x1a5/0x480
[   23.563766]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   23.564052]  kthread+0x337/0x6f0
[   23.564879]  ret_from_fork+0x116/0x1d0
[   23.565054]  ret_from_fork_asm+0x1a/0x30
[   23.565236] 
[   23.565316] The buggy address belongs to the object at ffff888102b24000
[   23.565316]  which belongs to the cache kmalloc-8k of size 8192
[   23.566151] The buggy address is located 0 bytes to the right of
[   23.566151]  allocated 7936-byte region [ffff888102b24000, ffff888102b25f00)
[   23.566623] 
[   23.566915] The buggy address belongs to the physical page:
[   23.567182] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x102b20
[   23.567545] head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
[   23.567983] flags: 0x200000000000040(head|node=0|zone=2)
[   23.568334] page_type: f5(slab)
[   23.568600] raw: 0200000000000040 ffff888100042280 dead000000000100 dead000000000122
[   23.568934] raw: 0000000000000000 0000000080020002 00000000f5000000 0000000000000000
[   23.569345] head: 0200000000000040 ffff888100042280 dead000000000100 dead000000000122
[   23.569805] head: 0000000000000000 0000000080020002 00000000f5000000 0000000000000000
[   23.570209] head: 0200000000000003 ffffea00040ac801 00000000ffffffff 00000000ffffffff
[   23.570661] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000008
[   23.570995] page dumped because: kasan: bad access detected
[   23.571328] 
[   23.571424] Memory state around the buggy address:
[   23.571838]  ffff888102b25e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   23.572173]  ffff888102b25e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   23.572503] >ffff888102b25f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   23.572921]                    ^
[   23.573100]  ffff888102b25f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   23.573491]  ffff888102b26000: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   23.573953] ==================================================================