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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2025-22022— usb: xhci: Apply the link chain quirk on NEC isoc endpoints

CVSS 7.8 · High EPSS 0.19% · P9

Possible ATT&CK Techniques 1AI

T1055 · Process Injection

Affected Version Matrix 22

VendorProductVersion RangeStatus
LinuxLinux7e393a834b41001174a8fb3ae3bc23a749467760< abf2df229b6a9172cc1827749c1a446d28e00a2eaffected
7e393a834b41001174a8fb3ae3bc23a749467760< 8b586de6f03c850ff48d42e539b4708d1f3f8f1aaffected
7e393a834b41001174a8fb3ae3bc23a749467760< 1143f790a6316201dc8f067eba4c94ea97ecb6caaffected
7e393a834b41001174a8fb3ae3bc23a749467760< dbf427663ce272070d3004b5fca63a4a537d781caffected
7e393a834b41001174a8fb3ae3bc23a749467760< a4931d9fb99eb5462f3eaa231999d279c40afb21affected
7e393a834b41001174a8fb3ae3bc23a749467760< 43a18225150ce874d23b37761c302a5dffee1595affected
7e393a834b41001174a8fb3ae3bc23a749467760< 061a1683bae6ef56ab8fa392725ba7495515cd1daffected
7e393a834b41001174a8fb3ae3bc23a749467760< bb0ba4cb1065e87f9cc75db1fa454e56d0894d01affected
… +14 more rows
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2025-22022

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: xhci: Apply the link chain quirk on NEC isoc endpoints
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: usb: xhci: Apply the link chain quirk on NEC isoc endpoints Two clearly different specimens of NEC uPD720200 (one with start/stop bug, one without) were seen to cause IOMMU faults after some Missed Service Errors. Faulting address is immediately after a transfer ring segment and patched dynamic debug messages revealed that the MSE was received when waiting for a TD near the end of that segment: [ 1.041954] xhci_hcd: Miss service interval error for slot 1 ep 2 expected TD DMA ffa08fe0 [ 1.042120] xhci_hcd: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffa09000 flags=0x0000] [ 1.042146] xhci_hcd: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffa09040 flags=0x0000] It gets even funnier if the next page is a ring segment accessible to the HC. Below, it reports MSE in segment at ff1e8000, plows through a zero-filled page at ff1e9000 and starts reporting events for TRBs in page at ff1ea000 every microframe, instead of jumping to seg ff1e6000. [ 7.041671] xhci_hcd: Miss service interval error for slot 1 ep 2 expected TD DMA ff1e8fe0 [ 7.041999] xhci_hcd: Miss service interval error for slot 1 ep 2 expected TD DMA ff1e8fe0 [ 7.042011] xhci_hcd: WARN: buffer overrun event for slot 1 ep 2 on endpoint [ 7.042028] xhci_hcd: All TDs skipped for slot 1 ep 2. Clear skip flag. [ 7.042134] xhci_hcd: WARN: buffer overrun event for slot 1 ep 2 on endpoint [ 7.042138] xhci_hcd: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 2 comp_code 31 [ 7.042144] xhci_hcd: Looking for event-dma 00000000ff1ea040 trb-start 00000000ff1e6820 trb-end 00000000ff1e6820 [ 7.042259] xhci_hcd: WARN: buffer overrun event for slot 1 ep 2 on endpoint [ 7.042262] xhci_hcd: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 2 comp_code 31 [ 7.042266] xhci_hcd: Looking for event-dma 00000000ff1ea050 trb-start 00000000ff1e6820 trb-end 00000000ff1e6820 At some point completion events change from Isoch Buffer Overrun to Short Packet and the HC finally finds cycle bit mismatch in ff1ec000. [ 7.098130] xhci_hcd: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 2 comp_code 13 [ 7.098132] xhci_hcd: Looking for event-dma 00000000ff1ecc50 trb-start 00000000ff1e6820 trb-end 00000000ff1e6820 [ 7.098254] xhci_hcd: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 2 comp_code 13 [ 7.098256] xhci_hcd: Looking for event-dma 00000000ff1ecc60 trb-start 00000000ff1e6820 trb-end 00000000ff1e6820 [ 7.098379] xhci_hcd: Overrun event on slot 1 ep 2 It's possible that data from the isochronous device were written to random buffers of pending TDs on other endpoints (either IN or OUT), other devices or even other HCs in the same IOMMU domain. Lastly, an error from a different USB device on another HC. Was it caused by the above? I don't know, but it may have been. The disk was working without any other issues and generated PCIe traffic to starve the NEC of upstream BW and trigger those MSEs. The two HCs shared one x1 slot by means of a commercial "PCIe splitter" board. [ 7.162604] usb 10-2: reset SuperSpeed USB device number 3 using xhci_hcd [ 7.178990] sd 9:0:0:0: [sdb] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x07 driverbyte=DRIVER_OK cmd_age=0s [ 7.179001] sd 9:0:0:0: [sdb] tag#0 CDB: opcode=0x28 28 00 04 02 ae 00 00 02 00 00 [ 7.179004] I/O error, dev sdb, sector 67284480 op 0x0:(READ) flags 0x80700 phys_seg 5 prio class 0 Fortunately, it appears that this ridiculous bug is avoided by setting the chain bit of Link TRBs on isochronous rings. Other ancient HCs are known which also expect the bit to be set and they ignore Link TRBs if it's not. Reportedly, 0.95 spec guaranteed that the bit is set. The bandwidth-starved NEC HC running a 32KB/uframe UVC endpoint reports tens of MSEs per second and runs into the bug within seconds. Chaining Link TRBs allows the same workload to run for many minutes, many times. No ne ---truncated---
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存在安全漏洞,该漏洞源于NEC uPD720200 USB控制器链接链问题。
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

VendorProductAffected VersionsCPESubscribe
LinuxLinux 7e393a834b41001174a8fb3ae3bc23a749467760 ~ abf2df229b6a9172cc1827749c1a446d28e00a2e -
LinuxLinux 3.2 -

II. Public POCs for CVE-2025-22022

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-22022

登录查看更多情报信息。

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

Other References for CVE-2025-22022 (1)

Same Patch Batch · Linux · 2025-04-16 · 127 CVEs total

CVE-2025-2202110.0 CRITICALnetfilter: socket: Lookup orig tuple for IPv6 SNAT
CVE-2025-220779.8 CRITICALRevert "smb: client: fix TCP timers deadlock after rmmod"
CVE-2025-221109.8 CRITICALnetfilter: nfnetlink_queue: Initialize ctx to avoid memory allocation error
CVE-2025-220889.8 CRITICALRDMA/erdma: Prevent use-after-free in erdma_accept_newconn()
CVE-2025-220748.8 HIGHksmbd: fix r_count dec/increment mismatch
CVE-2025-231338.8 HIGHwifi: ath11k: update channel list in reg notifier instead reg worker
CVE-2025-221188.8 HIGHice: validate queue quanta parameters to prevent OOB access
CVE-2025-220408.8 HIGHksmbd: fix session use-after-free in multichannel connection
CVE-2025-220418.8 HIGHksmbd: fix use-after-free in ksmbd_sessions_deregister()
CVE-2024-580968.8 HIGHwifi: ath11k: add srng->lock for ath11k_hal_srng_* in monitor mode
CVE-2025-220868.8 HIGHRDMA/mlx5: Fix mlx5_poll_one() cur_qp update flow
CVE-2025-220398.8 HIGHksmbd: fix overflow in dacloffset bounds check
CVE-2025-221178.7 HIGHice: fix using untrusted value of pkt_len in ice_vc_fdir_parse_raw()
CVE-2025-221088.6 HIGHbnxt_en: Mask the bd_cnt field in the TX BD properly
CVE-2025-220808.4 HIGHfs/ntfs3: Prevent integer overflow in hdr_first_de()
CVE-2025-221218.4 HIGHext4: fix out-of-bound read in ext4_xattr_inode_dec_ref_all()
CVE-2025-220388.3 HIGHksmbd: validate zero num_subauth before sub_auth is accessed
CVE-2025-220438.1 HIGHksmbd: add bounds check for durable handle context
CVE-2025-220428.1 HIGHksmbd: add bounds check for create lease context
CVE-2025-220497.8 HIGHLoongArch: Increase ARCH_DMA_MINALIGN up to 16

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

IV. Related Vulnerabilities

V. Comments for CVE-2025-22022

No comments yet


Leave a comment