PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-90023 Linux CVE debrief

A null pointer dereference vulnerability was found in the Linux kernel's usb gadget driver for mass storage. The vulnerability occurs when the number of buffers is set to an invalid value, causing a null pointer dereference. This issue has been resolved by adding a check for invalid buffer counts. The vulnerability was introduced due to the removal of fsg_num_buffers_validate(), which previously ensured that the number of buffers was within a valid range. However, Kconfig settings limit the number of buffers from 2 to 256, with a default of 2. An attacker could bypass these restrictions by setting the page content in a way that kstrtou8() reflects an n value of either 0 or 1, which

Vendor
Linux
Product
Unknown
CVSS
Unknown
CISA KEV
Not listed in stored evidence
Original CVE published
2026-09-16
Original CVE updated
2026-10-03
Advisory published
2026-09-16
Advisory updated
2026-10-03

Who should care

Linux kernel developers and maintainers, Linux distribution maintainers, and users of Linux-based systems with usb gadget functionality should be aware of this vulnerability. They should verify buffer count settings and apply patches to prevent exploitation. Additionally, security teams and vulnerability management teams should review and apply patches, monitor for potential exploitation attempts, and review compensating controls for exposed systems.

Why it matters

A null pointer dereference vulnerability in the Linux kernel's usb gadget driver for mass storage requires verification of buffer count settings and application of patches to prevent exploitation.

  • Verify buffer count settings to prevent null pointer dereferences
  • Apply patches to ensure vulnerability is resolved

Technical summary

The Linux kernel's usb gadget driver for mass storage has a null pointer dereference vulnerability. The issue arises when the number of buffers is set to an invalid value, causing a null pointer dereference. The vulnerability has been resolved by adding a check for invalid buffer counts. The patch adds a check for n < 2 and returns -EINVAL if n is either 0 or 1, consistent with Kconfig logic. This change prevents the null pointer dereference vulnerability. The vulnerability requires verification of buffer count settings and application of patches to prevent exploitation.

Defensive priority

Medium

Recommended defensive actions

  • Review and apply the patch for the Linux kernel usb gadget driver
  • Verify the buffer count settings for the mass storage gadget
  • Monitor for potential exploitation attempts
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up

Evidence notes

The CVE record and NVD entry provide details on the vulnerability, including its description and references to source code changes. The Linux kernel patch notes and source code changes provide additional information on the vulnerability and its resolution. The patch adds a check for n < 2 and returns -EINVAL if n is either 0 or 1, consistent with Kconfig logic. This change prevents the null pointer dereference vulnerability. The vulnerability requires verification of buffer count settings and application of patches to prevent

Sources and references

Verified primary and authoritative sources

  • CVE-2026-90023 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-90023

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-90023 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-90023

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/2c0f5ca48674a5b5f9fa4a9c3325aa48053af0bc

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/51cc9af4f2d3f0b765266aced66b9b532b423b13

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/9e8dd2a7a8ccbb756771ad985b0ad3387ed3c957

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/b9b5b5df5b8dd3c1572ed267200276a44cc67d8e

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.