« Volver al listado

CVE-2025-68288

Estado: AplazadaSin puntuar—

In the Linux kernel, the following vulnerability has been resolved:

usb: storage: Fix memory leak in USB bulk transport

A kernel memory leak was identified by the 'ioctl_sg01' test from Linux Test Project (LTP). The following bytes were mainly observed: 0x53425355.

When USB storage devices incorrectly skip the data phase with status data, the code extracts/validates the CSW from the sg buffer, but fails to clear it afterwards. This leaves status protocol data in srb's transfer buffer, such as the US_BULK_CS_SIGN 'USBS' signature observed here. Thus, this can lead to USB protocols leaks to user space through SCSI generic (/dev/sg*) interfaces, such as the one seen here when the LTP test requested 512 KiB.

Leer descripción completaMostrar menos

Fix the leak by zeroing the CSW data in srb's transfer buffer immediately after the validation of devices that skip data phase.

Note: Differently from CVE-2018-1000204, which fixed a big leak by zero- ing pages at allocation time, this leak occurs after allocation, when USB protocol data is written to already-allocated sg pages.

CVSS

NVD no ha asignado puntuación CVSS a esta CVE (habitual desde el cambio de política de abril de 2026).

Probabilidad de explotación (EPSS)

EPSS (Exploit Prediction Scoring System, de FIRST) estima la probabilidad de que una vulnerabilidad sea explotada en 30 días. Complementa a CVSS (impacto) y a CISA KEV (explotación confirmada).

Tecnologías afectadas (1)

⚠ Inferidas por IA a partir de la descripción — NVD aún no ha analizado esta CVE; no son CPE verificados.

Referencias

JSON original (NVD)

Mostrar
{
  "id": "CVE-2025-68288",
  "cveTags": [],
  "metrics": {},
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "product": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "a45b599ad808c3c982fdcdc12b0b8611c2f92824",
              "lessThan": "83f0241959831586d9b6d47f6bd5d3dec8f43bf0",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "a45b599ad808c3c982fdcdc12b0b8611c2f92824",
              "lessThan": "4ba515dfff7eeca369ab85cdbb3f3b231c71720c",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "a45b599ad808c3c982fdcdc12b0b8611c2f92824",
              "lessThan": "467fec3cefbeb9e3ea80f457da9a5666a71ca0d0",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "a45b599ad808c3c982fdcdc12b0b8611c2f92824",
              "lessThan": "cb1401b5bcc2feb5b038fc4b512e5968b016e05e",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "a45b599ad808c3c982fdcdc12b0b8611c2f92824",
              "lessThan": "0f18eac44c5668204bf6eebb01ddb369ac56932b",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "a45b599ad808c3c982fdcdc12b0b8611c2f92824",
              "lessThan": "5b815ddb3f5560fac35b16de3a2a22d5f81c5993",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "a45b599ad808c3c982fdcdc12b0b8611c2f92824",
              "lessThan": "41e99fe2005182139b1058db71f0d241f8f0078c",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "582802e7c617cfb07cc15f280c128e6decbc57b8",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "58b7ce6f9ef2367f86384b20458642945993b816",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "93314640426ddb6af618d0802e622f6fa771792c",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "ad2518320bc440ed3db072e2444a1bb226a9cf7a",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "d827bea2d18c07ba514f7d48cde49f90da9a1384",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "39169410574503c6e901de1aa6eac5108475e017",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "3.16.58",
              "lessThan": "3.17",
              "versionType": "semver"
            },
            {
              "status": "affected",
              "version": "3.18.110",
              "lessThan": "3.19",
              "versionType": "semver"
            },
            {
              "status": "affected",
              "version": "4.4.133",
              "lessThan": "4.5",
              "versionType": "semver"
            },
            {
              "status": "affected",
              "version": "4.9.103",
              "lessThan": "4.10",
              "versionType": "semver"
            },
            {
              "status": "affected",
              "version": "4.14.44",
              "lessThan": "4.15",
              "versionType": "semver"
            },
            {
              "status": "affected",
              "version": "4.16.12",
              "lessThan": "4.17",
              "versionType": "semver"
            }
          ],
          "programFiles": [
            "drivers/usb/storage/transport.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.17"
            },
            {
              "status": "unaffected",
              "version": "0",
              "lessThan": "4.17",
              "versionType": "semver"
            },
            {
              "status": "unaffected",
              "version": "5.10.247",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "status": "unaffected",
              "version": "5.15.197",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "status": "unaffected",
              "version": "6.1.159",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "status": "unaffected",
              "version": "6.6.119",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "status": "unaffected",
              "version": "6.12.61",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "status": "unaffected",
              "version": "6.17.11",
              "versionType": "semver",
              "lessThanOrEqual": "6.17.*"
            },
            {
              "status": "unaffected",
              "version": "6.18",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ],
          "programFiles": [
            "drivers/usb/storage/transport.c"
          ],
          "defaultStatus": "affected"
        }
      ]
    }
  ],
  "published": "2025-12-16T16:16:07.620",
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/0f18eac44c5668204bf6eebb01ddb369ac56932b",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/41e99fe2005182139b1058db71f0d241f8f0078c",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/467fec3cefbeb9e3ea80f457da9a5666a71ca0d0",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/4ba515dfff7eeca369ab85cdbb3f3b231c71720c",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/5b815ddb3f5560fac35b16de3a2a22d5f81c5993",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/83f0241959831586d9b6d47f6bd5d3dec8f43bf0",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/cb1401b5bcc2feb5b038fc4b512e5968b016e05e",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ],
  "vulnStatus": "Deferred",
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nusb: storage: Fix memory leak in USB bulk transport\n\nA kernel memory leak was identified by the 'ioctl_sg01' test from Linux\nTest Project (LTP). The following bytes were mainly observed: 0x53425355.\n\nWhen USB storage devices incorrectly skip the data phase with status data,\nthe code extracts/validates the CSW from the sg buffer, but fails to clear\nit afterwards. This leaves status protocol data in srb's transfer buffer,\nsuch as the US_BULK_CS_SIGN 'USBS' signature observed here. Thus, this can\nlead to USB protocols leaks to user space through SCSI generic (/dev/sg*)\ninterfaces, such as the one seen here when the LTP test requested 512 KiB.\n\nFix the leak by zeroing the CSW data in srb's transfer buffer immediately\nafter the validation of devices that skip data phase.\n\nNote: Differently from CVE-2018-1000204, which fixed a big leak by zero-\ning pages at allocation time, this leak occurs after allocation, when USB\nprotocol data is written to already-allocated sg pages."
    }
  ],
  "lastModified": "2026-06-17T09:58:52.567",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}