{"id":"CVE-2026-98764","title":"kernel: usb: gadget: f_fs: Fix NULL pointer dereference in FUNCTIONFS_ENDPOINT_DESC (CVE-2026-98764)","summary":"A flaw was found in the Linux kernel's USB (Universal Serial Bus) FunctionFS gadget subsystem. A local user can cause a Denial of Service (DoS) by triggering a kernel crash when querying endpoint descriptors on a USB gadget configured with…","severity":"medium","cvss":4.4,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","cvssSource":"vendor","cwe":"CWE-476","vendor":"Red Hat","product":"Linux","affected":["Linux >= c559a353410939c0884e83bdb0e2420a986ac53b < 06ac8609d6d185ac18c1d6a6a8a9b99e398bd124","Linux >= c559a353410939c0884e83bdb0e2420a986ac53b < 9d8761b3c133f6c6a6d3486839dac60e2cf4bfe3","Linux >= c559a353410939c0884e83bdb0e2420a986ac53b < 7811d8e26c77f8eea79e22d0d14c67ec0658b348","Linux >= c559a353410939c0884e83bdb0e2420a986ac53b < 35ab269602e1f7c4c0fe6ea3477264bea77eced3","Linux >= c559a353410939c0884e83bdb0e2420a986ac53b < 9cd072788c76595529eb38f42bf94d23852f8534","Linux 3.18"],"published":"2026-10-18","updated":"2026-10-23","sourceUpdated":"2026-10-23T05:38:34+00:00","source":"CSAF","sourceUrl":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98764.json","references":[{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98764.json"},{"url":"https://access.redhat.com/security/cve/CVE-2026-98764"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2555112"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-98764"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98764"},{"url":"https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-98764.mbox"},{"url":"https://git.kernel.org/stable/c/06ac8609d6d185ac18c1d6a6a8a9b99e398bd124"},{"url":"https://git.kernel.org/stable/c/9d8761b3c133f6c6a6d3486839dac60e2cf4bfe3"},{"url":"https://git.kernel.org/stable/c/7811d8e26c77f8eea79e22d0d14c67ec0658b348"},{"url":"https://git.kernel.org/stable/c/35ab269602e1f7c4c0fe6ea3477264bea77eced3"},{"url":"https://git.kernel.org/stable/c/9cd072788c76595529eb38f42bf94d23852f8534"}],"tags":["csaf","vex","red-hat","cve.org"],"epss":0.00168,"epssPercentile":0.05972,"ingestedAt":"2026-10-18T16:47:32.494Z","slug":"CVE-2026-98764","body":"## Overview\n\nA flaw was found in the Linux kernel's USB (Universal Serial Bus) FunctionFS gadget subsystem. A local user can cause a Denial of Service (DoS) by triggering a kernel crash when querying endpoint descriptors on a USB gadget configured with lower-speed settings than the active connection speed. In this scenario, the driver accesses an uninitialized memory pointer without proper validation, leading to an immediate system crash.\n\n## Vendor advisories\n\n- **Red Hat VEX** · Moderate · updated 2026-10-23 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98764.json)\n\n**kernel: usb: gadget: f_fs: Fix NULL pointer dereference in FUNCTIONFS_ENDPOINT_DESC** — rated Moderate by Red Hat. Released 2026-10-18, updated 2026-10-23.\n\nNot affected:\n\n- Red Hat Enterprise Linux 10\n- Red Hat Enterprise Linux 6\n- Red Hat Enterprise Linux 7\n- Red Hat Enterprise Linux 8\n- Red Hat Enterprise Linux 9\n- Red Hat OpenShift Container Platform 4\n\n## Remediation\n\nRefer to the advisory for fix availability.","depth":"sunlit","depthScore":24,"depthScoreParts":{"impact":24.2,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[{"seq":228153,"id":"CVE-2026-98764","ts":1792758135757,"field":"cvss","old":null,"new":"4.4"},{"seq":228152,"id":"CVE-2026-98764","ts":1792758135757,"field":"severity","old":"none","new":"medium"}]}