GHSA-W62R-7GP4-RP36
Vulnerability from github – Published: 2026-11-20 06:32 – Updated: 2026-11-23 09:30In the Linux kernel, the following vulnerability has been resolved:
ALSA: line6: Reject capture buffers smaller than two packets
line6_capture_copy() splits the copy into the ALSA ring buffer once at the buffer end and wraps pos_done once, which is only correct when one packet holds at most buffer_size frames. The packet size comes from the device's endpoint, and the per-device hw structs allow 64-byte periods with periods_min 1, so a packet can be larger than the whole buffer. audio_in_callback() logs an oversized packet and then copies it anyway.
The packet size is known at probe time, so constrain SNDRV_PCM_HW_PARAM_BUFFER_BYTES in snd_line6_capture_open() to at least twice the larger of the two endpoints' packet sizes. Two rather than one, because pos_done advances by the packet and wraps once, so a buffer of exactly one packet leaves the position unchanged after every packet. hw_params then rejects a buffer that cannot hold two packets, and the single wrap is valid for every configuration that gets through. Keep a guard in line6_capture_copy() that drops an oversized packet with a ratelimited error, for the case that should no longer be reachable.
Reproduced on 7.3-rc7 with a USB/IP device presenting the GuitarPort interface layout and 1024-byte packets into a 128-byte buffer: ALSA logged "invalid position: pos = 224, buffer size = 32" and the driver logged "driver bug: len" on every following packet. With this patch a 1024-byte buffer is refused at hw_params, and a 2048-byte buffer streams for 30 s with no report and with the position moving inside the buffer.
{
"affected": [],
"aliases": [
"CVE-2026-99611"
],
"database_specific": {
"cwe_ids": [],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-11-20T06:17:53Z",
"severity": "HIGH"
},
"details": "In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: line6: Reject capture buffers smaller than two packets\n\nline6_capture_copy() splits the copy into the ALSA ring buffer once at\nthe buffer end and wraps pos_done once, which is only correct when one\npacket holds at most buffer_size frames. The packet size comes from the\ndevice\u0027s endpoint, and the per-device hw structs allow 64-byte periods\nwith periods_min 1, so a packet can be larger than the whole buffer.\naudio_in_callback() logs an oversized packet and then copies it anyway.\n\nThe packet size is known at probe time, so constrain\nSNDRV_PCM_HW_PARAM_BUFFER_BYTES in snd_line6_capture_open() to at least\ntwice the larger of the two endpoints\u0027 packet sizes. Two rather than\none, because pos_done advances by the packet and wraps once, so a buffer\nof exactly one packet leaves the position unchanged after every packet.\nhw_params then rejects a buffer that cannot hold two packets, and the\nsingle wrap is valid for every configuration that gets through. Keep a\nguard in line6_capture_copy() that drops an oversized packet with a\nratelimited error, for the case that should no longer be reachable.\n\nReproduced on 7.3-rc7 with a USB/IP device presenting the GuitarPort\ninterface layout and 1024-byte packets into a 128-byte buffer: ALSA\nlogged \"invalid position: pos = 224, buffer size = 32\" and the driver\nlogged \"driver bug: len\" on every following packet. With this patch a\n1024-byte buffer is refused at hw_params, and a 2048-byte buffer streams\nfor 30 s with no report and with the position moving inside the buffer.",
"id": "GHSA-w62r-7gp4-rp36",
"modified": "2026-11-23T09:30:51Z",
"published": "2026-11-20T06:32:04Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99611"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/31041d36272c74903c2edc79c709adacc3efc532"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/3e7f477a9e56b627739832e6cf9b682693a474a9"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/78cf1c93eaa13f1cd4ebdfdcc3a410f63590c539"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/9885eaa2091335ed181c93f2b406604ee2bf2312"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/db51425c9eb038a8e40e09b837afde015ae9e3ec"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/e5593f7cc02ce02e414df6afa8fb22ab471b15da"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/ed4d8c52b322edf93113a6cd0234fe585d4d5b5e"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/faf1f471319775e280d959ffbffaa44fd7e5f5b0"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.