CVE-2026-98764: usb: gadget: f_fs: Fix NULL pointer dereference in FUNCTIONFS_ENDPOINT_DESC
Noroxi assessment
Priority: Monitor (action score 0/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.17% (FIRST EPSS).
- Fixed version: Linux Linux 06ac8609d6d185ac18c1d6a6a8a9b99e398bd124, 35ab269602e1f7c4c0fe6ea3477264bea77eced3, 7811d8e26c77f8eea79e22d0d14c67ec0658b348; azl3 kernel 6.6.157.1-1 on Azure Linux 3.0 Release Notes.
Low priority for now. Upgrade to Linux Linux 06ac8609d6d185ac18c1d6a6a8a9b99e398bd124, 35ab269602e1f7c4c0fe6ea3477264bea77eced3, 7811d8e26c77f8eea79e22d0d14c67ec0658b348; azl3 kernel 6.6.157.1-1 on Azure Linux 3.0 Release Notes or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_fs: Fix NULL pointer dereference in FUNCTIONFS_ENDPOINT_DESC When user space sets up FunctionFS with only full-speed descriptors (e.g., flags = FUNCTIONFS_HAS_FS_DESC) and the gadget operates at a higher speed (such as USB_SPEED_HIGH or USB_SPEED_SUPER), config_ep_by_speed() detects that the function lacks descriptors for the current speed, logs a warning, and falls back to full-speed descriptors. The endpoint is then successfully enabled via usb_ep_enable(), and epfile->ep becomes valid. However, when user space subsequently issues the FUNCTIONFS_ENDPOINT_DESC ioctl to query the endpoint descriptor, ffs_epfile_ioctl() selects the descriptor index solely based on gadget->speed: switch (epfile->ffs->gadget->speed) { case USB_SPEED_SUPER: case USB_SPEED_SUPER_PLUS: desc_idx = 2; break; case USB_SPEED_HIGH: desc_idx = 1; break; default: desc_idx = 0; } desc = epfile->ep->descs[desc_idx]; memcpy(&desc1, desc, desc->bLength); Because user space only supplied full-speed descriptors, epfile->ep->descs[1] is NULL. Dereferencing desc->bLength triggers an immediate kernel NULL pointer dereference panic. Fix this by falling back through lower speed descriptors if the current speed descriptor was not supplied, matching the fallback logic in config_ep_by_speed() and historical f_fs behavior. If still missing, fall back to epfile->ep->ep->desc (the active descriptor), and return -EINVAL safely if no valid descriptor is found. In addition, mark desc as const to match struct usb_ep::desc and avoid discarding qualifiers.
- Published
- Oct 18, 2026
- Updated
- Oct 30, 2026
- EPSS
- 0.1% · 7th percentile
- CWE
- —
Report tools
Action score
0
Monitor
Low priority for now.
- CVSS
- 0 / 40 · —
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.1%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
—
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 3.18affected
- c559a353410939c0884e83bdb0e2420a986ac53b and later · before c5f452e057df6ef89300523d13ad6833bfd199cdaffected · git
- c559a353410939c0884e83bdb0e2420a986ac53b and later · before e5b9d6bb2a8906a1188c9a90cc8d102de3f07cadaffected · git
- c559a353410939c0884e83bdb0e2420a986ac53b and later · before 7ef0ad5f462fa95bc4c6647d097d7c0384245b9caffected · git
- c559a353410939c0884e83bdb0e2420a986ac53b and later · before 06ac8609d6d185ac18c1d6a6a8a9b99e398bd124affected · git
- c559a353410939c0884e83bdb0e2420a986ac53b and later · before 9d8761b3c133f6c6a6d3486839dac60e2cf4bfe3affected · git
- c559a353410939c0884e83bdb0e2420a986ac53b and later · before 7811d8e26c77f8eea79e22d0d14c67ec0658b348affected · git
- c559a353410939c0884e83bdb0e2420a986ac53b and later · before 35ab269602e1f7c4c0fe6ea3477264bea77eced3affected · git
- c559a353410939c0884e83bdb0e2420a986ac53b and later · before 9cd072788c76595529eb38f42bf94d23852f8534affected · git
- before 3.18not affected · semver
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | linux | from 0 | — |
| Debian:12 | linux-6.12 | before 6.12.113-1~deb12u1 | 6.12.113-1~deb12u1 |
| Debian:13 | linux | before 6.12.113-1 | 6.12.113-1 |
| Debian:14 | linux | before 7.2.10-1 | 7.2.10-1 |
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-74705udp: fix potential use-after-free in tunnel segmentation40Plan
- CVE-2026-74612veth: fix skb length accounting after XDP frag adjustment40Plan
- CVE-2026-74475vxlan: use neigh_ha_snapshot() in route_shortcircuit()40Plan
Published before and after this one in the same product
- ← EarlierCVE-2026-98762Oct 18, 2026 · USB: dwc2: shut down wakeup timer before freeing HCD state0Monitor
- ← EarlierCVE-2026-98763Oct 18, 2026 · usb: core: clear both ep_in and ep_out for non-ep0 control endpoints0Monitor
- Later →CVE-2026-98765Oct 18, 2026 · USB: gadget: dummy-hcd: Fix wait for outstanding request completions0Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 06ac8609d6d185ac18c1d6a6a8a9b99e398bd124 | Vendor (CNA) |
| Linux Linux | 35ab269602e1f7c4c0fe6ea3477264bea77eced3 | Vendor (CNA) |
| Linux Linux | 7811d8e26c77f8eea79e22d0d14c67ec0658b348 | Vendor (CNA) |
| Linux Linux | 7ef0ad5f462fa95bc4c6647d097d7c0384245b9c | Vendor (CNA) |
| Linux Linux | 9cd072788c76595529eb38f42bf94d23852f8534 | Vendor (CNA) |
| Linux Linux | 9d8761b3c133f6c6a6d3486839dac60e2cf4bfe3 | Vendor (CNA) |
| Linux Linux | c5f452e057df6ef89300523d13ad6833bfd199cd | Vendor (CNA) |
| Linux Linux | e5b9d6bb2a8906a1188c9a90cc8d102de3f07cad | Vendor (CNA) |
| azl3 kernel 6.6.157.1-1 on Azure Linux 3.0 | Release Notes | Microsoft (MSRC) |
| debian:linux | 6.12.113-1 · Debian:13 | Package registry (OSV) |
| debian:linux-6.12 | 6.12.113-1~deb12u1 · Debian:12 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- Published
- Fix recordedsame day
- TodayNov 6, 2026+19 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
No CVSS vector for this record, so attack conditions can't be derived.
Weakness class (CWE)
—
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- Exploit maturity— → none
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (7 more)Show less
- git.kernel.org/stable/c/35ab269602e1f7c4c0fe6ea3477264bea77eced3
- git.kernel.org/stable/c/7811d8e26c77f8eea79e22d0d14c67ec0658b348
- git.kernel.org/stable/c/7ef0ad5f462fa95bc4c6647d097d7c0384245b9c
- git.kernel.org/stable/c/9cd072788c76595529eb38f42bf94d23852f8534
- git.kernel.org/stable/c/9d8761b3c133f6c6a6d3486839dac60e2cf4bfe3
- git.kernel.org/stable/c/c5f452e057df6ef89300523d13ad6833bfd199cd
- git.kernel.org/stable/c/e5b9d6bb2a8906a1188c9a90cc8d102de3f07cad
Vendor advisories and official records. Exploit/PoC links are deliberately left out.