CVE-2026-90023

usb: gadget: f_mass_storage: fix null pointer dereference in fsg_common_set_num_buffers()

No CVSS score yet EPSS 0.23%

Published 16 Sep 2026 Updated 30 Oct 2026 CNA: Linux

Check your servers for CVE-2026-90023

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-90023 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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.

Exploitation

EPSS 0.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 8.33% of all scored CVEs. Scores of 29 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from fe5a6c48fd954489f51aab151d5dad9254c76419, before 38edd187a37db0d8e4bf84cc954dbdbe7bfa366f
affected from fe5a6c48fd954489f51aab151d5dad9254c76419, before e54820b9dc1d6d731ecc3e51462445dc952906a7
affected from fe5a6c48fd954489f51aab151d5dad9254c76419, before 5d56dbaeb81d5cd967cdee8ddcc70814b7139246
affected from fe5a6c48fd954489f51aab151d5dad9254c76419, before f4f0fe3ab47ed57ee4974fdd3e9dccb7839a7ebf
affected from fe5a6c48fd954489f51aab151d5dad9254c76419, before 51cc9af4f2d3f0b765266aced66b9b532b423b13
affected from fe5a6c48fd954489f51aab151d5dad9254c76419, before 9e8dd2a7a8ccbb756771ad985b0ad3387ed3c957
affected from fe5a6c48fd954489f51aab151d5dad9254c76419, before b9b5b5df5b8dd3c1572ed267200276a44cc67d8e
affected from fe5a6c48fd954489f51aab151d5dad9254c76419, before 2c0f5ca48674a5b5f9fa4a9c3325aa48053af0bc
Other versions: unaffected
Linux
affected 4.8
unaffected before 4.8
unaffected from 5.10.273 up to and including 5.10.*
unaffected from 5.15.224 up to and including 5.15.*
unaffected from 6.1.191 up to and including 6.1.*
unaffected from 6.6.160 up to and including 6.6.*
unaffected from 6.12.112 up to and including 6.12.*
unaffected from 6.18.52 up to and including 6.18.*
unaffected from 7.2.5 up to and including 7.2.*
unaffected 7.3 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-90023 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-90023

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-90023
trivy image --scanners vuln IMAGE | grep CVE-2026-90023

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-90023 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.