Date
July 2, 2025, 11:10 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 30.513969] ================================================================== [ 30.514025] BUG: KASAN: slab-out-of-bounds in kmalloc_oob_left+0x2ec/0x320 [ 30.514257] Read of size 1 at addr fff00000c919c6ff by task kunit_try_catch/171 [ 30.514358] [ 30.514428] CPU: 0 UID: 0 PID: 171 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4-next-20250702 #1 PREEMPT [ 30.514514] Tainted: [B]=BAD_PAGE, [N]=TEST [ 30.514541] Hardware name: linux,dummy-virt (DT) [ 30.514590] Call trace: [ 30.514786] show_stack+0x20/0x38 (C) [ 30.514899] dump_stack_lvl+0x8c/0xd0 [ 30.514981] print_report+0x118/0x608 [ 30.515039] kasan_report+0xdc/0x128 [ 30.515086] __asan_report_load1_noabort+0x20/0x30 [ 30.515133] kmalloc_oob_left+0x2ec/0x320 [ 30.515399] kunit_try_run_case+0x170/0x3f0 [ 30.515501] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 30.515627] kthread+0x328/0x630 [ 30.515698] ret_from_fork+0x10/0x20 [ 30.515794] [ 30.515820] Allocated by task 12: [ 30.515849] kasan_save_stack+0x3c/0x68 [ 30.515909] kasan_save_track+0x20/0x40 [ 30.515957] kasan_save_alloc_info+0x40/0x58 [ 30.515993] __kasan_kmalloc+0xd4/0xd8 [ 30.516164] __kmalloc_node_track_caller_noprof+0x194/0x4b8 [ 30.516314] kvasprintf+0xe0/0x180 [ 30.516364] __kthread_create_on_node+0x16c/0x350 [ 30.516401] kthread_create_on_node+0xe4/0x130 [ 30.516437] create_worker+0x380/0x6b8 [ 30.516483] worker_thread+0x808/0xf38 [ 30.516551] kthread+0x328/0x630 [ 30.516584] ret_from_fork+0x10/0x20 [ 30.516647] [ 30.516695] The buggy address belongs to the object at fff00000c919c6e0 [ 30.516695] which belongs to the cache kmalloc-16 of size 16 [ 30.516796] The buggy address is located 19 bytes to the right of [ 30.516796] allocated 12-byte region [fff00000c919c6e0, fff00000c919c6ec) [ 30.516860] [ 30.516880] The buggy address belongs to the physical page: [ 30.516915] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xfff00000c919c6c0 pfn:0x10919c [ 30.517118] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 30.517219] page_type: f5(slab) [ 30.517350] raw: 0bfffe0000000000 fff00000c0001640 dead000000000122 0000000000000000 [ 30.517529] raw: fff00000c919c6c0 000000008080007f 00000000f5000000 0000000000000000 [ 30.517570] page dumped because: kasan: bad access detected [ 30.517724] [ 30.517743] Memory state around the buggy address: [ 30.517774] fff00000c919c580: fa fb fc fc fa fb fc fc fa fb fc fc fa fb fc fc [ 30.517816] fff00000c919c600: fa fb fc fc fa fb fc fc fa fb fc fc fa fb fc fc [ 30.517892] >fff00000c919c680: fa fb fc fc fa fb fc fc fa fb fc fc 00 04 fc fc [ 30.517937] ^ [ 30.517976] fff00000c919c700: 00 07 fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 30.518017] fff00000c919c780: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 30.518054] ==================================================================
[ 32.337821] ================================================================== [ 32.338056] BUG: KASAN: slab-out-of-bounds in kmalloc_oob_left+0x2ec/0x320 [ 32.338201] Read of size 1 at addr fff00000c57888ff by task kunit_try_catch/169 [ 32.338251] [ 32.338281] CPU: 1 UID: 0 PID: 169 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4-next-20250702 #1 PREEMPT [ 32.338364] Tainted: [B]=BAD_PAGE, [N]=TEST [ 32.338391] Hardware name: linux,dummy-virt (DT) [ 32.338421] Call trace: [ 32.338443] show_stack+0x20/0x38 (C) [ 32.338491] dump_stack_lvl+0x8c/0xd0 [ 32.338540] print_report+0x118/0x608 [ 32.338587] kasan_report+0xdc/0x128 [ 32.338632] __asan_report_load1_noabort+0x20/0x30 [ 32.338679] kmalloc_oob_left+0x2ec/0x320 [ 32.338849] kunit_try_run_case+0x170/0x3f0 [ 32.338898] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 32.338951] kthread+0x328/0x630 [ 32.338994] ret_from_fork+0x10/0x20 [ 32.339041] [ 32.339091] Allocated by task 21: [ 32.339139] kasan_save_stack+0x3c/0x68 [ 32.339188] kasan_save_track+0x20/0x40 [ 32.339225] kasan_save_alloc_info+0x40/0x58 [ 32.339260] __kasan_kmalloc+0xd4/0xd8 [ 32.339296] __kmalloc_cache_node_noprof+0x178/0x3d0 [ 32.339408] build_sched_domains+0x32c/0x3768 [ 32.339482] partition_sched_domains+0x79c/0x1098 [ 32.339547] rebuild_sched_domains_locked+0x494/0xde0 [ 32.339644] cpuset_handle_hotplug+0xab0/0x1480 [ 32.339756] cpuset_update_active_cpus+0x18/0x30 [ 32.339826] sched_cpu_activate+0x2d0/0x388 [ 32.339865] cpuhp_invoke_callback+0x5b8/0x1620 [ 32.339906] cpuhp_thread_fun+0x230/0x5d8 [ 32.339940] smpboot_thread_fn+0x2e8/0x760 [ 32.340015] kthread+0x328/0x630 [ 32.340058] ret_from_fork+0x10/0x20 [ 32.340115] [ 32.340147] Freed by task 21: [ 32.340201] kasan_save_stack+0x3c/0x68 [ 32.340243] kasan_save_track+0x20/0x40 [ 32.340279] kasan_save_free_info+0x4c/0x78 [ 32.340342] __kasan_slab_free+0x6c/0x98 [ 32.340418] kfree+0x214/0x3c8 [ 32.340480] build_sched_domains+0x1c64/0x3768 [ 32.340568] partition_sched_domains+0x79c/0x1098 [ 32.340650] rebuild_sched_domains_locked+0x494/0xde0 [ 32.340807] cpuset_handle_hotplug+0xab0/0x1480 [ 32.340883] cpuset_update_active_cpus+0x18/0x30 [ 32.340969] sched_cpu_activate+0x2d0/0x388 [ 32.341037] cpuhp_invoke_callback+0x5b8/0x1620 [ 32.341234] cpuhp_thread_fun+0x230/0x5d8 [ 32.341290] smpboot_thread_fn+0x2e8/0x760 [ 32.341455] kthread+0x328/0x630 [ 32.341493] ret_from_fork+0x10/0x20 [ 32.341539] [ 32.341562] The buggy address belongs to the object at fff00000c57888e0 [ 32.341562] which belongs to the cache kmalloc-16 of size 16 [ 32.341618] The buggy address is located 15 bytes to the right of [ 32.341618] allocated 16-byte region [fff00000c57888e0, fff00000c57888f0) [ 32.341709] [ 32.341803] The buggy address belongs to the physical page: [ 32.341946] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x105788 [ 32.342454] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 32.342870] page_type: f5(slab) [ 32.342912] raw: 0bfffe0000000000 fff00000c0001640 dead000000000100 dead000000000122 [ 32.342962] raw: 0000000000000000 0000000080800080 00000000f5000000 0000000000000000 [ 32.343025] page dumped because: kasan: bad access detected [ 32.343092] [ 32.343140] Memory state around the buggy address: [ 32.343272] fff00000c5788780: fa fb fc fc fa fb fc fc fa fb fc fc fa fb fc fc [ 32.343315] fff00000c5788800: fa fb fc fc fa fb fc fc 00 00 fc fc fa fb fc fc [ 32.343629] >fff00000c5788880: fa fb fc fc fa fb fc fc fa fb fc fc fa fb fc fc [ 32.343670] ^ [ 32.343770] fff00000c5788900: 00 07 fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 32.343811] fff00000c5788980: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 32.343849] ==================================================================
[ 22.454725] ================================================================== [ 22.455398] BUG: KASAN: slab-out-of-bounds in kmalloc_oob_left+0x361/0x3c0 [ 22.456383] Read of size 1 at addr ffff8881048b62ff by task kunit_try_catch/186 [ 22.457232] [ 22.457572] CPU: 1 UID: 0 PID: 186 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4-next-20250702 #1 PREEMPT(voluntary) [ 22.457631] Tainted: [B]=BAD_PAGE, [N]=TEST [ 22.457645] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 22.457668] Call Trace: [ 22.457771] <TASK> [ 22.457795] dump_stack_lvl+0x73/0xb0 [ 22.457851] print_report+0xd1/0x650 [ 22.457873] ? __virt_addr_valid+0x1db/0x2d0 [ 22.457897] ? kmalloc_oob_left+0x361/0x3c0 [ 22.457917] ? kasan_complete_mode_report_info+0x64/0x200 [ 22.457942] ? kmalloc_oob_left+0x361/0x3c0 [ 22.457962] kasan_report+0x141/0x180 [ 22.457983] ? kmalloc_oob_left+0x361/0x3c0 [ 22.458007] __asan_report_load1_noabort+0x18/0x20 [ 22.458030] kmalloc_oob_left+0x361/0x3c0 [ 22.458051] ? __pfx_kmalloc_oob_left+0x10/0x10 [ 22.458072] ? __schedule+0x10cc/0x2b60 [ 22.458093] ? __pfx_read_tsc+0x10/0x10 [ 22.458115] ? ktime_get_ts64+0x86/0x230 [ 22.458141] kunit_try_run_case+0x1a5/0x480 [ 22.458167] ? __pfx_kunit_try_run_case+0x10/0x10 [ 22.458189] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 22.458211] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 22.458232] ? __kthread_parkme+0x82/0x180 [ 22.458252] ? preempt_count_sub+0x50/0x80 [ 22.458276] ? __pfx_kunit_try_run_case+0x10/0x10 [ 22.458299] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 22.458333] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 22.458356] kthread+0x337/0x6f0 [ 22.458376] ? trace_preempt_on+0x20/0xc0 [ 22.458399] ? __pfx_kthread+0x10/0x10 [ 22.458419] ? _raw_spin_unlock_irq+0x47/0x80 [ 22.458442] ? calculate_sigpending+0x7b/0xa0 [ 22.458466] ? __pfx_kthread+0x10/0x10 [ 22.458504] ret_from_fork+0x116/0x1d0 [ 22.458522] ? __pfx_kthread+0x10/0x10 [ 22.458542] ret_from_fork_asm+0x1a/0x30 [ 22.458574] </TASK> [ 22.458587] [ 22.471759] Allocated by task 21: [ 22.472061] kasan_save_stack+0x45/0x70 [ 22.472280] kasan_save_track+0x18/0x40 [ 22.472591] kasan_save_alloc_info+0x3b/0x50 [ 22.472739] __kasan_kmalloc+0xb7/0xc0 [ 22.472878] __kmalloc_cache_node_noprof+0x188/0x420 [ 22.473346] build_sched_domains+0x38c/0x5dd0 [ 22.473778] partition_sched_domains+0x471/0x9c0 [ 22.474234] rebuild_sched_domains_locked+0x97d/0xd50 [ 22.474573] cpuset_update_active_cpus+0x80f/0x1a90 [ 22.474952] sched_cpu_activate+0x2bf/0x330 [ 22.475352] cpuhp_invoke_callback+0x2a1/0xf00 [ 22.475846] cpuhp_thread_fun+0x2ce/0x5c0 [ 22.476061] smpboot_thread_fn+0x2bc/0x730 [ 22.476200] kthread+0x337/0x6f0 [ 22.476325] ret_from_fork+0x116/0x1d0 [ 22.476451] ret_from_fork_asm+0x1a/0x30 [ 22.476784] [ 22.477031] Freed by task 21: [ 22.477335] kasan_save_stack+0x45/0x70 [ 22.477698] kasan_save_track+0x18/0x40 [ 22.478101] kasan_save_free_info+0x3f/0x60 [ 22.478479] __kasan_slab_free+0x56/0x70 [ 22.478869] kfree+0x222/0x3f0 [ 22.479243] build_sched_domains+0x1fff/0x5dd0 [ 22.479657] partition_sched_domains+0x471/0x9c0 [ 22.479988] rebuild_sched_domains_locked+0x97d/0xd50 [ 22.480249] cpuset_update_active_cpus+0x80f/0x1a90 [ 22.480417] sched_cpu_activate+0x2bf/0x330 [ 22.480589] cpuhp_invoke_callback+0x2a1/0xf00 [ 22.481010] cpuhp_thread_fun+0x2ce/0x5c0 [ 22.481381] smpboot_thread_fn+0x2bc/0x730 [ 22.481833] kthread+0x337/0x6f0 [ 22.482213] ret_from_fork+0x116/0x1d0 [ 22.482609] ret_from_fork_asm+0x1a/0x30 [ 22.483022] [ 22.483185] The buggy address belongs to the object at ffff8881048b62e0 [ 22.483185] which belongs to the cache kmalloc-16 of size 16 [ 22.483551] The buggy address is located 15 bytes to the right of [ 22.483551] allocated 16-byte region [ffff8881048b62e0, ffff8881048b62f0) [ 22.483908] [ 22.483976] The buggy address belongs to the physical page: [ 22.484144] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1048b6 [ 22.484392] flags: 0x200000000000000(node=0|zone=2) [ 22.484555] page_type: f5(slab) [ 22.484890] raw: 0200000000000000 ffff888100041640 dead000000000100 dead000000000122 [ 22.486195] raw: 0000000000000000 0000000080800080 00000000f5000000 0000000000000000 [ 22.487426] page dumped because: kasan: bad access detected [ 22.487949] [ 22.488035] Memory state around the buggy address: [ 22.488190] ffff8881048b6180: fa fb fc fc fa fb fc fc 00 06 fc fc 00 06 fc fc [ 22.489134] ffff8881048b6200: 00 06 fc fc fa fb fc fc 00 00 fc fc fa fb fc fc [ 22.490088] >ffff8881048b6280: fa fb fc fc fa fb fc fc fa fb fc fc fa fb fc fc [ 22.490928] ^ [ 22.491352] ffff8881048b6300: 00 07 fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 22.492082] ffff8881048b6380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 22.492978] ==================================================================
[ 22.656416] ================================================================== [ 22.656889] BUG: KASAN: slab-out-of-bounds in kmalloc_oob_left+0x361/0x3c0 [ 22.657562] Read of size 1 at addr ffff888103bdd25f by task kunit_try_catch/187 [ 22.658251] [ 22.658634] CPU: 0 UID: 0 PID: 187 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4-next-20250702 #1 PREEMPT(voluntary) [ 22.658694] Tainted: [B]=BAD_PAGE, [N]=TEST [ 22.658710] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 22.658733] Call Trace: [ 22.658749] <TASK> [ 22.658770] dump_stack_lvl+0x73/0xb0 [ 22.658804] print_report+0xd1/0x650 [ 22.658828] ? __virt_addr_valid+0x1db/0x2d0 [ 22.658853] ? kmalloc_oob_left+0x361/0x3c0 [ 22.658873] ? kasan_complete_mode_report_info+0x64/0x200 [ 22.658900] ? kmalloc_oob_left+0x361/0x3c0 [ 22.658921] kasan_report+0x141/0x180 [ 22.658954] ? kmalloc_oob_left+0x361/0x3c0 [ 22.658979] __asan_report_load1_noabort+0x18/0x20 [ 22.659003] kmalloc_oob_left+0x361/0x3c0 [ 22.659025] ? __pfx_kmalloc_oob_left+0x10/0x10 [ 22.659047] ? __schedule+0x10cc/0x2b60 [ 22.659080] ? __pfx_read_tsc+0x10/0x10 [ 22.659103] ? ktime_get_ts64+0x86/0x230 [ 22.659128] kunit_try_run_case+0x1a5/0x480 [ 22.659155] ? __pfx_kunit_try_run_case+0x10/0x10 [ 22.659179] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 22.659201] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 22.659222] ? __kthread_parkme+0x82/0x180 [ 22.659243] ? preempt_count_sub+0x50/0x80 [ 22.659267] ? __pfx_kunit_try_run_case+0x10/0x10 [ 22.659292] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 22.659316] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 22.659340] kthread+0x337/0x6f0 [ 22.659360] ? trace_preempt_on+0x20/0xc0 [ 22.659384] ? __pfx_kthread+0x10/0x10 [ 22.659405] ? _raw_spin_unlock_irq+0x47/0x80 [ 22.659429] ? calculate_sigpending+0x7b/0xa0 [ 22.659454] ? __pfx_kthread+0x10/0x10 [ 22.659476] ret_from_fork+0x116/0x1d0 [ 22.659496] ? __pfx_kthread+0x10/0x10 [ 22.659516] ret_from_fork_asm+0x1a/0x30 [ 22.659548] </TASK> [ 22.659561] [ 22.670690] Allocated by task 26: [ 22.670991] kasan_save_stack+0x45/0x70 [ 22.671317] kasan_save_track+0x18/0x40 [ 22.671616] kasan_save_alloc_info+0x3b/0x50 [ 22.671930] __kasan_kmalloc+0xb7/0xc0 [ 22.672252] __kmalloc_node_track_caller_noprof+0x1cb/0x500 [ 22.672510] kstrdup+0x3e/0xa0 [ 22.672674] devtmpfs_work_loop+0x96d/0xf30 [ 22.672854] devtmpfsd+0x3b/0x40 [ 22.672978] kthread+0x337/0x6f0 [ 22.673131] ret_from_fork+0x116/0x1d0 [ 22.673445] ret_from_fork_asm+0x1a/0x30 [ 22.673645] [ 22.673797] Freed by task 26: [ 22.673959] kasan_save_stack+0x45/0x70 [ 22.674198] kasan_save_track+0x18/0x40 [ 22.674470] kasan_save_free_info+0x3f/0x60 [ 22.674655] __kasan_slab_free+0x56/0x70 [ 22.674898] kfree+0x222/0x3f0 [ 22.675023] devtmpfs_work_loop+0xacb/0xf30 [ 22.675175] devtmpfsd+0x3b/0x40 [ 22.675295] kthread+0x337/0x6f0 [ 22.675478] ret_from_fork+0x116/0x1d0 [ 22.675719] ret_from_fork_asm+0x1a/0x30 [ 22.675938] [ 22.676016] The buggy address belongs to the object at ffff888103bdd240 [ 22.676016] which belongs to the cache kmalloc-16 of size 16 [ 22.676662] The buggy address is located 15 bytes to the right of [ 22.676662] allocated 16-byte region [ffff888103bdd240, ffff888103bdd250) [ 22.677034] [ 22.677117] The buggy address belongs to the physical page: [ 22.677347] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103bdd [ 22.677964] flags: 0x200000000000000(node=0|zone=2) [ 22.678232] page_type: f5(slab) [ 22.678408] raw: 0200000000000000 ffff888100041640 dead000000000122 0000000000000000 [ 22.678754] raw: 0000000000000000 0000000080800080 00000000f5000000 0000000000000000 [ 22.679056] page dumped because: kasan: bad access detected [ 22.679313] [ 22.679387] Memory state around the buggy address: [ 22.679648] ffff888103bdd100: fa fb fc fc fa fb fc fc fa fb fc fc fa fb fc fc [ 22.679865] ffff888103bdd180: fa fb fc fc fa fb fc fc fa fb fc fc fa fb fc fc [ 22.680133] >ffff888103bdd200: fa fb fc fc fa fb fc fc fa fb fc fc 00 07 fc fc [ 22.680531] ^ [ 22.680924] ffff888103bdd280: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 22.681530] ffff888103bdd300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 22.681844] ==================================================================