Skip to content
Heist/ feed
Unrated

usb: gadget: configfs: fix out-of-bounds read of qw_sign

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: usb: gadget: configfs: fix out-of-bounds read of qw_sign os_desc_qw_sign_show() passes OS_STRING_QW_SIGN_LEN as the input length to utf16s_to_utf8s(), but that argument counts UTF-16 code units while OS_STRING_QW_SIGN_LEN (14) is the byte size of qw_sign[]. The array holds only OS_STRING_QW_SIGN_LEN / 2 (7) code units, so the conversion reads up to 7 units (14 bytes) past the end of qw_sign[] into the following members of struct gadget_info when the stored signature fills the array without a NUL terminator, exposing those bytes through the configfs attribute. The store path halves the count for its input bound but passes the full byte count as the utf8s_to_utf16s() output limit; use the destination code-unit count in both directions.

Announced Source revision 1
Original source ↗

CVE-2026-93120

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-93120

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "76180d716f91f035d9c8639497cf5459b44e1a51",
        "lessThan": "b895dbed8ac9e12a5ffa1a2165575a8469f8340d",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "76180d716f91f035d9c8639497cf5459b44e1a51",
        "lessThan": "9b45125501aad2dff7730970461b455b0e0658ee",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "76180d716f91f035d9c8639497cf5459b44e1a51",
        "lessThan": "f6da500b0f8106882598b6dec87fe37d653946cf",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "76180d716f91f035d9c8639497cf5459b44e1a51",
        "lessThan": "a28c486434634f6d1e120711d2b09f3eddea6c98",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "76180d716f91f035d9c8639497cf5459b44e1a51",
        "lessThan": "7e94cb967778e074411940db4db97f22ed77560c",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "76180d716f91f035d9c8639497cf5459b44e1a51",
        "lessThan": "afbf39c0f2297c6abef6d670a82a2079b0836191",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "76180d716f91f035d9c8639497cf5459b44e1a51",
        "lessThan": "36315a330e067f7773196940552feacb1debbef1",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "76180d716f91f035d9c8639497cf5459b44e1a51",
        "lessThan": "f63edb54d8f738f9c21e2068c777ae1c097df6b7",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/usb/gadget/configfs.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "4.13"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "4.13",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "5.10.270",
        "versionType": "semver",
        "lessThanOrEqual": "5.10.*"
      },
      {
        "status": "unaffected",
        "version": "5.15.221",
        "versionType": "semver",
        "lessThanOrEqual": "5.15.*"
      },
      {
        "status": "unaffected",
        "version": "6.1.188",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.157",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.110",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.52",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.6",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/usb/gadget/configfs.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-93120

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#37844 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement