GHSA-V9Q2-HCV6-5JXV
Vulnerability from github – Published: 2026-11-30 15:32 – Updated: 2026-11-30 15:32In the Linux kernel, the following vulnerability has been resolved:
usb-storage: alauda: fix out-of-bounds zone index
MEDIA_INFO(us).lba_to_pba and .pba_to_lba are arrays of num_zones pointers, allocated by kcalloc() in alauda_init_media(). alauda_ensure_map_for_zone() reads lba_to_pba[zone] and pba_to_lba[zone], and when either is NULL alauda_read_map() writes a pointer back to both. Two separate errors let zone reach num_zones, one element past the end.
max_lba is capacity >> (blockshift + pageshift), which counts physical blocks, but zone is lba / uzonesize and uzonesize is 125/128 of zonesize. On a 16 MB card (alauda_card_ids id 0x73) num_zones is 1 and uzonesize is 1000, so lba 1000 to 1023 pass the bounds check and index element 1 of a one-element array.
alauda_read_data() also calls alauda_ensure_map_for_zone() before it compares lba against max_lba, so any larger lba is used as an index before the check rejects it. alauda_write_data() already checks first.
Bound lba by num_zones * uzonesize on both paths and move the read side's call below the check. alauda_transport() reports num_zones * uzonesize * blocksize for READ_CAPACITY, so the new bound is exactly the range the device advertises and no block becomes unreachable.
sd never issues an lba past the reported capacity; an SG_IO READ_10 can.
{
"affected": [],
"aliases": [
"CVE-2026-139716"
],
"database_specific": {
"cwe_ids": [],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-11-30T14:20:02Z",
"severity": null
},
"details": "In the Linux kernel, the following vulnerability has been resolved:\n\nusb-storage: alauda: fix out-of-bounds zone index\n\nMEDIA_INFO(us).lba_to_pba and .pba_to_lba are arrays of num_zones\npointers, allocated by kcalloc() in alauda_init_media().\nalauda_ensure_map_for_zone() reads lba_to_pba[zone] and\npba_to_lba[zone], and when either is NULL alauda_read_map() writes a\npointer back to both. Two separate errors let zone reach num_zones, one\nelement past the end.\n\nmax_lba is capacity \u003e\u003e (blockshift + pageshift), which counts physical\nblocks, but zone is lba / uzonesize and uzonesize is 125/128 of\nzonesize. On a 16 MB card (alauda_card_ids id 0x73) num_zones is 1 and\nuzonesize is 1000, so lba 1000 to 1023 pass the bounds check and index\nelement 1 of a one-element array.\n\nalauda_read_data() also calls alauda_ensure_map_for_zone() before it\ncompares lba against max_lba, so any larger lba is used as an index\nbefore the check rejects it. alauda_write_data() already checks first.\n\nBound lba by num_zones * uzonesize on both paths and move the read\nside\u0027s call below the check. alauda_transport() reports\nnum_zones * uzonesize * blocksize for READ_CAPACITY, so the new bound is\nexactly the range the device advertises and no block becomes\nunreachable.\n\nsd never issues an lba past the reported capacity; an SG_IO READ_10 can.",
"id": "GHSA-v9q2-hcv6-5jxv",
"modified": "2026-11-30T15:32:42Z",
"published": "2026-11-30T15:32:42Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139716"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/2ae4b79ee580246adb0b154dcf1eb6dab06bf832"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/45edfe489e8dd1c12f6692fde60006a6cabb8349"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/660e03c03073508938aad2fe45836d1eb50f556f"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/9a5e3f50a597e7cccac8b156dfcae894d001d8ea"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/a7c01cbf98a4bd52d0019373a042e25206633886"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/b30a65bf59c74d5ec23982a440d3c385e0d5f371"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/c4542993c071fcafe7335698bf52650dee7e3555"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/f83f896d3d78d4adf85a932c9dffae88da8a4f26"
}
],
"schema_version": "1.4.0",
"severity": []
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
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.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
How durations are calculated
Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.
Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.
Loading timeline…
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.