{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "e80b0fade09ef1ee67b0898d480d4c588f124d5f"
            },
            {
              "fixed": "b30a65bf59c74d5ec23982a440d3c385e0d5f371"
            },
            {
              "fixed": "660e03c03073508938aad2fe45836d1eb50f556f"
            },
            {
              "fixed": "a7c01cbf98a4bd52d0019373a042e25206633886"
            },
            {
              "fixed": "2ae4b79ee580246adb0b154dcf1eb6dab06bf832"
            },
            {
              "fixed": "45edfe489e8dd1c12f6692fde60006a6cabb8349"
            },
            {
              "fixed": "9a5e3f50a597e7cccac8b156dfcae894d001d8ea"
            },
            {
              "fixed": "f83f896d3d78d4adf85a932c9dffae88da8a4f26"
            },
            {
              "fixed": "c4542993c071fcafe7335698bf52650dee7e3555"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "2.6.16"
            },
            {
              "fixed": "5.10.275"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.226"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.193"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.163"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.119"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.65"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139716.json"
  },
  "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's 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": "CVE-2026-139716",
  "modified": "2026-12-01T20:45:31.247330367Z",
  "published": "2026-11-30T13:37:18.800Z",
  "references": [
    {
      "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"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139716.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139716"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "usb-storage: alauda: fix out-of-bounds zone index"
}