Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-38555— usb: gadget : fix use-after-free in composite_dev_cleanup()

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于configfs_composite_bind函数中cdev->os_desc_req未正确释放,可能导致释放后重用。

CVSS 7.8 · High EPSS 0.18% · P7

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 20

VendorProduct Version RangeStatus
Linux Linux 37a3a533429ef9b3cc9f15a656c19623f0e88df7< dba96dfa5a0f685b959dd28a52ac8dab0b805204 affected
37a3a533429ef9b3cc9f15a656c19623f0e88df7< 2db29235e900a084a656dea7e0939b0abb7bb897 affected
37a3a533429ef9b3cc9f15a656c19623f0e88df7< 8afb22aa063f706f3343707cdfb8cda4d021dd33 affected
37a3a533429ef9b3cc9f15a656c19623f0e88df7< e624bf26127645a2f7821e73fdf6dc64bad07835 affected
37a3a533429ef9b3cc9f15a656c19623f0e88df7< aada327a9f8028c573636fa60c0abc80fb8135c9 affected
37a3a533429ef9b3cc9f15a656c19623f0e88df7< 5f06ee9f9a3665d43133f125c17e5258a13f3963 affected
37a3a533429ef9b3cc9f15a656c19623f0e88df7< bd3c4ef60baf7f65c963f3e12d9d7b2b091e20ba affected
37a3a533429ef9b3cc9f15a656c19623f0e88df7< e1be1f380c82a69f80c68c96a7cfe8759fb30355 affected
… +12 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-38555

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
usb: gadget : fix use-after-free in composite_dev_cleanup()
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: usb: gadget : fix use-after-free in composite_dev_cleanup() 1. In func configfs_composite_bind() -> composite_os_desc_req_prepare(): if kmalloc fails, the pointer cdev->os_desc_req will be freed but not set to NULL. Then it will return a failure to the upper-level function. 2. in func configfs_composite_bind() -> composite_dev_cleanup(): it will checks whether cdev->os_desc_req is NULL. If it is not NULL, it will attempt to use it.This will lead to a use-after-free issue. BUG: KASAN: use-after-free in composite_dev_cleanup+0xf4/0x2c0 Read of size 8 at addr 0000004827837a00 by task init/1 CPU: 10 PID: 1 Comm: init Tainted: G O 5.10.97-oh #1 kasan_report+0x188/0x1cc __asan_load8+0xb4/0xbc composite_dev_cleanup+0xf4/0x2c0 configfs_composite_bind+0x210/0x7ac udc_bind_to_driver+0xb4/0x1ec usb_gadget_probe_driver+0xec/0x21c gadget_dev_desc_UDC_store+0x264/0x27c
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于configfs_composite_bind函数中cdev->os_desc_req未正确释放,可能导致释放后重用。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Linux Linux 37a3a533429ef9b3cc9f15a656c19623f0e88df7 ~ dba96dfa5a0f685b959dd28a52ac8dab0b805204 -
Linux Linux 3.16 -

II. Public POCs for CVE-2025-38555

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-38555

请登录查看更多情报信息。

Patches & Fixes for CVE-2025-38555 (3)

Same Patch Batch · Linux · 2025-08-19 · 59 CVEs total

CVE-2025-38561 9.8 CRITICAL ksmbd: fix Preauh_HashValue race condition
CVE-2025-38566 9.8 CRITICAL sunrpc: fix handling of server side tls alerts
CVE-2025-38560 9.3 CRITICAL x86/sev: Evict cache lines during SNP memory validation
CVE-2025-38592 8.8 HIGH Bluetooth: hci_devcd_dump: fix out-of-bounds via dev_coredumpv
CVE-2025-38601 8.8 HIGH wifi: ath11k: clear initialized flag for deinit-ed srng lists
CVE-2025-38599 8.8 HIGH wifi: mt76: mt7996: Fix possible OOB access in mt7996_tx()
CVE-2025-38600 8.8 HIGH wifi: mt76: mt7925: fix off by one in mt7925_mcu_hw_scan()
CVE-2025-38574 8.6 HIGH pptp: ensure minimal skb length in pptp_xmit()
CVE-2025-38608 8.6 HIGH bpf, ktls: Fix data corruption when using bpf_msg_pop_data() in ktls
CVE-2025-38571 8.2 HIGH sunrpc: fix client side handling of tls alerts
CVE-2025-38554 7.8 HIGH mm: fix a UAF when vma->mm is freed after vma->vm_refcnt got dropped
CVE-2025-38578 7.8 HIGH f2fs: fix to avoid UAF in f2fs_sync_inode_meta()
CVE-2025-38594 7.8 HIGH iommu/vt-d: Fix UAF on sva unbind with pending IOPFs
CVE-2025-38596 7.8 HIGH drm/panthor: Fix UAF in panthor_gem_create_with_handle() debugfs code
CVE-2025-38595 7.8 HIGH xen: fix UAF in dmabuf_exp_from_pages()
CVE-2025-38593 7.8 HIGH Bluetooth: hci_sync: fix double free in 'hci_discovery_filter_clear()'
CVE-2025-38582 7.8 HIGH RDMA/hns: Fix double destruction of rsv_qp
CVE-2025-38580 7.8 HIGH ext4: fix inode use after free in ext4_end_io_rsv_work()
CVE-2025-38579 7.8 HIGH f2fs: fix KMSAN uninit-value in extent_info usage
CVE-2025-38604 7.8 HIGH wifi: rtl818x: Kill URBs before clearing tx status queue

Showing top 20 of 59 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2025-38555

No comments yet


Leave a comment