Date
July 20, 2025, 11:12 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 16.219726] ================================================================== [ 16.219832] BUG: KASAN: slab-out-of-bounds in kmalloc_oob_left+0x2ec/0x320 [ 16.220144] Read of size 1 at addr fff00000c59ab8bf by task kunit_try_catch/138 [ 16.220303] [ 16.220449] CPU: 1 UID: 0 PID: 138 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc7 #1 PREEMPT [ 16.220603] Tainted: [B]=BAD_PAGE, [N]=TEST [ 16.220678] Hardware name: linux,dummy-virt (DT) [ 16.220716] Call trace: [ 16.220828] show_stack+0x20/0x38 (C) [ 16.220908] dump_stack_lvl+0x8c/0xd0 [ 16.220954] print_report+0x118/0x5d0 [ 16.221007] kasan_report+0xdc/0x128 [ 16.221230] __asan_report_load1_noabort+0x20/0x30 [ 16.221324] kmalloc_oob_left+0x2ec/0x320 [ 16.221528] kunit_try_run_case+0x170/0x3f0 [ 16.221575] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 16.221627] kthread+0x328/0x630 [ 16.221668] ret_from_fork+0x10/0x20 [ 16.221715] [ 16.221733] Allocated by task 24: [ 16.221760] kasan_save_stack+0x3c/0x68 [ 16.221847] kasan_save_track+0x20/0x40 [ 16.221884] kasan_save_alloc_info+0x40/0x58 [ 16.221932] __kasan_kmalloc+0xd4/0xd8 [ 16.221967] __kmalloc_node_track_caller_noprof+0x194/0x4b8 [ 16.222011] kvasprintf+0xe0/0x180 [ 16.222045] __kthread_create_on_node+0x16c/0x350 [ 16.222083] kthread_create_on_node+0xe4/0x130 [ 16.222119] create_worker+0x380/0x6b8 [ 16.222154] worker_thread+0x808/0xf38 [ 16.222187] kthread+0x328/0x630 [ 16.222219] ret_from_fork+0x10/0x20 [ 16.222253] [ 16.222271] The buggy address belongs to the object at fff00000c59ab8a0 [ 16.222271] which belongs to the cache kmalloc-16 of size 16 [ 16.222328] The buggy address is located 19 bytes to the right of [ 16.222328] allocated 12-byte region [fff00000c59ab8a0, fff00000c59ab8ac) [ 16.222390] [ 16.222427] The buggy address belongs to the physical page: [ 16.222464] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1059ab [ 16.222538] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 16.222586] page_type: f5(slab) [ 16.222624] raw: 0bfffe0000000000 fff00000c0001640 dead000000000122 0000000000000000 [ 16.222702] raw: 0000000000000000 0000000080800080 00000000f5000000 0000000000000000 [ 16.222743] page dumped because: kasan: bad access detected [ 16.222772] [ 16.222789] Memory state around the buggy address: [ 16.222819] fff00000c59ab780: 00 02 fc fc 00 05 fc fc fa fb fc fc 00 02 fc fc [ 16.222861] fff00000c59ab800: fa fb fc fc fa fb fc fc fa fb fc fc fa fb fc fc [ 16.222912] >fff00000c59ab880: fa fb fc fc 00 04 fc fc 00 07 fc fc fc fc fc fc [ 16.222949] ^ [ 16.222981] fff00000c59ab900: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 16.223023] fff00000c59ab980: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 16.223059] ==================================================================
[ 16.313842] ================================================================== [ 16.313934] BUG: KASAN: slab-out-of-bounds in kmalloc_oob_left+0x2ec/0x320 [ 16.313991] Read of size 1 at addr fff00000c1375adf by task kunit_try_catch/138 [ 16.314041] [ 16.314265] CPU: 1 UID: 0 PID: 138 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc7 #1 PREEMPT [ 16.314492] Tainted: [B]=BAD_PAGE, [N]=TEST [ 16.314678] Hardware name: linux,dummy-virt (DT) [ 16.314736] Call trace: [ 16.314831] show_stack+0x20/0x38 (C) [ 16.314933] dump_stack_lvl+0x8c/0xd0 [ 16.315198] print_report+0x118/0x5d0 [ 16.315280] kasan_report+0xdc/0x128 [ 16.315528] __asan_report_load1_noabort+0x20/0x30 [ 16.315606] kmalloc_oob_left+0x2ec/0x320 [ 16.315805] kunit_try_run_case+0x170/0x3f0 [ 16.316044] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 16.316217] kthread+0x328/0x630 [ 16.316311] ret_from_fork+0x10/0x20 [ 16.316385] [ 16.316524] Allocated by task 26: [ 16.316657] kasan_save_stack+0x3c/0x68 [ 16.316713] kasan_save_track+0x20/0x40 [ 16.316751] kasan_save_alloc_info+0x40/0x58 [ 16.316816] __kasan_kmalloc+0xd4/0xd8 [ 16.316988] __kmalloc_node_track_caller_noprof+0x194/0x4b8 [ 16.317186] kstrdup+0x54/0xc8 [ 16.317249] devtmpfs_work_loop+0x6f8/0xa58 [ 16.317413] devtmpfsd+0x50/0x58 [ 16.317500] kthread+0x328/0x630 [ 16.317653] ret_from_fork+0x10/0x20 [ 16.317743] [ 16.317880] Freed by task 26: [ 16.317928] kasan_save_stack+0x3c/0x68 [ 16.317989] kasan_save_track+0x20/0x40 [ 16.318026] kasan_save_free_info+0x4c/0x78 [ 16.318302] __kasan_slab_free+0x6c/0x98 [ 16.318458] kfree+0x214/0x3c8 [ 16.318552] devtmpfs_work_loop+0x804/0xa58 [ 16.318707] devtmpfsd+0x50/0x58 [ 16.318763] kthread+0x328/0x630 [ 16.319048] ret_from_fork+0x10/0x20 [ 16.319253] [ 16.319280] The buggy address belongs to the object at fff00000c1375ac0 [ 16.319280] which belongs to the cache kmalloc-16 of size 16 [ 16.319366] The buggy address is located 15 bytes to the right of [ 16.319366] allocated 16-byte region [fff00000c1375ac0, fff00000c1375ad0) [ 16.319658] [ 16.319798] The buggy address belongs to the physical page: [ 16.319877] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x101375 [ 16.320044] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 16.320114] page_type: f5(slab) [ 16.320200] raw: 0bfffe0000000000 fff00000c0001640 dead000000000122 0000000000000000 [ 16.320555] raw: 0000000000000000 0000000080800080 00000000f5000000 0000000000000000 [ 16.320641] page dumped because: kasan: bad access detected [ 16.320747] [ 16.320820] Memory state around the buggy address: [ 16.320911] fff00000c1375980: fa fb fc fc 00 01 fc fc fa fb fc fc fa fb fc fc [ 16.320968] fff00000c1375a00: 00 07 fc fc fa fb fc fc fa fb fc fc 00 04 fc fc [ 16.321082] >fff00000c1375a80: fa fb fc fc fa fb fc fc fa fb fc fc 00 07 fc fc [ 16.321140] ^ [ 16.321357] fff00000c1375b00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 16.321548] fff00000c1375b80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 16.321726] ==================================================================
[ 12.032982] ================================================================== [ 12.033617] BUG: KASAN: slab-out-of-bounds in kmalloc_oob_left+0x361/0x3c0 [ 12.033966] Read of size 1 at addr ffff888101b1cbbf by task kunit_try_catch/156 [ 12.034307] [ 12.034453] CPU: 1 UID: 0 PID: 156 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc7 #1 PREEMPT(voluntary) [ 12.034499] Tainted: [B]=BAD_PAGE, [N]=TEST [ 12.034534] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 12.034556] Call Trace: [ 12.034570] <TASK> [ 12.034589] dump_stack_lvl+0x73/0xb0 [ 12.034620] print_report+0xd1/0x610 [ 12.034642] ? __virt_addr_valid+0x1db/0x2d0 [ 12.034684] ? kmalloc_oob_left+0x361/0x3c0 [ 12.034704] ? kasan_complete_mode_report_info+0x64/0x200 [ 12.034726] ? kmalloc_oob_left+0x361/0x3c0 [ 12.034747] kasan_report+0x141/0x180 [ 12.034769] ? kmalloc_oob_left+0x361/0x3c0 [ 12.034795] __asan_report_load1_noabort+0x18/0x20 [ 12.034819] kmalloc_oob_left+0x361/0x3c0 [ 12.034840] ? __pfx_kmalloc_oob_left+0x10/0x10 [ 12.034862] ? __schedule+0x10c6/0x2b60 [ 12.034885] ? __pfx_read_tsc+0x10/0x10 [ 12.034906] ? ktime_get_ts64+0x86/0x230 [ 12.034932] kunit_try_run_case+0x1a5/0x480 [ 12.034974] ? __pfx_kunit_try_run_case+0x10/0x10 [ 12.034996] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 12.035019] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 12.035090] ? __kthread_parkme+0x82/0x180 [ 12.035112] ? preempt_count_sub+0x50/0x80 [ 12.035137] ? __pfx_kunit_try_run_case+0x10/0x10 [ 12.035161] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 12.035203] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 12.035226] kthread+0x337/0x6f0 [ 12.035245] ? trace_preempt_on+0x20/0xc0 [ 12.035269] ? __pfx_kthread+0x10/0x10 [ 12.035289] ? _raw_spin_unlock_irq+0x47/0x80 [ 12.035311] ? calculate_sigpending+0x7b/0xa0 [ 12.035334] ? __pfx_kthread+0x10/0x10 [ 12.035356] ret_from_fork+0x116/0x1d0 [ 12.035374] ? __pfx_kthread+0x10/0x10 [ 12.035394] ret_from_fork_asm+0x1a/0x30 [ 12.035439] </TASK> [ 12.035451] [ 12.043279] Allocated by task 1: [ 12.043424] kasan_save_stack+0x45/0x70 [ 12.043595] kasan_save_track+0x18/0x40 [ 12.043787] kasan_save_alloc_info+0x3b/0x50 [ 12.043999] __kasan_kmalloc+0xb7/0xc0 [ 12.044187] __kmalloc_node_track_caller_noprof+0x1cb/0x500 [ 12.044687] kvasprintf+0xc5/0x150 [ 12.044862] __kthread_create_on_node+0x18b/0x3a0 [ 12.045107] kthread_create_on_node+0xab/0xe0 [ 12.045354] cryptomgr_notify+0x704/0x9f0 [ 12.045631] notifier_call_chain+0xcb/0x250 [ 12.045838] blocking_notifier_call_chain+0x64/0x90 [ 12.046069] crypto_alg_mod_lookup+0x21f/0x440 [ 12.046354] crypto_alloc_tfm_node+0xc5/0x1f0 [ 12.046516] crypto_alloc_sig+0x23/0x30 [ 12.046655] public_key_verify_signature+0x208/0x9f0 [ 12.046825] x509_check_for_self_signed+0x2cb/0x480 [ 12.046990] x509_cert_parse+0x59c/0x830 [ 12.047258] x509_key_preparse+0x68/0x8a0 [ 12.047502] asymmetric_key_preparse+0xb1/0x160 [ 12.047742] __key_create_or_update+0x43d/0xcc0 [ 12.047975] key_create_or_update+0x17/0x20 [ 12.048193] x509_load_certificate_list+0x174/0x200 [ 12.048456] regulatory_init_db+0xee/0x3a0 [ 12.048763] do_one_initcall+0xd8/0x370 [ 12.048973] kernel_init_freeable+0x420/0x6f0 [ 12.049275] kernel_init+0x23/0x1e0 [ 12.049493] ret_from_fork+0x116/0x1d0 [ 12.049680] ret_from_fork_asm+0x1a/0x30 [ 12.049882] [ 12.050017] Freed by task 0: [ 12.050190] kasan_save_stack+0x45/0x70 [ 12.050509] kasan_save_track+0x18/0x40 [ 12.050711] kasan_save_free_info+0x3f/0x60 [ 12.050917] __kasan_slab_free+0x56/0x70 [ 12.051058] kfree+0x222/0x3f0 [ 12.051180] free_kthread_struct+0xeb/0x150 [ 12.051327] free_task+0xf3/0x130 [ 12.051674] __put_task_struct+0x1c8/0x480 [ 12.051918] delayed_put_task_struct+0x10a/0x150 [ 12.052165] rcu_core+0x66f/0x1c40 [ 12.052365] rcu_core_si+0x12/0x20 [ 12.052574] handle_softirqs+0x209/0x730 [ 12.052843] __irq_exit_rcu+0xc9/0x110 [ 12.053143] irq_exit_rcu+0x12/0x20 [ 12.053302] sysvec_apic_timer_interrupt+0x81/0x90 [ 12.053545] asm_sysvec_apic_timer_interrupt+0x1f/0x30 [ 12.053805] [ 12.053884] The buggy address belongs to the object at ffff888101b1cba0 [ 12.053884] which belongs to the cache kmalloc-16 of size 16 [ 12.054351] The buggy address is located 15 bytes to the right of [ 12.054351] allocated 16-byte region [ffff888101b1cba0, ffff888101b1cbb0) [ 12.055110] [ 12.055216] The buggy address belongs to the physical page: [ 12.055459] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x101b1c [ 12.055801] flags: 0x200000000000000(node=0|zone=2) [ 12.056041] page_type: f5(slab) [ 12.056232] raw: 0200000000000000 ffff888100041640 dead000000000122 0000000000000000 [ 12.056602] raw: 0000000000000000 0000000080800080 00000000f5000000 0000000000000000 [ 12.056937] page dumped because: kasan: bad access detected [ 12.057198] [ 12.057291] Memory state around the buggy address: [ 12.057521] ffff888101b1ca80: fa fb fc fc 00 02 fc fc 00 05 fc fc 00 02 fc fc [ 12.057827] ffff888101b1cb00: 00 02 fc fc 00 02 fc fc 00 02 fc fc fa fb fc fc [ 12.058038] >ffff888101b1cb80: fa fb fc fc fa fb fc fc 00 07 fc fc fc fc fc fc [ 12.058242] ^ [ 12.058743] ffff888101b1cc00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 12.059365] ffff888101b1cc80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 12.060072] ==================================================================
[ 12.134052] ================================================================== [ 12.134556] BUG: KASAN: slab-out-of-bounds in kmalloc_oob_left+0x361/0x3c0 [ 12.134926] Read of size 1 at addr ffff88810239737f by task kunit_try_catch/155 [ 12.135242] [ 12.135412] CPU: 0 UID: 0 PID: 155 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc7 #1 PREEMPT(voluntary) [ 12.135461] Tainted: [B]=BAD_PAGE, [N]=TEST [ 12.135490] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 12.135515] Call Trace: [ 12.135528] <TASK> [ 12.135549] dump_stack_lvl+0x73/0xb0 [ 12.135581] print_report+0xd1/0x610 [ 12.135603] ? __virt_addr_valid+0x1db/0x2d0 [ 12.135627] ? kmalloc_oob_left+0x361/0x3c0 [ 12.135647] ? kasan_complete_mode_report_info+0x2a/0x200 [ 12.135668] ? kmalloc_oob_left+0x361/0x3c0 [ 12.135689] kasan_report+0x141/0x180 [ 12.135710] ? kmalloc_oob_left+0x361/0x3c0 [ 12.135734] __asan_report_load1_noabort+0x18/0x20 [ 12.135758] kmalloc_oob_left+0x361/0x3c0 [ 12.135780] ? __pfx_kmalloc_oob_left+0x10/0x10 [ 12.135801] ? __schedule+0x10c6/0x2b60 [ 12.135824] ? __pfx_read_tsc+0x10/0x10 [ 12.135863] ? ktime_get_ts64+0x86/0x230 [ 12.135888] kunit_try_run_case+0x1a5/0x480 [ 12.135913] ? __pfx_kunit_try_run_case+0x10/0x10 [ 12.135935] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 12.135958] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 12.135981] ? __kthread_parkme+0x82/0x180 [ 12.136001] ? preempt_count_sub+0x50/0x80 [ 12.136025] ? __pfx_kunit_try_run_case+0x10/0x10 [ 12.136048] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 12.136070] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 12.136093] kthread+0x337/0x6f0 [ 12.136112] ? trace_preempt_on+0x20/0xc0 [ 12.136135] ? __pfx_kthread+0x10/0x10 [ 12.136168] ? _raw_spin_unlock_irq+0x47/0x80 [ 12.136188] ? calculate_sigpending+0x7b/0xa0 [ 12.136212] ? __pfx_kthread+0x10/0x10 [ 12.136233] ret_from_fork+0x116/0x1d0 [ 12.136251] ? __pfx_kthread+0x10/0x10 [ 12.136271] ret_from_fork_asm+0x1a/0x30 [ 12.136319] </TASK> [ 12.136336] [ 12.145047] Allocated by task 1: [ 12.145400] kasan_save_stack+0x45/0x70 [ 12.145778] kasan_save_track+0x18/0x40 [ 12.146154] kasan_save_alloc_info+0x3b/0x50 [ 12.146432] __kasan_kmalloc+0xb7/0xc0 [ 12.146569] __kmalloc_node_track_caller_noprof+0x1cb/0x500 [ 12.146752] kvasprintf+0xc5/0x150 [ 12.146983] __kthread_create_on_node+0x18b/0x3a0 [ 12.147513] kthread_create_on_node+0xab/0xe0 [ 12.147933] create_worker+0x3e5/0x7b0 [ 12.148416] alloc_unbound_pwq+0x8ea/0xdb0 [ 12.148815] apply_wqattrs_prepare+0x332/0xd20 [ 12.149316] apply_workqueue_attrs_locked+0x4d/0xa0 [ 12.149782] alloc_workqueue+0xcc7/0x1ad0 [ 12.150218] latency_fsnotify_init+0x1b/0x50 [ 12.150663] do_one_initcall+0xd8/0x370 [ 12.151074] kernel_init_freeable+0x420/0x6f0 [ 12.151530] kernel_init+0x23/0x1e0 [ 12.151853] ret_from_fork+0x116/0x1d0 [ 12.152194] ret_from_fork_asm+0x1a/0x30 [ 12.152414] [ 12.152589] The buggy address belongs to the object at ffff888102397360 [ 12.152589] which belongs to the cache kmalloc-16 of size 16 [ 12.153517] The buggy address is located 18 bytes to the right of [ 12.153517] allocated 13-byte region [ffff888102397360, ffff88810239736d) [ 12.154686] [ 12.154767] The buggy address belongs to the physical page: [ 12.154956] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x102397 [ 12.155239] flags: 0x200000000000000(node=0|zone=2) [ 12.155410] page_type: f5(slab) [ 12.155612] raw: 0200000000000000 ffff888100041640 dead000000000122 0000000000000000 [ 12.156009] raw: 0000000000000000 0000000080800080 00000000f5000000 0000000000000000 [ 12.156283] page dumped because: kasan: bad access detected [ 12.156626] [ 12.156707] Memory state around the buggy address: [ 12.156886] ffff888102397200: 00 00 fc fc 00 06 fc fc 00 06 fc fc 00 00 fc fc [ 12.157128] ffff888102397280: 00 02 fc fc 00 02 fc fc 00 06 fc fc 00 06 fc fc [ 12.157613] >ffff888102397300: fa fb fc fc fa fb fc fc fa fb fc fc 00 05 fc fc [ 12.157951] ^ [ 12.158240] ffff888102397380: 00 07 fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 12.158629] ffff888102397400: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 12.158922] ==================================================================