{"id":"CVE-2026-139716","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-30T14:20:02.373","lastModified":"2026-11-30T14:20:02.373","vulnStatus":"Received","cveTags":[],"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."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/usb/storage/alauda.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"e80b0fade09ef1ee67b0898d480d4c588f124d5f","lessThan":"b30a65bf59c74d5ec23982a440d3c385e0d5f371","versionType":"git","status":"affected"},{"version":"e80b0fade09ef1ee67b0898d480d4c588f124d5f","lessThan":"660e03c03073508938aad2fe45836d1eb50f556f","versionType":"git","status":"affected"},{"version":"e80b0fade09ef1ee67b0898d480d4c588f124d5f","lessThan":"a7c01cbf98a4bd52d0019373a042e25206633886","versionType":"git","status":"affected"},{"version":"e80b0fade09ef1ee67b0898d480d4c588f124d5f","lessThan":"2ae4b79ee580246adb0b154dcf1eb6dab06bf832","versionType":"git","status":"affected"},{"version":"e80b0fade09ef1ee67b0898d480d4c588f124d5f","lessThan":"45edfe489e8dd1c12f6692fde60006a6cabb8349","versionType":"git","status":"affected"},{"version":"e80b0fade09ef1ee67b0898d480d4c588f124d5f","lessThan":"9a5e3f50a597e7cccac8b156dfcae894d001d8ea","versionType":"git","status":"affected"},{"version":"e80b0fade09ef1ee67b0898d480d4c588f124d5f","lessThan":"f83f896d3d78d4adf85a932c9dffae88da8a4f26","versionType":"git","status":"affected"},{"version":"e80b0fade09ef1ee67b0898d480d4c588f124d5f","lessThan":"c4542993c071fcafe7335698bf52650dee7e3555","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/usb/storage/alauda.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"2.6.16","status":"affected"},{"version":"0","lessThan":"2.6.16","versionType":"semver","status":"unaffected"},{"version":"5.10.275","lessThanOrEqual":"5.10.*","versionType":"semver","status":"unaffected"},{"version":"5.15.226","lessThanOrEqual":"5.15.*","versionType":"semver","status":"unaffected"},{"version":"6.1.193","lessThanOrEqual":"6.1.*","versionType":"semver","status":"unaffected"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","versionType":"semver","status":"unaffected"},{"version":"6.12.119","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.65","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.6","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/2ae4b79ee580246adb0b154dcf1eb6dab06bf832","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/45edfe489e8dd1c12f6692fde60006a6cabb8349","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/660e03c03073508938aad2fe45836d1eb50f556f","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/9a5e3f50a597e7cccac8b156dfcae894d001d8ea","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/a7c01cbf98a4bd52d0019373a042e25206633886","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/b30a65bf59c74d5ec23982a440d3c385e0d5f371","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/c4542993c071fcafe7335698bf52650dee7e3555","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/f83f896d3d78d4adf85a932c9dffae88da8a4f26","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}