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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-56698— usb: dwc3: gadget: Fix looping of queued SG entries

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存在安全漏洞,该漏洞源于usb:dwc3:gadget模块中对SG队列条目循环处理不当,可能导致空指针取消引用。

AI Predicted 5.5 Difficulty: Moderate EPSS 0.21% · P11

Possible ATT&CK Techniques 1 AI

T1055 · Process Injection

Affected Version Matrix 16

VendorProduct Version RangeStatus
Linux Linux c96e6725db9d6a04ac1bee881e3034b636d9f71c< 8ceb21d76426bbe7072cc3e43281e70c0d664cc7 affected
c96e6725db9d6a04ac1bee881e3034b636d9f71c< 0247da93bf62d33304b7bf97850ebf2a86e06d28 affected
c96e6725db9d6a04ac1bee881e3034b636d9f71c< c9e72352a10ae89a430449f7bfeb043e75c255d9 affected
c96e6725db9d6a04ac1bee881e3034b636d9f71c< 1534f6f69393aac773465d80d31801b554352627 affected
c96e6725db9d6a04ac1bee881e3034b636d9f71c< b7c3d0b59213ebeedff63d128728ce0b3d7a51ec affected
c96e6725db9d6a04ac1bee881e3034b636d9f71c< 70777a23a54e359cfdfafc625a57cd56434f3859 affected
c96e6725db9d6a04ac1bee881e3034b636d9f71c< b7fc65f5141c24785dc8c19249ca4efcf71b3524 affected
4.18 affected
… +8 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-56698

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: dwc3: gadget: Fix looping of queued SG entries
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: usb: dwc3: gadget: Fix looping of queued SG entries The dwc3_request->num_queued_sgs is decremented on completion. If a partially completed request is handled, then the dwc3_request->num_queued_sgs no longer reflects the total number of num_queued_sgs (it would be cleared). Correctly check the number of request SG entries remained to be prepare and queued. Failure to do this may cause null pointer dereference when accessing non-existent SG entry.
Source: CVE Program / CVE List V5
CVSS Information
N/A
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存在安全漏洞,该漏洞源于usb:dwc3:gadget模块中对SG队列条目循环处理不当,可能导致空指针取消引用。
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 c96e6725db9d6a04ac1bee881e3034b636d9f71c ~ 8ceb21d76426bbe7072cc3e43281e70c0d664cc7 -
Linux Linux 4.18 -

II. Public POCs for CVE-2024-56698

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

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-56698

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

Patches & Fixes for CVE-2024-56698 (7)

Same Patch Batch · Linux · 2024-12-28 · 32 CVEs total

CVE-2024-56704 8.4 HIGH 9p/xen: fix release of IRQ
CVE-2024-56684 8.4 HIGH mailbox: mtk-cmdq: fix wrong use of sizeof in cmdq_get_clocks()
CVE-2024-56677 7.8 HIGH powerpc/fadump: Move fadump_cma_init to setup_arch() after initmem_init()
CVE-2024-56706 7.8 HIGH s390/cpum_sf: Fix and protect memory allocation of SDBs with mutex
CVE-2024-56692 7.8 HIGH f2fs: fix to do sanity check on node blkaddr in truncate_node()
CVE-2024-56693 7.8 HIGH brd: defer automatic disk creation until module initialization succeeds
CVE-2024-56681 7.8 HIGH crypto: bcm - add error check in the ahash_hmac_init function
CVE-2024-56688 7.5 HIGH sunrpc: clear XPRT_SOCK_UPD_TIMEOUT when reset transport
CVE-2024-56703 7.5 HIGH ipv6: Fix soft lockups in fib6_select_path under high next hop churn
CVE-2024-56694 7.5 HIGH bpf: fix recursive lock when verdict program return SK_PASS
CVE-2024-56708 EDAC/igen6: Avoid segmentation fault on module unload
CVE-2024-56682 irqchip/riscv-aplic: Prevent crash when MSI domain is missing
CVE-2024-56707 octeontx2-pf: handle otx2_mbox_get_rsp errors in otx2_dmac_flt.c
CVE-2024-56705 media: atomisp: Add check for rgby_data memory allocation failure
CVE-2024-56676 thermal: testing: Initialize some variables annoteded with _free()
CVE-2024-56678 powerpc/mm/fault: Fix kfence page fault reporting
CVE-2024-56701 powerpc/pseries: Fix dtl_access_lock to be a rw_semaphore
CVE-2024-56702 bpf: Mark raw_tp arguments with PTR_MAYBE_NULL
CVE-2024-56700 media: wl128x: Fix atomicity violation in fmc_send_cmd()
CVE-2024-56699 s390/pci: Fix potential double remove of hotplug slot

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

IV. Related Vulnerabilities

V. Comments for CVE-2024-56698

No comments yet


Leave a comment