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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-90020— USB: gadget: fix NULL pointer dereference in gadget_dev_ioctl()

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 内核中,已修复以下漏洞: USB 子系统(gadget):修复 gadget_dev_ioctl() 函数中的空指针解引用问题 gadget_dev_ioctl() 函数在获取 dev->lock 之前读取了 dev->gadget,但直到获取锁之后才检查 dev->state。因此,并发执行的 bind 操作可能在上述两个操作之间改变设备状态,导致 ioctl 路径中持有一个过期的 NULL gadget 指针,进而在调用 gadget->ops->ioctl 时引发空指针解引用。 修复方法是:在

AI Predicted 5.5 Difficulty: Hard EPSS 0.21% · P11

Possible ATT&CK Techniques 1 AI

T1518 · Software Discovery

Affected Version Matrix 18

VendorProduct Version RangeStatus
Linux Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2< 8be30959be31b4205e3bdd2e2a6221f3a2ee7ea1 affected
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2< e8219accce2f6d3502ed71f5b5e854ecf27249a6 affected
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2< 87cbf9410b12f5c2d659bb01e8ecf6517cb9f28c affected
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2< 162178ca83c3de986900385a0477eb539f8e1a7e affected
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2< ebd916fdfefaacbc0e577f7037ec96b31a105e5f affected
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2< c29a83c1ff3f06d5751f6d365b606c9f81ccc4cb affected
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2< 64ec019bf9a8b12f53b9f2777d65aadb730b5a84 affected
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2< dd0eed9e165b1a6292f49e622e3dd0b7d99b106d affected
… +10 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-90020

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 NULL pointer dereference in gadget_dev_ioctl()
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: USB: gadget: fix NULL pointer dereference in gadget_dev_ioctl() gadget_dev_ioctl() reads dev->gadget before acquiring dev->lock, but dev->state is checked after acquiring the lock. Therefore a concurrent bind can change the device state between these operations, which can leave ioctl with a stale NULL gadget pointer and causing a NULL pointer dereference at gadget->ops->ioctl. Read dev->gadget while holding dev->lock so that the gadget pointer and device state are sampled consistently.
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

Affected Products

Vendor Product Affected Versions CPE Subscribe
Linux Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 ~ 8be30959be31b4205e3bdd2e2a6221f3a2ee7ea1 -
Linux Linux 2.6.12 -

II. Public POCs for CVE-2026-90020

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

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-90020

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

Other References for CVE-2026-90020 (8)

Same Patch Batch · Linux · 2026-09-16 · 276 CVEs total

CVE-2026-90048 9.8 CRITICAL fs/ntfs3: fix slab-out-of-bounds write in ni_create_attr_list()
CVE-2026-90012 9.8 CRITICAL spi: Fix DMA mapping ownership on partial map failure
CVE-2026-89970 9.8 CRITICAL nvmet-auth: Synchronize timeout work during SQ teardown
CVE-2026-89857 9.8 CRITICAL scsi: qla2xxx: Hold qpair lock when sending NVMe LS reject
CVE-2026-89969 9.8 CRITICAL nvmet-tcp: fix out-of-bounds write when receiving an over-long PDU
CVE-2026-89847 9.8 CRITICAL scsi: qla2xxx: Avoid double completion in async IOCB timeout
CVE-2026-89972 9.8 CRITICAL nvme: add missing SRCU grace period in error path
CVE-2026-89990 9.8 CRITICAL ceph: lock mutex in ceph_mds_check_access()
CVE-2026-90036 9.8 CRITICAL NFSD: Prevent client use-after-free during blocked-lock reaping
CVE-2026-90038 9.8 CRITICAL NFSD: Prevent client use-after-free during export state revocation
CVE-2026-90037 9.8 CRITICAL NFSD: Prevent client use-after-free during close_lru reaping
CVE-2026-89788 9.8 CRITICAL ksmbd: fix tree connection use-after-free in smb2_tree_connect()
CVE-2026-89783 9.8 CRITICAL xfrm6: fix out-of-bounds write in xfrm6_input_addr() when secpath is full
CVE-2026-90042 9.8 CRITICAL ceph: properly decrypt filenames in vmalloc() buffers
CVE-2026-89778 9.8 CRITICAL isofs: fix out-of-bounds page array access on empty zisofs block
CVE-2026-89916 9.3 CRITICAL KVM: arm64: Make VNCR invalidation participate in MMU invalidation retry
CVE-2026-89915 9.3 CRITICAL KVM: arm64: Remove VM-wide VNCR mapping counter
CVE-2026-90049 9.3 CRITICAL net: skbuff: don't skb_tx_error() the source skb in skb_zerocopy()
CVE-2026-89775 9.3 CRITICAL KVM: arm64: Handle negative S1 walk levels in VNCR TLB size evaluation
CVE-2026-89918 9.3 CRITICAL KVM: arm64: Correctly handle end of VA space TLBI invalidation

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

IV. Related Vulnerabilities

V. Comments for CVE-2026-90020

No comments yet


Leave a comment