{"api_version":"1","generated_at":"2026-11-30T15:13:34+00:00","cve":"CVE-2026-139716","urls":{"html":"https://cve.report/CVE-2026-139716","api":"https://cve.report/api/cve/CVE-2026-139716.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139716","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139716"},"summary":{"title":"usb-storage: alauda: fix out-of-bounds zone index","description":"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 >> (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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:20:02","updated_at":"2026-11-30 14:20:02"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/9a5e3f50a597e7cccac8b156dfcae894d001d8ea","name":"https://git.kernel.org/stable/c/9a5e3f50a597e7cccac8b156dfcae894d001d8ea","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/660e03c03073508938aad2fe45836d1eb50f556f","name":"https://git.kernel.org/stable/c/660e03c03073508938aad2fe45836d1eb50f556f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b30a65bf59c74d5ec23982a440d3c385e0d5f371","name":"https://git.kernel.org/stable/c/b30a65bf59c74d5ec23982a440d3c385e0d5f371","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/2ae4b79ee580246adb0b154dcf1eb6dab06bf832","name":"https://git.kernel.org/stable/c/2ae4b79ee580246adb0b154dcf1eb6dab06bf832","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/a7c01cbf98a4bd52d0019373a042e25206633886","name":"https://git.kernel.org/stable/c/a7c01cbf98a4bd52d0019373a042e25206633886","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f83f896d3d78d4adf85a932c9dffae88da8a4f26","name":"https://git.kernel.org/stable/c/f83f896d3d78d4adf85a932c9dffae88da8a4f26","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/c4542993c071fcafe7335698bf52650dee7e3555","name":"https://git.kernel.org/stable/c/c4542993c071fcafe7335698bf52650dee7e3555","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/45edfe489e8dd1c12f6692fde60006a6cabb8349","name":"https://git.kernel.org/stable/c/45edfe489e8dd1c12f6692fde60006a6cabb8349","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139716","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139716","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e80b0fade09ef1ee67b0898d480d4c588f124d5f b30a65bf59c74d5ec23982a440d3c385e0d5f371 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e80b0fade09ef1ee67b0898d480d4c588f124d5f 660e03c03073508938aad2fe45836d1eb50f556f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e80b0fade09ef1ee67b0898d480d4c588f124d5f a7c01cbf98a4bd52d0019373a042e25206633886 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e80b0fade09ef1ee67b0898d480d4c588f124d5f 2ae4b79ee580246adb0b154dcf1eb6dab06bf832 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e80b0fade09ef1ee67b0898d480d4c588f124d5f 45edfe489e8dd1c12f6692fde60006a6cabb8349 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e80b0fade09ef1ee67b0898d480d4c588f124d5f 9a5e3f50a597e7cccac8b156dfcae894d001d8ea git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e80b0fade09ef1ee67b0898d480d4c588f124d5f f83f896d3d78d4adf85a932c9dffae88da8a4f26 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e80b0fade09ef1ee67b0898d480d4c588f124d5f c4542993c071fcafe7335698bf52650dee7e3555 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2.6.16","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 2.6.16 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.275 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.226 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.119 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.65 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/usb/storage/alauda.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"b30a65bf59c74d5ec23982a440d3c385e0d5f371","status":"affected","version":"e80b0fade09ef1ee67b0898d480d4c588f124d5f","versionType":"git"},{"lessThan":"660e03c03073508938aad2fe45836d1eb50f556f","status":"affected","version":"e80b0fade09ef1ee67b0898d480d4c588f124d5f","versionType":"git"},{"lessThan":"a7c01cbf98a4bd52d0019373a042e25206633886","status":"affected","version":"e80b0fade09ef1ee67b0898d480d4c588f124d5f","versionType":"git"},{"lessThan":"2ae4b79ee580246adb0b154dcf1eb6dab06bf832","status":"affected","version":"e80b0fade09ef1ee67b0898d480d4c588f124d5f","versionType":"git"},{"lessThan":"45edfe489e8dd1c12f6692fde60006a6cabb8349","status":"affected","version":"e80b0fade09ef1ee67b0898d480d4c588f124d5f","versionType":"git"},{"lessThan":"9a5e3f50a597e7cccac8b156dfcae894d001d8ea","status":"affected","version":"e80b0fade09ef1ee67b0898d480d4c588f124d5f","versionType":"git"},{"lessThan":"f83f896d3d78d4adf85a932c9dffae88da8a4f26","status":"affected","version":"e80b0fade09ef1ee67b0898d480d4c588f124d5f","versionType":"git"},{"lessThan":"c4542993c071fcafe7335698bf52650dee7e3555","status":"affected","version":"e80b0fade09ef1ee67b0898d480d4c588f124d5f","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/usb/storage/alauda.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"2.6.16"},{"lessThan":"2.6.16","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.275","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.226","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.119","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.65","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.275","versionStartIncluding":"2.6.16","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.226","versionStartIncluding":"2.6.16","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"2.6.16","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"2.6.16","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.119","versionStartIncluding":"2.6.16","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"2.6.16","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"2.6.16","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"2.6.16","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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 >> (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."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:37:18.800Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/b30a65bf59c74d5ec23982a440d3c385e0d5f371"},{"url":"https://git.kernel.org/stable/c/660e03c03073508938aad2fe45836d1eb50f556f"},{"url":"https://git.kernel.org/stable/c/a7c01cbf98a4bd52d0019373a042e25206633886"},{"url":"https://git.kernel.org/stable/c/2ae4b79ee580246adb0b154dcf1eb6dab06bf832"},{"url":"https://git.kernel.org/stable/c/45edfe489e8dd1c12f6692fde60006a6cabb8349"},{"url":"https://git.kernel.org/stable/c/9a5e3f50a597e7cccac8b156dfcae894d001d8ea"},{"url":"https://git.kernel.org/stable/c/f83f896d3d78d4adf85a932c9dffae88da8a4f26"},{"url":"https://git.kernel.org/stable/c/c4542993c071fcafe7335698bf52650dee7e3555"}],"title":"usb-storage: alauda: fix out-of-bounds zone index","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139716","datePublished":"2026-11-30T13:37:18.800Z","dateReserved":"2026-11-30T13:22:15.949Z","dateUpdated":"2026-11-30T13:37:18.800Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:20:02","lastModifiedDate":"2026-11-30 14:20:02","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139716","Ordinal":"1","Title":"usb-storage: alauda: fix out-of-bounds zone index","CVE":"CVE-2026-139716","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139716","Ordinal":"1","NoteData":"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 >> (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.","Type":"Description","Title":"usb-storage: alauda: fix out-of-bounds zone index"}]}}}