CVE-2026-90023 json
usb: gadget: f_mass_storage: fix null pointer dereference in fsg_common_set_num_buffers()
published 2026-09-16 54 d ago modified 2026-10-30 10 d ago also EUVD-2026-80631
- cvss
- —
- not scored
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 15%
- public exploits
- 0
- none known
Summary
In the Linux kernel, the following vulnerability has been resolved:
usb: gadget: f_mass_storage: fix null pointer dereference in fsg_common_set_num_buffers()
Previously fsg_num_buffers_validate() was removed as it was not necessary due to Kconfig setting the limits for n from 2 to 256 with default as 2. However, setting the page content in such a way that kstrtou8() reflects n value as either 0 or 1 bypasses these restrictions leading to a null pointer dereference if n is 0. Fix this by adding a check for n < 2 and returning -EINVAL if n is either 0 or 1 consistent with Kconfig logic.
Patch / fix
- Linux Linux 5.10.273, 5.15.224, 6.1.191, 6.6.160, 6.12.112, 6.18.52, 7.2.5, 7.3
- linux Debian 13 6.12.113-1
- linux Debian 14 7.2.6-1
- linux-6.12 Debian 12 6.12.113-1~deb12u1
debian advisories DEBIAN-CVE-2026-90023
- linux Ubuntu 26.04 LTS 7.0.0-42.42
- linux-aws Ubuntu 26.04 LTS 7.0.0-1016.17
- linux-gcp Ubuntu 26.04 LTS 7.0.0-1016.18
- linux-ibm Ubuntu 26.04 LTS 7.0.0-1017.17
- linux-riscv Ubuntu 26.04 LTS 7.0.0-42.42.1
- linux-oracle Ubuntu 26.04 LTS 7.0.0-1015.16
- linux-hwe-7.0 Ubuntu 24.04 LTS 7.0.0-42.42~24.04.1
- linux-oem-7.0 Ubuntu 26.04 LTS 7.0.0-1017.17
ubuntu advisories UBUNTU-CVE-2026-90023
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-source openSUSE Tumbleweed 7.2.7-1.1
opensuse advisories openSUSE-SU-2026:11880-1
- kernel Azure Linux 3.0 6.6.161.1-1
azure linux advisories AZL-101490
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
- git.kernel.org/stable/c/38edd187a37db0d8e4bf84cc954dbdbe7bfa366f commit
- git.kernel.org/stable/c/e54820b9dc1d6d731ecc3e51462445dc952906a7 commit
- git.kernel.org/stable/c/5d56dbaeb81d5cd967cdee8ddcc70814b7139246 commit
- git.kernel.org/stable/c/f4f0fe3ab47ed57ee4974fdd3e9dccb7839a7ebf commit
- git.kernel.org/stable/c/51cc9af4f2d3f0b765266aced66b9b532b423b13 commit
- git.kernel.org/stable/c/9e8dd2a7a8ccbb756771ad985b0ad3387ed3c957 commit
- git.kernel.org/stable/c/b9b5b5df5b8dd3c1572ed267200276a44cc67d8e commit
- git.kernel.org/stable/c/2c0f5ca48674a5b5f9fa4a9c3325aa48053af0bc commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-90023 updated cvss 5.5
kernel: usb: gadget: f_mass_storage: fix null pointer dereference in fsg_common_set_num_buffers()
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernel Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-8, openshift/ose-rhel-coreos-9not affected: vulnerable code not present
+1 more productsfewer
Red Hat OpenShift Container Platform 5 openshift/ose-rhel-coreos-9
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.24% chance of exploitation in the next 30 days, higher than 15% of all scored CVEs (FIRST EPSS, 2026-11-08).
Affected products
- Linux Linux
Classification
- Technology feeds
References
- git.kernel.org /stable/c/38edd187a37db0d8e4bf84cc954dbdbe7bfa366f
- git.kernel.org /stable/c/e54820b9dc1d6d731ecc3e51462445dc952906a7
- git.kernel.org /stable/c/5d56dbaeb81d5cd967cdee8ddcc70814b7139246
- git.kernel.org /stable/c/f4f0fe3ab47ed57ee4974fdd3e9dccb7839a7ebf
- git.kernel.org /stable/c/51cc9af4f2d3f0b765266aced66b9b532b423b13
- git.kernel.org /stable/c/9e8dd2a7a8ccbb756771ad985b0ad3387ed3c957
- git.kernel.org /stable/c/b9b5b5df5b8dd3c1572ed267200276a44cc67d8e
- git.kernel.org /stable/c/2c0f5ca48674a5b5f9fa4a9c3325aa48053af0bc
Sources
- CVE List CVE-2026-90023
- NVD CVE-2026-90023
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.