CVE-2025-40269 (GCVE-0-2025-40269)
Vulnerability from cvelistv5
Published
2025-12-06 21:50
Modified
2026-08-05 12:09
Summary
In the Linux kernel, the following vulnerability has been resolved: ALSA: usb-audio: Fix potential overflow of PCM transfer buffer The PCM stream data in USB-audio driver is transferred over USB URB packet buffers, and each packet size is determined dynamically. The packet sizes are limited by some factors such as wMaxPacketSize USB descriptor. OTOH, in the current code, the actually used packet sizes are determined only by the rate and the PPS, which may be bigger than the size limit above. This results in a buffer overflow, as reported by syzbot. Basically when the limit is smaller than the calculated packet size, it implies that something is wrong, most likely a weird USB descriptor. So the best option would be just to return an error at the parameter setup time before doing any further operations. This patch introduces such a sanity check, and returns -EINVAL when the packet size is greater than maxpacksize. The comparison with ep->packsize[1] alone should suffice since it's always equal or greater than ep->packsize[0].
Impacted products
Vendor Product Version
Linux Linux Version: 02c56650f3c118d3752122996d96173d26bb13aa
Version: 5ef30e443e6d3654cccecec99cf481a69a0a6d3b
Version: 99703c921864a318e3e8aae74fde071b1ff35bea
Version: 2d50acd7dbd0682a56968ad9551341d7fc5b6eaf
Version: aba41867dd66939d336fdf604e4d73b805d8039f
Version: d288dc74f8cf95cb7ae0aaf245b7128627a49bf3
Version: f0bd62b64016508938df9babe47f65c2c727d25c
Version: f0bd62b64016508938df9babe47f65c2c727d25c
Version: f0bd62b64016508938df9babe47f65c2c727d25c
Version: f0bd62b64016508938df9babe47f65c2c727d25c
Version: f0bd62b64016508938df9babe47f65c2c727d25c
Version: f0bd62b64016508938df9babe47f65c2c727d25c
Version: f0bd62b64016508938df9babe47f65c2c727d25c
Version: 4.4.229   
Version: 4.9.229   
Version: 4.14.186   
Version: 4.19.130   
Version: 5.4.49   
Version: 5.7.6   
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2025-40269",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-06-16T20:14:17.883716Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-06-16T20:14:28.678Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "sound/usb/endpoint.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "480a1490c595a242f27493a4544b3efb21b29f6a",
              "status": "affected",
              "version": "02c56650f3c118d3752122996d96173d26bb13aa",
              "versionType": "git"
            },
            {
              "lessThan": "ab0b5e92fc36ee82c1bd01fe896d0f775ed5de41",
              "status": "affected",
              "version": "5ef30e443e6d3654cccecec99cf481a69a0a6d3b",
              "versionType": "git"
            },
            {
              "lessThan": "282aba56713bbc58155716b55ca7222b2d9cf3c8",
              "status": "affected",
              "version": "99703c921864a318e3e8aae74fde071b1ff35bea",
              "versionType": "git"
            },
            {
              "lessThan": "c4dc012b027c9eb101583011089dea14d744e314",
              "status": "affected",
              "version": "2d50acd7dbd0682a56968ad9551341d7fc5b6eaf",
              "versionType": "git"
            },
            {
              "lessThan": "e0ed5a36fb3ab9e7b9ee45cd17f09f6d5f594360",
              "status": "affected",
              "version": "aba41867dd66939d336fdf604e4d73b805d8039f",
              "versionType": "git"
            },
            {
              "lessThan": "d67dde02049e632ba58d3c44a164a74b6a737154",
              "status": "affected",
              "version": "d288dc74f8cf95cb7ae0aaf245b7128627a49bf3",
              "versionType": "git"
            },
            {
              "lessThan": "6a5da3fa80affc948923f20a4e086177f505e86e",
              "status": "affected",
              "version": "f0bd62b64016508938df9babe47f65c2c727d25c",
              "versionType": "git"
            },
            {
              "lessThan": "217d47255a2ec8b246f2725f5db9ac3f1d4109d7",
              "status": "affected",
              "version": "f0bd62b64016508938df9babe47f65c2c727d25c",
              "versionType": "git"
            },
            {
              "lessThan": "ef592bf2232a2daa9fffa8881881fc9957ea56e9",
              "status": "affected",
              "version": "f0bd62b64016508938df9babe47f65c2c727d25c",
              "versionType": "git"
            },
            {
              "lessThan": "ece3b981bb6620e47fac826a2156c090b1a936a0",
              "status": "affected",
              "version": "f0bd62b64016508938df9babe47f65c2c727d25c",
              "versionType": "git"
            },
            {
              "lessThan": "98e9d5e33bda8db875cc1a4fe99c192658e45ab6",
              "status": "affected",
              "version": "f0bd62b64016508938df9babe47f65c2c727d25c",
              "versionType": "git"
            },
            {
              "lessThan": "d2c04f20ccc6c0d219e6d3038bab45bc66a178ad",
              "status": "affected",
              "version": "f0bd62b64016508938df9babe47f65c2c727d25c",
              "versionType": "git"
            },
            {
              "lessThan": "05a1fc5efdd8560f34a3af39c9cf1e1526cc3ddf",
              "status": "affected",
              "version": "f0bd62b64016508938df9babe47f65c2c727d25c",
              "versionType": "git"
            },
            {
              "lessThan": "4.4.230",
              "status": "affected",
              "version": "4.4.229",
              "versionType": "semver"
            },
            {
              "lessThan": "4.9.230",
              "status": "affected",
              "version": "4.9.229",
              "versionType": "semver"
            },
            {
              "lessThan": "4.14.188",
              "status": "affected",
              "version": "4.14.186",
              "versionType": "semver"
            },
            {
              "lessThan": "4.19.132",
              "status": "affected",
              "version": "4.19.130",
              "versionType": "semver"
            },
            {
              "lessThan": "5.4.51",
              "status": "affected",
              "version": "5.4.49",
              "versionType": "semver"
            },
            {
              "lessThan": "5.7.8",
              "status": "affected",
              "version": "5.7.6",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "sound/usb/endpoint.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.8"
            },
            {
              "lessThan": "5.8",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.4.*",
              "status": "unaffected",
              "version": "4.4.230",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.9.*",
              "status": "unaffected",
              "version": "4.9.230",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.188",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.132",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.51",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.7.*",
              "status": "unaffected",
              "version": "5.7.8",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.247",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.197",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.159",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.117",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.59",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.17.*",
              "status": "unaffected",
              "version": "6.17.9",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.18",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.4.230",
                  "versionStartIncluding": "4.4.229",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.9.230",
                  "versionStartIncluding": "4.9.229",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.188",
                  "versionStartIncluding": "4.14.186",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.132",
                  "versionStartIncluding": "4.19.130",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.51",
                  "versionStartIncluding": "5.4.49",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.7.8",
                  "versionStartIncluding": "5.7.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.247",
                  "versionStartIncluding": "5.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.197",
                  "versionStartIncluding": "5.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.159",
                  "versionStartIncluding": "5.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.117",
                  "versionStartIncluding": "5.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.59",
                  "versionStartIncluding": "5.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.17.9",
                  "versionStartIncluding": "5.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18",
                  "versionStartIncluding": "5.8",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: usb-audio: Fix potential overflow of PCM transfer buffer\n\nThe PCM stream data in USB-audio driver is transferred over USB URB\npacket buffers, and each packet size is determined dynamically.  The\npacket sizes are limited by some factors such as wMaxPacketSize USB\ndescriptor.  OTOH, in the current code, the actually used packet sizes\nare determined only by the rate and the PPS, which may be bigger than\nthe size limit above.  This results in a buffer overflow, as reported\nby syzbot.\n\nBasically when the limit is smaller than the calculated packet size,\nit implies that something is wrong, most likely a weird USB\ndescriptor.  So the best option would be just to return an error at\nthe parameter setup time before doing any further operations.\n\nThis patch introduces such a sanity check, and returns -EINVAL when\nthe packet size is greater than maxpacksize.  The comparison with\nep-\u003epacksize[1] alone should suffice since it\u0027s always equal or\ngreater than ep-\u003epacksize[0]."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The overflow is driven by locally-supplied `hw_params` (rate/format/channels) written via ioctl on `/dev/snd/pcmC*D*p` plus PCM data the attacker writes into the mmap\u0027d buffer, on any system with a USB audio endpoint present (USB headsets/DACs/webcam mics are ubiquitous on desktops, Android, kiosks and embedded systems). Although a malformed descriptor is one way to reach it, no physical interaction is required for a local attacker on a machine with an attached USB audio device.\nAC:L - The attacker deterministically chooses the rate and sample format that make `packsize[1] * stride` exceed the `wMaxPacketSize`-derived buffer, then triggers the copy by starting playback \u2014 no race, no memory-layout guessing, and the condition is fully reproducible on every URB submission.\nPR:L - Only access to the ALSA PCM device node is required, which is granted to the logged-in session user via logind ACLs or membership in the `audio` group; no CAP_SYS_ADMIN or root is needed.\nUI:N - The attacking process performs open/hw_params/prepare/write entirely on its own; no victim action is needed, and on desktop/Android systems PipeWire/AudioFlinger will even drive the stream automatically on hotplug.\nS:U - The corruption stays within the kernel\u0027s own memory and the USB host controller\u0027s DMA-coherent pool, managed by the same security authority; no VM, IOMMU or sandbox boundary is crossed.\nC:H - The oversized `iso_frame_desc` lengths cause the host controller to DMA kernel memory beyond the allocated coherent buffer out to the USB device, disclosing adjacent kernel heap contents to the attacker; heap corruption can also be leveraged for broader arbitrary read.\nI:H - `copy_to_urb()` memcpy\u0027s an attacker-controlled length of attacker-controlled PCM bytes past the end of the coherent URB buffer, giving a heap out-of-bounds write with controlled content \u2014 a primitive suitable for corrupting adjacent objects and hijacking control flow.\nA:H - Overrunning the DMA-coherent transfer buffer corrupts neighbouring kernel/DMA-pool memory and reliably produces an oops or panic, as observed in the syzbot report and the related bugzilla crash reports."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T12:09:02.371Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/480a1490c595a242f27493a4544b3efb21b29f6a"
        },
        {
          "url": "https://git.kernel.org/stable/c/ab0b5e92fc36ee82c1bd01fe896d0f775ed5de41"
        },
        {
          "url": "https://git.kernel.org/stable/c/282aba56713bbc58155716b55ca7222b2d9cf3c8"
        },
        {
          "url": "https://git.kernel.org/stable/c/c4dc012b027c9eb101583011089dea14d744e314"
        },
        {
          "url": "https://git.kernel.org/stable/c/e0ed5a36fb3ab9e7b9ee45cd17f09f6d5f594360"
        },
        {
          "url": "https://git.kernel.org/stable/c/d67dde02049e632ba58d3c44a164a74b6a737154"
        },
        {
          "url": "https://git.kernel.org/stable/c/6a5da3fa80affc948923f20a4e086177f505e86e"
        },
        {
          "url": "https://git.kernel.org/stable/c/217d47255a2ec8b246f2725f5db9ac3f1d4109d7"
        },
        {
          "url": "https://git.kernel.org/stable/c/ef592bf2232a2daa9fffa8881881fc9957ea56e9"
        },
        {
          "url": "https://git.kernel.org/stable/c/ece3b981bb6620e47fac826a2156c090b1a936a0"
        },
        {
          "url": "https://git.kernel.org/stable/c/98e9d5e33bda8db875cc1a4fe99c192658e45ab6"
        },
        {
          "url": "https://git.kernel.org/stable/c/d2c04f20ccc6c0d219e6d3038bab45bc66a178ad"
        },
        {
          "url": "https://git.kernel.org/stable/c/05a1fc5efdd8560f34a3af39c9cf1e1526cc3ddf"
        }
      ],
      "title": "ALSA: usb-audio: Fix potential overflow of PCM transfer buffer",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2025-40269",
    "datePublished": "2025-12-06T21:50:50.229Z",
    "dateReserved": "2025-04-16T07:20:57.183Z",
    "dateUpdated": "2026-08-05T12:09:02.371Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2025-40269\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-06-16T20:14:17.883716Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-06-16T20:14:25.334Z\"}}], \"cna\": {\"title\": \"ALSA: usb-audio: Fix potential overflow of PCM transfer buffer\", \"metrics\": [{\"cvssV3_1\": {\"version\": \"3.1\", \"baseScore\": 7.8, \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\"}}], \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"02c56650f3c118d3752122996d96173d26bb13aa\", \"lessThan\": \"480a1490c595a242f27493a4544b3efb21b29f6a\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"5ef30e443e6d3654cccecec99cf481a69a0a6d3b\", \"lessThan\": \"ab0b5e92fc36ee82c1bd01fe896d0f775ed5de41\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"99703c921864a318e3e8aae74fde071b1ff35bea\", \"lessThan\": \"282aba56713bbc58155716b55ca7222b2d9cf3c8\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"2d50acd7dbd0682a56968ad9551341d7fc5b6eaf\", \"lessThan\": \"c4dc012b027c9eb101583011089dea14d744e314\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"aba41867dd66939d336fdf604e4d73b805d8039f\", \"lessThan\": \"e0ed5a36fb3ab9e7b9ee45cd17f09f6d5f594360\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"d288dc74f8cf95cb7ae0aaf245b7128627a49bf3\", \"lessThan\": \"d67dde02049e632ba58d3c44a164a74b6a737154\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"f0bd62b64016508938df9babe47f65c2c727d25c\", \"lessThan\": \"6a5da3fa80affc948923f20a4e086177f505e86e\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"f0bd62b64016508938df9babe47f65c2c727d25c\", \"lessThan\": \"217d47255a2ec8b246f2725f5db9ac3f1d4109d7\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"f0bd62b64016508938df9babe47f65c2c727d25c\", \"lessThan\": \"ef592bf2232a2daa9fffa8881881fc9957ea56e9\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"f0bd62b64016508938df9babe47f65c2c727d25c\", \"lessThan\": \"ece3b981bb6620e47fac826a2156c090b1a936a0\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"f0bd62b64016508938df9babe47f65c2c727d25c\", \"lessThan\": \"98e9d5e33bda8db875cc1a4fe99c192658e45ab6\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"f0bd62b64016508938df9babe47f65c2c727d25c\", \"lessThan\": \"d2c04f20ccc6c0d219e6d3038bab45bc66a178ad\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"f0bd62b64016508938df9babe47f65c2c727d25c\", \"lessThan\": \"05a1fc5efdd8560f34a3af39c9cf1e1526cc3ddf\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"4.4.229\", \"lessThan\": \"4.4.230\", \"versionType\": \"semver\"}, {\"status\": \"affected\", \"version\": \"4.9.229\", \"lessThan\": \"4.9.230\", \"versionType\": \"semver\"}, {\"status\": \"affected\", \"version\": \"4.14.186\", \"lessThan\": \"4.14.188\", \"versionType\": \"semver\"}, {\"status\": \"affected\", \"version\": \"4.19.130\", \"lessThan\": \"4.19.132\", \"versionType\": \"semver\"}, {\"status\": \"affected\", \"version\": \"5.4.49\", \"lessThan\": \"5.4.51\", \"versionType\": \"semver\"}, {\"status\": \"affected\", \"version\": \"5.7.6\", \"lessThan\": \"5.7.8\", \"versionType\": \"semver\"}], \"programFiles\": [\"sound/usb/endpoint.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"5.8\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"5.8\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"4.4.230\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.4.*\"}, {\"status\": \"unaffected\", \"version\": \"4.9.230\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.9.*\"}, {\"status\": \"unaffected\", \"version\": \"4.14.188\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.14.*\"}, {\"status\": \"unaffected\", \"version\": \"4.19.132\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.19.*\"}, {\"status\": \"unaffected\", \"version\": \"5.4.51\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.4.*\"}, {\"status\": \"unaffected\", \"version\": \"5.7.8\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.7.*\"}, {\"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.117\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.6.*\"}, {\"status\": \"unaffected\", \"version\": \"6.12.59\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.12.*\"}, {\"status\": \"unaffected\", \"version\": \"6.17.9\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.17.*\"}, {\"status\": \"unaffected\", \"version\": \"6.18\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"sound/usb/endpoint.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/480a1490c595a242f27493a4544b3efb21b29f6a\"}, {\"url\": \"https://git.kernel.org/stable/c/ab0b5e92fc36ee82c1bd01fe896d0f775ed5de41\"}, {\"url\": \"https://git.kernel.org/stable/c/282aba56713bbc58155716b55ca7222b2d9cf3c8\"}, {\"url\": \"https://git.kernel.org/stable/c/c4dc012b027c9eb101583011089dea14d744e314\"}, {\"url\": \"https://git.kernel.org/stable/c/e0ed5a36fb3ab9e7b9ee45cd17f09f6d5f594360\"}, {\"url\": \"https://git.kernel.org/stable/c/d67dde02049e632ba58d3c44a164a74b6a737154\"}, {\"url\": \"https://git.kernel.org/stable/c/6a5da3fa80affc948923f20a4e086177f505e86e\"}, {\"url\": \"https://git.kernel.org/stable/c/217d47255a2ec8b246f2725f5db9ac3f1d4109d7\"}, {\"url\": \"https://git.kernel.org/stable/c/ef592bf2232a2daa9fffa8881881fc9957ea56e9\"}, {\"url\": \"https://git.kernel.org/stable/c/ece3b981bb6620e47fac826a2156c090b1a936a0\"}, {\"url\": \"https://git.kernel.org/stable/c/98e9d5e33bda8db875cc1a4fe99c192658e45ab6\"}, {\"url\": \"https://git.kernel.org/stable/c/d2c04f20ccc6c0d219e6d3038bab45bc66a178ad\"}, {\"url\": \"https://git.kernel.org/stable/c/05a1fc5efdd8560f34a3af39c9cf1e1526cc3ddf\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nALSA: usb-audio: Fix potential overflow of PCM transfer buffer\\n\\nThe PCM stream data in USB-audio driver is transferred over USB URB\\npacket buffers, and each packet size is determined dynamically.  The\\npacket sizes are limited by some factors such as wMaxPacketSize USB\\ndescriptor.  OTOH, in the current code, the actually used packet sizes\\nare determined only by the rate and the PPS, which may be bigger than\\nthe size limit above.  This results in a buffer overflow, as reported\\nby syzbot.\\n\\nBasically when the limit is smaller than the calculated packet size,\\nit implies that something is wrong, most likely a weird USB\\ndescriptor.  So the best option would be just to return an error at\\nthe parameter setup time before doing any further operations.\\n\\nThis patch introduces such a sanity check, and returns -EINVAL when\\nthe packet size is greater than maxpacksize.  The comparison with\\nep-\u003epacksize[1] alone should suffice since it\u0027s always equal or\\ngreater than ep-\u003epacksize[0].\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"4.4.230\", \"versionStartIncluding\": \"4.4.229\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"4.9.230\", \"versionStartIncluding\": \"4.9.229\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"4.14.188\", \"versionStartIncluding\": \"4.14.186\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"4.19.132\", \"versionStartIncluding\": \"4.19.130\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.4.51\", \"versionStartIncluding\": \"5.4.49\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.7.8\", \"versionStartIncluding\": \"5.7.6\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.10.247\", \"versionStartIncluding\": \"5.8\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.15.197\", \"versionStartIncluding\": \"5.8\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.1.159\", \"versionStartIncluding\": \"5.8\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.6.117\", \"versionStartIncluding\": \"5.8\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.12.59\", \"versionStartIncluding\": \"5.8\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.17.9\", \"versionStartIncluding\": \"5.8\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.18\", \"versionStartIncluding\": \"5.8\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-07-30T06:02:08.221Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2025-40269\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-07-30T06:02:08.221Z\", \"dateReserved\": \"2025-04-16T07:20:57.183Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2025-12-06T21:50:50.229Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…