Hay
Date
June 2, 2025, 2:11 p.m.

Environment
e850-96
qemu-arm64
qemu-x86_64

[   18.322780] ==================================================================
[   18.332667] BUG: KASAN: slab-out-of-bounds in kmalloc_track_caller_oob_right+0x40c/0x488
[   18.340736] Write of size 1 at addr ffff000802408078 by task kunit_try_catch/189
[   18.348113] 
[   18.349599] CPU: 5 UID: 0 PID: 189 Comm: kunit_try_catch Tainted: G    B            N  6.15.1-rc1 #1 PREEMPT 
[   18.349657] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.349670] Hardware name: WinLink E850-96 board (DT)
[   18.349690] Call trace:
[   18.349700]  show_stack+0x20/0x38 (C)
[   18.349734]  dump_stack_lvl+0x8c/0xd0
[   18.349766]  print_report+0x118/0x608
[   18.349795]  kasan_report+0xdc/0x128
[   18.349824]  __asan_report_store1_noabort+0x20/0x30
[   18.349858]  kmalloc_track_caller_oob_right+0x40c/0x488
[   18.349895]  kunit_try_run_case+0x170/0x3f0
[   18.349930]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   18.349967]  kthread+0x328/0x630
[   18.350000]  ret_from_fork+0x10/0x20
[   18.350033] 
[   18.413565] Allocated by task 189:
[   18.416952]  kasan_save_stack+0x3c/0x68
[   18.420769]  kasan_save_track+0x20/0x40
[   18.424588]  kasan_save_alloc_info+0x40/0x58
[   18.428841]  __kasan_kmalloc+0xd4/0xd8
[   18.432574]  __kmalloc_node_track_caller_noprof+0x194/0x4b8
[   18.438130]  kmalloc_track_caller_oob_right+0xa8/0x488
[   18.443251]  kunit_try_run_case+0x170/0x3f0
[   18.447417]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   18.452886]  kthread+0x328/0x630
[   18.456098]  ret_from_fork+0x10/0x20
[   18.459657] 
[   18.461135] The buggy address belongs to the object at ffff000802408000
[   18.461135]  which belongs to the cache kmalloc-128 of size 128
[   18.473634] The buggy address is located 0 bytes to the right of
[   18.473634]  allocated 120-byte region [ffff000802408000, ffff000802408078)
[   18.486566] 
[   18.488045] The buggy address belongs to the physical page:
[   18.493602] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x882408
[   18.501587] head: order:1 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
[   18.509226] flags: 0xbfffe0000000040(head|node=0|zone=2|lastcpupid=0x1ffff)
[   18.516168] page_type: f5(slab)
[   18.519306] raw: 0bfffe0000000040 ffff000800002a00 dead000000000122 0000000000000000
[   18.527023] raw: 0000000000000000 0000000080200020 00000000f5000000 0000000000000000
[   18.534749] head: 0bfffe0000000040 ffff000800002a00 dead000000000122 0000000000000000
[   18.542563] head: 0000000000000000 0000000080200020 00000000f5000000 0000000000000000
[   18.550374] head: 0bfffe0000000001 fffffdffe0090201 00000000ffffffff 00000000ffffffff
[   18.558186] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000002
[   18.565992] page dumped because: kasan: bad access detected
[   18.571547] 
[   18.573023] Memory state around the buggy address:
[   18.577803]  ffff000802407f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   18.585006]  ffff000802407f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   18.592212] >ffff000802408000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fc
[   18.599412]                                                                 ^
[   18.606533]  ffff000802408080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   18.613738]  ffff000802408100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   18.620940] ==================================================================

[   17.378595] ==================================================================
[   17.378665] BUG: KASAN: slab-out-of-bounds in kmalloc_track_caller_oob_right+0x40c/0x488
[   17.379069] Write of size 1 at addr fff00000c3f75178 by task kunit_try_catch/145
[   17.379169] 
[   17.379205] CPU: 1 UID: 0 PID: 145 Comm: kunit_try_catch Tainted: G    B            N  6.15.1-rc1 #1 PREEMPT 
[   17.379288] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.379327] Hardware name: linux,dummy-virt (DT)
[   17.379373] Call trace:
[   17.379415]  show_stack+0x20/0x38 (C)
[   17.379471]  dump_stack_lvl+0x8c/0xd0
[   17.379521]  print_report+0x118/0x608
[   17.379700]  kasan_report+0xdc/0x128
[   17.379782]  __asan_report_store1_noabort+0x20/0x30
[   17.379836]  kmalloc_track_caller_oob_right+0x40c/0x488
[   17.379908]  kunit_try_run_case+0x170/0x3f0
[   17.379976]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   17.380044]  kthread+0x328/0x630
[   17.380100]  ret_from_fork+0x10/0x20
[   17.380167] 
[   17.380215] Allocated by task 145:
[   17.380253]  kasan_save_stack+0x3c/0x68
[   17.380300]  kasan_save_track+0x20/0x40
[   17.380336]  kasan_save_alloc_info+0x40/0x58
[   17.380387]  __kasan_kmalloc+0xd4/0xd8
[   17.380437]  __kmalloc_node_track_caller_noprof+0x194/0x4b8
[   17.380482]  kmalloc_track_caller_oob_right+0xa8/0x488
[   17.380528]  kunit_try_run_case+0x170/0x3f0
[   17.380572]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   17.380626]  kthread+0x328/0x630
[   17.380661]  ret_from_fork+0x10/0x20
[   17.380704] 
[   17.380906] The buggy address belongs to the object at fff00000c3f75100
[   17.380906]  which belongs to the cache kmalloc-128 of size 128
[   17.381014] The buggy address is located 0 bytes to the right of
[   17.381014]  allocated 120-byte region [fff00000c3f75100, fff00000c3f75178)
[   17.381079] 
[   17.381099] The buggy address belongs to the physical page:
[   17.381138] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103f75
[   17.381203] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   17.381546] page_type: f5(slab)
[   17.381645] raw: 0bfffe0000000000 fff00000c0001a00 dead000000000122 0000000000000000
[   17.381710] raw: 0000000000000000 0000000080100010 00000000f5000000 0000000000000000
[   17.381782] page dumped because: kasan: bad access detected
[   17.381852] 
[   17.381882] Memory state around the buggy address:
[   17.381964]  fff00000c3f75000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[   17.382016]  fff00000c3f75080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   17.382057] >fff00000c3f75100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fc
[   17.382094]                                                                 ^
[   17.382345]  fff00000c3f75180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   17.382722]  fff00000c3f75200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   17.383022] ==================================================================
[   17.383756] ==================================================================
[   17.383810] BUG: KASAN: slab-out-of-bounds in kmalloc_track_caller_oob_right+0x418/0x488
[   17.383864] Write of size 1 at addr fff00000c3f75278 by task kunit_try_catch/145
[   17.383911] 
[   17.383949] CPU: 1 UID: 0 PID: 145 Comm: kunit_try_catch Tainted: G    B            N  6.15.1-rc1 #1 PREEMPT 
[   17.384030] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.384055] Hardware name: linux,dummy-virt (DT)
[   17.384085] Call trace:
[   17.384107]  show_stack+0x20/0x38 (C)
[   17.384154]  dump_stack_lvl+0x8c/0xd0
[   17.384203]  print_report+0x118/0x608
[   17.384248]  kasan_report+0xdc/0x128
[   17.384293]  __asan_report_store1_noabort+0x20/0x30
[   17.384344]  kmalloc_track_caller_oob_right+0x418/0x488
[   17.384412]  kunit_try_run_case+0x170/0x3f0
[   17.384473]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   17.384537]  kthread+0x328/0x630
[   17.384584]  ret_from_fork+0x10/0x20
[   17.384632] 
[   17.384650] Allocated by task 145:
[   17.384677]  kasan_save_stack+0x3c/0x68
[   17.384715]  kasan_save_track+0x20/0x40
[   17.384757]  kasan_save_alloc_info+0x40/0x58
[   17.384805]  __kasan_kmalloc+0xd4/0xd8
[   17.384840]  __kmalloc_node_track_caller_noprof+0x194/0x4b8
[   17.384893]  kmalloc_track_caller_oob_right+0x184/0x488
[   17.384943]  kunit_try_run_case+0x170/0x3f0
[   17.384983]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   17.385028]  kthread+0x328/0x630
[   17.385062]  ret_from_fork+0x10/0x20
[   17.385105] 
[   17.385124] The buggy address belongs to the object at fff00000c3f75200
[   17.385124]  which belongs to the cache kmalloc-128 of size 128
[   17.385187] The buggy address is located 0 bytes to the right of
[   17.385187]  allocated 120-byte region [fff00000c3f75200, fff00000c3f75278)
[   17.385248] 
[   17.385266] The buggy address belongs to the physical page:
[   17.385295] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103f75
[   17.385787] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   17.386318] page_type: f5(slab)
[   17.386386] raw: 0bfffe0000000000 fff00000c0001a00 dead000000000122 0000000000000000
[   17.386437] raw: 0000000000000000 0000000080100010 00000000f5000000 0000000000000000
[   17.386494] page dumped because: kasan: bad access detected
[   17.386978] 
[   17.387030] Memory state around the buggy address:
[   17.387065]  fff00000c3f75100: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[   17.387126]  fff00000c3f75180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   17.387443] >fff00000c3f75200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fc
[   17.387562]                                                                 ^
[   17.387641]  fff00000c3f75280: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   17.387699]  fff00000c3f75300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   17.387992] ==================================================================

[   15.657813] ==================================================================
[   15.658292] BUG: KASAN: slab-out-of-bounds in kmalloc_track_caller_oob_right+0x4b1/0x520
[   15.658602] Write of size 1 at addr ffff888101de5478 by task kunit_try_catch/163
[   15.658789] 
[   15.658882] CPU: 1 UID: 0 PID: 163 Comm: kunit_try_catch Tainted: G    B            N  6.15.1-rc1 #1 PREEMPT(voluntary) 
[   15.658946] Tainted: [B]=BAD_PAGE, [N]=TEST
[   15.658960] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   15.658984] Call Trace:
[   15.659002]  <TASK>
[   15.659026]  dump_stack_lvl+0x73/0xb0
[   15.659060]  print_report+0xd1/0x650
[   15.659084]  ? __virt_addr_valid+0x1db/0x2d0
[   15.659114]  ? kmalloc_track_caller_oob_right+0x4b1/0x520
[   15.659149]  ? kasan_complete_mode_report_info+0x2a/0x200
[   15.659187]  ? kmalloc_track_caller_oob_right+0x4b1/0x520
[   15.659228]  kasan_report+0x141/0x180
[   15.659274]  ? kmalloc_track_caller_oob_right+0x4b1/0x520
[   15.659331]  __asan_report_store1_noabort+0x1b/0x30
[   15.659378]  kmalloc_track_caller_oob_right+0x4b1/0x520
[   15.659426]  ? __pfx_kmalloc_track_caller_oob_right+0x10/0x10
[   15.659848]  ? __pfx_read_tsc+0x10/0x10
[   15.659959]  ? ktime_get_ts64+0x86/0x230
[   15.660017]  kunit_try_run_case+0x1a5/0x480
[   15.660067]  ? __pfx_kunit_try_run_case+0x10/0x10
[   15.660107]  ? _raw_spin_lock_irqsave+0xa1/0x100
[   15.660198]  ? _raw_spin_unlock_irqrestore+0x5f/0x90
[   15.660250]  ? __kthread_parkme+0x82/0x180
[   15.660303]  ? preempt_count_sub+0x50/0x80
[   15.660361]  ? __pfx_kunit_try_run_case+0x10/0x10
[   15.660412]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.660465]  ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10
[   15.660515]  kthread+0x337/0x6f0
[   15.660555]  ? trace_preempt_on+0x20/0xc0
[   15.660612]  ? __pfx_kthread+0x10/0x10
[   15.660646]  ? _raw_spin_unlock_irq+0x47/0x80
[   15.660681]  ? calculate_sigpending+0x7b/0xa0
[   15.660716]  ? __pfx_kthread+0x10/0x10
[   15.660745]  ret_from_fork+0x41/0x80
[   15.660794]  ? __pfx_kthread+0x10/0x10
[   15.660823]  ret_from_fork_asm+0x1a/0x30
[   15.660876]  </TASK>
[   15.660900] 
[   15.675675] Allocated by task 163:
[   15.676096]  kasan_save_stack+0x45/0x70
[   15.676509]  kasan_save_track+0x18/0x40
[   15.677818]  kasan_save_alloc_info+0x3b/0x50
[   15.678688]  __kasan_kmalloc+0xb7/0xc0
[   15.678958]  __kmalloc_node_track_caller_noprof+0x1cb/0x500
[   15.679176]  kmalloc_track_caller_oob_right+0x19a/0x520
[   15.679594]  kunit_try_run_case+0x1a5/0x480
[   15.680172]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.680936]  kthread+0x337/0x6f0
[   15.681275]  ret_from_fork+0x41/0x80
[   15.681596]  ret_from_fork_asm+0x1a/0x30
[   15.682045] 
[   15.682900] The buggy address belongs to the object at ffff888101de5400
[   15.682900]  which belongs to the cache kmalloc-128 of size 128
[   15.683575] The buggy address is located 0 bytes to the right of
[   15.683575]  allocated 120-byte region [ffff888101de5400, ffff888101de5478)
[   15.684681] 
[   15.684822] The buggy address belongs to the physical page:
[   15.685125] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x101de5
[   15.685956] flags: 0x200000000000000(node=0|zone=2)
[   15.686447] page_type: f5(slab)
[   15.687048] raw: 0200000000000000 ffff888100041a00 dead000000000122 0000000000000000
[   15.687494] raw: 0000000000000000 0000000080100010 00000000f5000000 0000000000000000
[   15.688872] page dumped because: kasan: bad access detected
[   15.689386] 
[   15.689466] Memory state around the buggy address:
[   15.689589]  ffff888101de5300: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[   15.689739]  ffff888101de5380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   15.689907] >ffff888101de5400: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fc
[   15.690049]                                                                 ^
[   15.690308]  ffff888101de5480: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   15.690950]  ffff888101de5500: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   15.691808] ==================================================================
[   15.620683] ==================================================================
[   15.621314] BUG: KASAN: slab-out-of-bounds in kmalloc_track_caller_oob_right+0x4c8/0x520
[   15.622288] Write of size 1 at addr ffff888101de5378 by task kunit_try_catch/163
[   15.622803] 
[   15.623054] CPU: 1 UID: 0 PID: 163 Comm: kunit_try_catch Tainted: G    B            N  6.15.1-rc1 #1 PREEMPT(voluntary) 
[   15.623577] Tainted: [B]=BAD_PAGE, [N]=TEST
[   15.623617] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   15.623674] Call Trace:
[   15.623703]  <TASK>
[   15.623744]  dump_stack_lvl+0x73/0xb0
[   15.623837]  print_report+0xd1/0x650
[   15.623886]  ? __virt_addr_valid+0x1db/0x2d0
[   15.623939]  ? kmalloc_track_caller_oob_right+0x4c8/0x520
[   15.623981]  ? kasan_complete_mode_report_info+0x2a/0x200
[   15.624029]  ? kmalloc_track_caller_oob_right+0x4c8/0x520
[   15.624073]  kasan_report+0x141/0x180
[   15.624115]  ? kmalloc_track_caller_oob_right+0x4c8/0x520
[   15.624162]  __asan_report_store1_noabort+0x1b/0x30
[   15.624216]  kmalloc_track_caller_oob_right+0x4c8/0x520
[   15.624270]  ? __pfx_kmalloc_track_caller_oob_right+0x10/0x10
[   15.624327]  ? __pfx_read_tsc+0x10/0x10
[   15.624375]  ? ktime_get_ts64+0x86/0x230
[   15.624437]  kunit_try_run_case+0x1a5/0x480
[   15.624483]  ? __pfx_kunit_try_run_case+0x10/0x10
[   15.624519]  ? _raw_spin_lock_irqsave+0xa1/0x100
[   15.624557]  ? _raw_spin_unlock_irqrestore+0x5f/0x90
[   15.624589]  ? __kthread_parkme+0x82/0x180
[   15.624623]  ? preempt_count_sub+0x50/0x80
[   15.624668]  ? __pfx_kunit_try_run_case+0x10/0x10
[   15.624706]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.624731]  ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10
[   15.624779]  kthread+0x337/0x6f0
[   15.624801]  ? trace_preempt_on+0x20/0xc0
[   15.624829]  ? __pfx_kthread+0x10/0x10
[   15.624849]  ? _raw_spin_unlock_irq+0x47/0x80
[   15.624871]  ? calculate_sigpending+0x7b/0xa0
[   15.624896]  ? __pfx_kthread+0x10/0x10
[   15.624916]  ret_from_fork+0x41/0x80
[   15.624939]  ? __pfx_kthread+0x10/0x10
[   15.624959]  ret_from_fork_asm+0x1a/0x30
[   15.624993]  </TASK>
[   15.625009] 
[   15.638971] Allocated by task 163:
[   15.639348]  kasan_save_stack+0x45/0x70
[   15.639831]  kasan_save_track+0x18/0x40
[   15.640404]  kasan_save_alloc_info+0x3b/0x50
[   15.640819]  __kasan_kmalloc+0xb7/0xc0
[   15.641476]  __kmalloc_node_track_caller_noprof+0x1cb/0x500
[   15.642006]  kmalloc_track_caller_oob_right+0x99/0x520
[   15.642271]  kunit_try_run_case+0x1a5/0x480
[   15.642670]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.643258]  kthread+0x337/0x6f0
[   15.643574]  ret_from_fork+0x41/0x80
[   15.644094]  ret_from_fork_asm+0x1a/0x30
[   15.644305] 
[   15.644711] The buggy address belongs to the object at ffff888101de5300
[   15.644711]  which belongs to the cache kmalloc-128 of size 128
[   15.646085] The buggy address is located 0 bytes to the right of
[   15.646085]  allocated 120-byte region [ffff888101de5300, ffff888101de5378)
[   15.646966] 
[   15.647775] The buggy address belongs to the physical page:
[   15.648140] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x101de5
[   15.648873] flags: 0x200000000000000(node=0|zone=2)
[   15.649321] page_type: f5(slab)
[   15.649517] raw: 0200000000000000 ffff888100041a00 dead000000000122 0000000000000000
[   15.650415] raw: 0000000000000000 0000000080100010 00000000f5000000 0000000000000000
[   15.650741] page dumped because: kasan: bad access detected
[   15.651200] 
[   15.651384] Memory state around the buggy address:
[   15.651659]  ffff888101de5200: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[   15.652236]  ffff888101de5280: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   15.653034] >ffff888101de5300: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fc
[   15.653573]                                                                 ^
[   15.653971]  ffff888101de5380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   15.654717]  ffff888101de5400: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   15.655421] ==================================================================