Date
July 13, 2025, 11:09 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 15.535377] ================================================================== [ 15.535707] BUG: KASAN: slab-out-of-bounds in kmalloc_oob_left+0x2ec/0x320 [ 15.535769] Read of size 1 at addr fff00000c580949f by task kunit_try_catch/139 [ 15.535846] [ 15.535893] CPU: 0 UID: 0 PID: 139 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT [ 15.535991] Tainted: [B]=BAD_PAGE, [N]=TEST [ 15.536017] Hardware name: linux,dummy-virt (DT) [ 15.536075] Call trace: [ 15.536114] show_stack+0x20/0x38 (C) [ 15.536170] dump_stack_lvl+0x8c/0xd0 [ 15.536254] print_report+0x118/0x5d0 [ 15.537001] kasan_report+0xdc/0x128 [ 15.537058] __asan_report_load1_noabort+0x20/0x30 [ 15.537108] kmalloc_oob_left+0x2ec/0x320 [ 15.537595] kunit_try_run_case+0x170/0x3f0 [ 15.537651] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 15.537710] kthread+0x328/0x630 [ 15.537751] ret_from_fork+0x10/0x20 [ 15.537797] [ 15.537815] Allocated by task 26: [ 15.537843] kasan_save_stack+0x3c/0x68 [ 15.537883] kasan_save_track+0x20/0x40 [ 15.537919] kasan_save_alloc_info+0x40/0x58 [ 15.537958] __kasan_kmalloc+0xd4/0xd8 [ 15.537993] __kmalloc_node_track_caller_noprof+0x194/0x4b8 [ 15.538036] kstrdup+0x54/0xc8 [ 15.538069] devtmpfs_work_loop+0x6f8/0xa58 [ 15.538109] devtmpfsd+0x50/0x58 [ 15.538143] kthread+0x328/0x630 [ 15.538174] ret_from_fork+0x10/0x20 [ 15.538225] [ 15.538604] Freed by task 26: [ 15.538662] kasan_save_stack+0x3c/0x68 [ 15.538704] kasan_save_track+0x20/0x40 [ 15.538740] kasan_save_free_info+0x4c/0x78 [ 15.538778] __kasan_slab_free+0x6c/0x98 [ 15.538814] kfree+0x214/0x3c8 [ 15.538847] devtmpfs_work_loop+0x804/0xa58 [ 15.539824] devtmpfsd+0x50/0x58 [ 15.540209] kthread+0x328/0x630 [ 15.540250] ret_from_fork+0x10/0x20 [ 15.540405] [ 15.540429] The buggy address belongs to the object at fff00000c5809480 [ 15.540429] which belongs to the cache kmalloc-16 of size 16 [ 15.540648] The buggy address is located 15 bytes to the right of [ 15.540648] allocated 16-byte region [fff00000c5809480, fff00000c5809490) [ 15.540717] [ 15.540736] The buggy address belongs to the physical page: [ 15.540989] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x105809 [ 15.541177] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 15.541240] page_type: f5(slab) [ 15.541277] raw: 0bfffe0000000000 fff00000c0001640 dead000000000122 0000000000000000 [ 15.541327] raw: 0000000000000000 0000000080800080 00000000f5000000 0000000000000000 [ 15.543605] page dumped because: kasan: bad access detected [ 15.543986] [ 15.544005] Memory state around the buggy address: [ 15.544041] fff00000c5809380: fa fb fc fc 00 00 fc fc fa fb fc fc fa fb fc fc [ 15.544085] fff00000c5809400: 00 00 fc fc 00 00 fc fc 00 00 fc fc fa fb fc fc [ 15.544128] >fff00000c5809480: fa fb fc fc 00 07 fc fc fc fc fc fc fc fc fc fc [ 15.544192] ^ [ 15.544232] fff00000c5809500: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 15.544274] fff00000c5809580: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 15.544311] ==================================================================
[ 16.369850] ================================================================== [ 16.370704] BUG: KASAN: slab-out-of-bounds in kmalloc_oob_left+0x2ec/0x320 [ 16.370789] Read of size 1 at addr fff00000c44ab9ff by task kunit_try_catch/139 [ 16.370993] [ 16.371094] CPU: 1 UID: 0 PID: 139 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT [ 16.371175] Tainted: [B]=BAD_PAGE, [N]=TEST [ 16.371210] Hardware name: linux,dummy-virt (DT) [ 16.371243] Call trace: [ 16.371264] show_stack+0x20/0x38 (C) [ 16.371312] dump_stack_lvl+0x8c/0xd0 [ 16.372096] print_report+0x118/0x5d0 [ 16.372210] kasan_report+0xdc/0x128 [ 16.372607] __asan_report_load1_noabort+0x20/0x30 [ 16.373061] kmalloc_oob_left+0x2ec/0x320 [ 16.373151] kunit_try_run_case+0x170/0x3f0 [ 16.373701] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 16.373774] kthread+0x328/0x630 [ 16.374323] ret_from_fork+0x10/0x20 [ 16.374772] [ 16.374793] Allocated by task 26: [ 16.374824] kasan_save_stack+0x3c/0x68 [ 16.374865] kasan_save_track+0x20/0x40 [ 16.374902] kasan_save_alloc_info+0x40/0x58 [ 16.374941] __kasan_kmalloc+0xd4/0xd8 [ 16.374976] __kmalloc_node_track_caller_noprof+0x194/0x4b8 [ 16.375817] kstrdup+0x54/0xc8 [ 16.375863] devtmpfs_work_loop+0x6f8/0xa58 [ 16.375904] devtmpfsd+0x50/0x58 [ 16.375938] kthread+0x328/0x630 [ 16.376439] ret_from_fork+0x10/0x20 [ 16.376493] [ 16.376704] Freed by task 26: [ 16.376808] kasan_save_stack+0x3c/0x68 [ 16.377079] kasan_save_track+0x20/0x40 [ 16.377124] kasan_save_free_info+0x4c/0x78 [ 16.377361] __kasan_slab_free+0x6c/0x98 [ 16.377741] kfree+0x214/0x3c8 [ 16.377780] devtmpfs_work_loop+0x804/0xa58 [ 16.378118] devtmpfsd+0x50/0x58 [ 16.378249] kthread+0x328/0x630 [ 16.378291] ret_from_fork+0x10/0x20 [ 16.378340] [ 16.378809] The buggy address belongs to the object at fff00000c44ab9e0 [ 16.378809] which belongs to the cache kmalloc-16 of size 16 [ 16.378902] The buggy address is located 15 bytes to the right of [ 16.378902] allocated 16-byte region [fff00000c44ab9e0, fff00000c44ab9f0) [ 16.379342] [ 16.379369] The buggy address belongs to the physical page: [ 16.379403] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1044ab [ 16.379757] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 16.379828] page_type: f5(slab) [ 16.379875] raw: 0bfffe0000000000 fff00000c0001640 dead000000000122 0000000000000000 [ 16.380022] raw: 0000000000000000 0000000080800080 00000000f5000000 0000000000000000 [ 16.380358] page dumped because: kasan: bad access detected [ 16.380393] [ 16.380537] Memory state around the buggy address: [ 16.380578] fff00000c44ab880: 00 06 fc fc fa fb fc fc 00 06 fc fc 00 06 fc fc [ 16.380940] fff00000c44ab900: fa fb fc fc 00 00 fc fc fa fb fc fc 00 00 fc fc [ 16.381011] >fff00000c44ab980: 00 00 fc fc 00 00 fc fc fa fb fc fc fa fb fc fc [ 16.381050] ^ [ 16.381291] fff00000c44aba00: 00 07 fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 16.381621] fff00000c44aba80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 16.381710] ==================================================================
[ 11.866377] ================================================================== [ 11.866879] BUG: KASAN: slab-out-of-bounds in kmalloc_oob_left+0x361/0x3c0 [ 11.867291] Read of size 1 at addr ffff888101aa5d9f by task kunit_try_catch/155 [ 11.868060] [ 11.868151] CPU: 1 UID: 0 PID: 155 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT(voluntary) [ 11.868194] Tainted: [B]=BAD_PAGE, [N]=TEST [ 11.868205] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 11.868254] Call Trace: [ 11.868266] <TASK> [ 11.868285] dump_stack_lvl+0x73/0xb0 [ 11.868317] print_report+0xd1/0x610 [ 11.868341] ? __virt_addr_valid+0x1db/0x2d0 [ 11.868366] ? kmalloc_oob_left+0x361/0x3c0 [ 11.868387] ? kasan_complete_mode_report_info+0x64/0x200 [ 11.868410] ? kmalloc_oob_left+0x361/0x3c0 [ 11.868432] kasan_report+0x141/0x180 [ 11.868463] ? kmalloc_oob_left+0x361/0x3c0 [ 11.868510] __asan_report_load1_noabort+0x18/0x20 [ 11.868535] kmalloc_oob_left+0x361/0x3c0 [ 11.868557] ? __pfx_kmalloc_oob_left+0x10/0x10 [ 11.868590] ? __schedule+0x10cc/0x2b60 [ 11.868613] ? __pfx_read_tsc+0x10/0x10 [ 11.868634] ? ktime_get_ts64+0x86/0x230 [ 11.868659] kunit_try_run_case+0x1a5/0x480 [ 11.868702] ? __pfx_kunit_try_run_case+0x10/0x10 [ 11.868725] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 11.868749] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 11.868773] ? __kthread_parkme+0x82/0x180 [ 11.868794] ? preempt_count_sub+0x50/0x80 [ 11.868819] ? __pfx_kunit_try_run_case+0x10/0x10 [ 11.868843] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 11.868867] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 11.868892] kthread+0x337/0x6f0 [ 11.868911] ? trace_preempt_on+0x20/0xc0 [ 11.868934] ? __pfx_kthread+0x10/0x10 [ 11.868955] ? _raw_spin_unlock_irq+0x47/0x80 [ 11.868976] ? calculate_sigpending+0x7b/0xa0 [ 11.869001] ? __pfx_kthread+0x10/0x10 [ 11.869022] ret_from_fork+0x116/0x1d0 [ 11.869040] ? __pfx_kthread+0x10/0x10 [ 11.869060] ret_from_fork_asm+0x1a/0x30 [ 11.869091] </TASK> [ 11.869101] [ 11.877809] Allocated by task 1: [ 11.878025] kasan_save_stack+0x45/0x70 [ 11.878229] kasan_save_track+0x18/0x40 [ 11.878364] kasan_save_alloc_info+0x3b/0x50 [ 11.878765] __kasan_kmalloc+0xb7/0xc0 [ 11.878896] __kmalloc_node_track_caller_noprof+0x1cb/0x500 [ 11.879074] kvasprintf+0xc5/0x150 [ 11.879255] __kthread_create_on_node+0x18b/0x3a0 [ 11.879527] kthread_create_on_node+0xab/0xe0 [ 11.879866] cryptomgr_notify+0x704/0x9f0 [ 11.880004] notifier_call_chain+0xcb/0x250 [ 11.880144] blocking_notifier_call_chain+0x64/0x90 [ 11.880306] crypto_alg_mod_lookup+0x21f/0x440 [ 11.880679] crypto_alloc_tfm_node+0xc5/0x1f0 [ 11.880913] crypto_alloc_sig+0x23/0x30 [ 11.881124] public_key_verify_signature+0x208/0x9f0 [ 11.881372] x509_check_for_self_signed+0x2cb/0x480 [ 11.881554] x509_cert_parse+0x59c/0x830 [ 11.881772] x509_key_preparse+0x68/0x8a0 [ 11.881970] asymmetric_key_preparse+0xb1/0x160 [ 11.882130] __key_create_or_update+0x43d/0xcc0 [ 11.882319] key_create_or_update+0x17/0x20 [ 11.882589] x509_load_certificate_list+0x174/0x200 [ 11.882834] regulatory_init_db+0xee/0x3a0 [ 11.882978] do_one_initcall+0xd8/0x370 [ 11.883169] kernel_init_freeable+0x420/0x6f0 [ 11.883388] kernel_init+0x23/0x1e0 [ 11.883578] ret_from_fork+0x116/0x1d0 [ 11.883743] ret_from_fork_asm+0x1a/0x30 [ 11.883877] [ 11.883976] Freed by task 0: [ 11.884094] kasan_save_stack+0x45/0x70 [ 11.884304] kasan_save_track+0x18/0x40 [ 11.884497] kasan_save_free_info+0x3f/0x60 [ 11.884699] __kasan_slab_free+0x56/0x70 [ 11.884966] kfree+0x222/0x3f0 [ 11.885124] free_kthread_struct+0xeb/0x150 [ 11.885274] free_task+0xf3/0x130 [ 11.885394] __put_task_struct+0x1c8/0x480 [ 11.885611] delayed_put_task_struct+0x10a/0x150 [ 11.885862] rcu_core+0x66f/0x1c40 [ 11.886027] rcu_core_si+0x12/0x20 [ 11.886148] handle_softirqs+0x209/0x730 [ 11.886281] __irq_exit_rcu+0xc9/0x110 [ 11.886456] irq_exit_rcu+0x12/0x20 [ 11.886628] sysvec_apic_timer_interrupt+0x81/0x90 [ 11.886891] asm_sysvec_apic_timer_interrupt+0x1f/0x30 [ 11.887154] [ 11.887244] The buggy address belongs to the object at ffff888101aa5d80 [ 11.887244] which belongs to the cache kmalloc-16 of size 16 [ 11.887868] The buggy address is located 15 bytes to the right of [ 11.887868] allocated 16-byte region [ffff888101aa5d80, ffff888101aa5d90) [ 11.888261] [ 11.888379] The buggy address belongs to the physical page: [ 11.888782] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x101aa5 [ 11.889157] flags: 0x200000000000000(node=0|zone=2) [ 11.889314] page_type: f5(slab) [ 11.889452] raw: 0200000000000000 ffff888100041640 dead000000000122 0000000000000000 [ 11.889812] raw: 0000000000000000 0000000080800080 00000000f5000000 0000000000000000 [ 11.890267] page dumped because: kasan: bad access detected [ 11.890471] [ 11.890537] Memory state around the buggy address: [ 11.890684] ffff888101aa5c80: 00 02 fc fc 00 05 fc fc 00 02 fc fc 00 02 fc fc [ 11.891224] ffff888101aa5d00: 00 02 fc fc 00 02 fc fc fa fb fc fc fa fb fc fc [ 11.891617] >ffff888101aa5d80: fa fb fc fc 00 07 fc fc fc fc fc fc fc fc fc fc [ 11.891895] ^ [ 11.892027] ffff888101aa5e00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 11.892231] ffff888101aa5e80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 11.892596] ==================================================================
[ 12.092449] ================================================================== [ 12.093473] BUG: KASAN: slab-out-of-bounds in kmalloc_oob_left+0x361/0x3c0 [ 12.094426] Read of size 1 at addr ffff8881016acd3f by task kunit_try_catch/156 [ 12.095462] [ 12.095995] CPU: 0 UID: 0 PID: 156 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT(voluntary) [ 12.096072] Tainted: [B]=BAD_PAGE, [N]=TEST [ 12.096085] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 12.096114] Call Trace: [ 12.096127] <TASK> [ 12.096143] dump_stack_lvl+0x73/0xb0 [ 12.096176] print_report+0xd1/0x610 [ 12.096199] ? __virt_addr_valid+0x1db/0x2d0 [ 12.096224] ? kmalloc_oob_left+0x361/0x3c0 [ 12.096245] ? kasan_complete_mode_report_info+0x64/0x200 [ 12.096269] ? kmalloc_oob_left+0x361/0x3c0 [ 12.096290] kasan_report+0x141/0x180 [ 12.096312] ? kmalloc_oob_left+0x361/0x3c0 [ 12.096338] __asan_report_load1_noabort+0x18/0x20 [ 12.096363] kmalloc_oob_left+0x361/0x3c0 [ 12.096385] ? __pfx_kmalloc_oob_left+0x10/0x10 [ 12.096408] ? __schedule+0x10cc/0x2b60 [ 12.096430] ? __pfx_read_tsc+0x10/0x10 [ 12.096452] ? ktime_get_ts64+0x86/0x230 [ 12.096477] kunit_try_run_case+0x1a5/0x480 [ 12.096503] ? __pfx_kunit_try_run_case+0x10/0x10 [ 12.096526] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 12.096551] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 12.096575] ? __kthread_parkme+0x82/0x180 [ 12.096596] ? preempt_count_sub+0x50/0x80 [ 12.096620] ? __pfx_kunit_try_run_case+0x10/0x10 [ 12.096645] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 12.096669] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 12.096695] kthread+0x337/0x6f0 [ 12.096714] ? trace_preempt_on+0x20/0xc0 [ 12.096738] ? __pfx_kthread+0x10/0x10 [ 12.096759] ? _raw_spin_unlock_irq+0x47/0x80 [ 12.096780] ? calculate_sigpending+0x7b/0xa0 [ 12.096805] ? __pfx_kthread+0x10/0x10 [ 12.096826] ret_from_fork+0x116/0x1d0 [ 12.096845] ? __pfx_kthread+0x10/0x10 [ 12.096865] ret_from_fork_asm+0x1a/0x30 [ 12.096897] </TASK> [ 12.096908] [ 12.108723] Allocated by task 9: [ 12.108861] kasan_save_stack+0x45/0x70 [ 12.109013] kasan_save_track+0x18/0x40 [ 12.109173] kasan_save_alloc_info+0x3b/0x50 [ 12.109379] __kasan_kmalloc+0xb7/0xc0 [ 12.109556] __kmalloc_node_track_caller_noprof+0x1cb/0x500 [ 12.109795] kvasprintf+0xc5/0x150 [ 12.109963] kasprintf+0xb6/0xf0 [ 12.110213] input_devnode+0x46/0x80 [ 12.110426] device_get_devnode+0x145/0x2a0 [ 12.110578] dev_uevent+0x41c/0x730 [ 12.110731] kobject_uevent_env+0x50d/0xff0 [ 12.110882] kobject_uevent+0xf/0x20 [ 12.111162] device_add+0xe4c/0x1820 [ 12.111462] cdev_device_add+0xab/0x1c0 [ 12.111724] evdev_connect+0x356/0x480 [ 12.111939] input_attach_handler.isra.0+0x117/0x1f0 [ 12.112206] input_register_device+0x722/0xe10 [ 12.112473] psmouse_connect+0x6ed/0xe30 [ 12.112642] serio_driver_probe+0x7a/0xb0 [ 12.112908] really_probe+0x1d4/0x920 [ 12.113189] __driver_probe_device+0x18f/0x3e0 [ 12.113414] driver_probe_device+0x4f/0x130 [ 12.113562] __driver_attach+0x1eb/0x4b0 [ 12.113720] bus_for_each_dev+0x10f/0x1a0 [ 12.113870] driver_attach+0x41/0x60 [ 12.114065] serio_handle_event+0x254/0x940 [ 12.114275] process_one_work+0x5ee/0xf60 [ 12.114480] worker_thread+0x758/0x1220 [ 12.114676] kthread+0x337/0x6f0 [ 12.114849] ret_from_fork+0x116/0x1d0 [ 12.115042] ret_from_fork_asm+0x1a/0x30 [ 12.115332] [ 12.115432] Freed by task 9: [ 12.115700] kasan_save_stack+0x45/0x70 [ 12.115916] kasan_save_track+0x18/0x40 [ 12.116164] kasan_save_free_info+0x3f/0x60 [ 12.116429] __kasan_slab_free+0x56/0x70 [ 12.116617] kfree+0x222/0x3f0 [ 12.116839] dev_uevent+0x466/0x730 [ 12.117011] kobject_uevent_env+0x50d/0xff0 [ 12.117230] kobject_uevent+0xf/0x20 [ 12.117363] device_add+0xe4c/0x1820 [ 12.117491] cdev_device_add+0xab/0x1c0 [ 12.117627] evdev_connect+0x356/0x480 [ 12.117918] input_attach_handler.isra.0+0x117/0x1f0 [ 12.118167] input_register_device+0x722/0xe10 [ 12.118474] psmouse_connect+0x6ed/0xe30 [ 12.118629] serio_driver_probe+0x7a/0xb0 [ 12.118959] really_probe+0x1d4/0x920 [ 12.119142] __driver_probe_device+0x18f/0x3e0 [ 12.119379] driver_probe_device+0x4f/0x130 [ 12.119560] __driver_attach+0x1eb/0x4b0 [ 12.119861] bus_for_each_dev+0x10f/0x1a0 [ 12.120166] driver_attach+0x41/0x60 [ 12.120340] serio_handle_event+0x254/0x940 [ 12.120551] process_one_work+0x5ee/0xf60 [ 12.120847] worker_thread+0x758/0x1220 [ 12.121111] kthread+0x337/0x6f0 [ 12.121259] ret_from_fork+0x116/0x1d0 [ 12.121450] ret_from_fork_asm+0x1a/0x30 [ 12.121680] [ 12.121759] The buggy address belongs to the object at ffff8881016acd20 [ 12.121759] which belongs to the cache kmalloc-16 of size 16 [ 12.122307] The buggy address is located 15 bytes to the right of [ 12.122307] allocated 16-byte region [ffff8881016acd20, ffff8881016acd30) [ 12.122827] [ 12.122904] The buggy address belongs to the physical page: [ 12.123142] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1016ac [ 12.123509] flags: 0x200000000000000(node=0|zone=2) [ 12.123905] page_type: f5(slab) [ 12.124072] raw: 0200000000000000 ffff888100041640 dead000000000122 0000000000000000 [ 12.124403] raw: 0000000000000000 0000000080800080 00000000f5000000 0000000000000000 [ 12.124701] page dumped because: kasan: bad access detected [ 12.125007] [ 12.125114] Memory state around the buggy address: [ 12.125455] ffff8881016acc00: fa fb fc fc fa fb fc fc fa fb fc fc 00 04 fc fc [ 12.125883] ffff8881016acc80: 00 00 fc fc 00 04 fc fc 00 04 fc fc fa fb fc fc [ 12.126184] >ffff8881016acd00: fa fb fc fc fa fb fc fc 00 07 fc fc fc fc fc fc [ 12.126644] ^ [ 12.126812] ffff8881016acd80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 12.127188] ffff8881016ace00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 12.127504] ==================================================================