CVE-2026-139717

usb-storage: alauda: check the return value of alauda_read_map()

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

usb-storage: alauda: check the return value of alauda_read_map()

alauda_ensure_map_for_zone() ignores the value alauda_read_map()
returns. On failure lba_to_pba[zone] and pba_to_lba[zone] are left NULL,
and both callers dereference them immediately:

pba = MEDIA_INFO(us).lba_to_pba[zone][lba_offset];

alauda_read_map() returns USB_STOR_TRANSPORT_ERROR when either kcalloc()
fails or an alauda_get_redu_data() transfer fails, so one failed bulk
transfer is enough to reach the NULL dereference.

Return that value from alauda_ensure_map_for_zone() and check it in
alauda_read_data() and alauda_write_lba().

Analysis

AI-generated

Technical impact

The bug resides in the usb-storage driver for the alauda backend, where a failure in alauda_read_map() is not checked. When the function fails it returns a USB_STOR_TRANSPORT_ERROR, but its return value is ignored. Subsequent code dereferences the null pointers lba_to_pba[zone] and pba_to_lba[zone], causing the kernel to crash. An attacker who can supply a USB device that triggers this failure can force a denial of service.

Affected Systems

The flaw affects all Linux kernel builds that include the usb-storage alauda driver before the patch is applied. Specific vendor and product lines are the Linux kernel; affected versions are not enumerated in the advisory, but any kernels that have not yet migrated the change are vulnerable.

Risk and Exploitability

The primary risk is a kernel crash, which results in service interruption or system reboot. The vulnerability is local and requires the attacker to supply a malicious USB device; the EPSS score is not available and the issue is not listed in KEV. The lack of a CVSS score makes direct severity comparison difficult, but kernel null-pointer derefs are traditionally treated as high impact. The exploit path requires no additional network services and can be performed by anyone with access to the target machine’s USB ports.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the system kernel to a version that contains the fixed commit for alauda_read_map() return handling.
  • Contact your distribution vendor for the official patch or kernel update if you are on an unmaintained kernel.
  • If an immediate kernel upgrade is not feasible, disable the usb-storage driver or restrict USB storage devices using udev rules or system policies to prevent the vulnerable driver from loading.

Generated by OpenCVE AI on December 1, 2026 at 00:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-476
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: usb-storage: alauda: check the return value of alauda_read_map() alauda_ensure_map_for_zone() ignores the value alauda_read_map() returns. On failure lba_to_pba[zone] and pba_to_lba[zone] are left NULL, and both callers dereference them immediately: pba = MEDIA_INFO(us).lba_to_pba[zone][lba_offset]; alauda_read_map() returns USB_STOR_TRANSPORT_ERROR when either kcalloc() fails or an alauda_get_redu_data() transfer fails, so one failed bulk transfer is enough to reach the NULL dereference. Return that value from alauda_ensure_map_for_zone() and check it in alauda_read_data() and alauda_write_lba().
Title usb-storage: alauda: check the return value of alauda_read_map()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:37 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:20 PM
Modified
Nov 30, 2026, 2:20 PM