CVE-2026-139716
usb-storage: alauda: fix out-of-bounds zone index
Check your servers for CVE-2026-139716
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-139716 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In 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.
Exploitation
EPSS 0.37%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 32.9% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from e80b0fade09ef1ee67b0898d480d4c588f124d5f, before b30a65bf59c74d5ec23982a440d3c385e0d5f371 affected from e80b0fade09ef1ee67b0898d480d4c588f124d5f, before 660e03c03073508938aad2fe45836d1eb50f556f affected from e80b0fade09ef1ee67b0898d480d4c588f124d5f, before a7c01cbf98a4bd52d0019373a042e25206633886 affected from e80b0fade09ef1ee67b0898d480d4c588f124d5f, before 2ae4b79ee580246adb0b154dcf1eb6dab06bf832 affected from e80b0fade09ef1ee67b0898d480d4c588f124d5f, before 45edfe489e8dd1c12f6692fde60006a6cabb8349 affected from e80b0fade09ef1ee67b0898d480d4c588f124d5f, before 9a5e3f50a597e7cccac8b156dfcae894d001d8ea affected from e80b0fade09ef1ee67b0898d480d4c588f124d5f, before f83f896d3d78d4adf85a932c9dffae88da8a4f26 affected from e80b0fade09ef1ee67b0898d480d4c588f124d5f, before c4542993c071fcafe7335698bf52650dee7e3555
Other versions: unaffected
|
| Linux |
affected 2.6.16 unaffected before 2.6.16 unaffected from 5.10.275 up to and including 5.10.* unaffected from 5.15.226 up to and including 5.15.* unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.119 up to and including 6.12.* unaffected from 6.18.65 up to and including 6.18.* unaffected from 7.3.6 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-139716 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-139716
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-139716
trivy image --scanners vuln IMAGE | grep CVE-2026-139716
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/b30a65bf59c74d5ec23982a440d3c385e0d5f371 git.kernel.org
- https://git.kernel.org/stable/c/660e03c03073508938aad2fe45836d1eb50f556f git.kernel.org
- https://git.kernel.org/stable/c/a7c01cbf98a4bd52d0019373a042e25206633886 git.kernel.org
- https://git.kernel.org/stable/c/2ae4b79ee580246adb0b154dcf1eb6dab06bf832 git.kernel.org
- https://git.kernel.org/stable/c/45edfe489e8dd1c12f6692fde60006a6cabb8349 git.kernel.org
- https://git.kernel.org/stable/c/9a5e3f50a597e7cccac8b156dfcae894d001d8ea git.kernel.org
- https://git.kernel.org/stable/c/f83f896d3d78d4adf85a932c9dffae88da8a4f26 git.kernel.org
- https://git.kernel.org/stable/c/c4542993c071fcafe7335698bf52650dee7e3555 git.kernel.org
Source: the record CVE-2026-139716 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse