PT-2026-163757
CVE-2026-139716
·
تاريخ النشر
2026-11-30
·
تاريخ التحديث
2026-11-30
الوصف من
الدرجة
N/A
غير متوفرلا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.
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.
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾