CVE-2023-53847

usb-storage: alauda: Fix uninit-value in alauda_check_media()

No CVSS score yet EPSS 0.26%

Published 9 Dec 2025 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2023-53847

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-2023-53847 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.

Check my servers

Description

In the Linux kernel, the following vulnerability has been resolved:

usb-storage: alauda: Fix uninit-value in alauda_check_media()

Syzbot got KMSAN to complain about access to an uninitialized value in the alauda subdriver of usb-storage:

BUG: KMSAN: uninit-value in alauda_transport+0x462/0x57f0 drivers/usb/storage/alauda.c:1137 CPU: 0 PID: 12279 Comm: usb-storage Not tainted 5.3.0-rc7+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x191/0x1f0 lib/dump_stack.c:113 kmsan_report+0x13a/0x2b0 mm/kmsan/kmsan_report.c:108 __msan_warning+0x73/0xe0 mm/kmsan/kmsan_instr.c:250 alauda_check_media+0x344/0x3310 drivers/usb/storage/alauda.c:460

The problem is that alauda_check_media() doesn't verify that its USB transfer succeeded before trying to use the received data. What should happen if the transfer fails isn't entirely clear, but a reasonably conservative approach is to pretend that no media is present.

A similar problem exists in a usb_stor_dbg() call in alauda_get_media_status(). In this case, when an error occurs the call is redundant, because usb_stor_ctrl_transfer() already will print a debugging message.

Finally, unrelated to the uninitialized memory access, is the fact that alauda_check_media() performs DMA to a buffer on the stack. Fortunately usb-storage provides a general purpose DMA-able buffer for uses like this. We'll use it instead.

Exploitation

EPSS 0.26%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 18.7% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from e80b0fade09ef1ee67b0898d480d4c588f124d5f, before 153c3e85873cc3e2f387169783c3a227bad9a95a
affected from e80b0fade09ef1ee67b0898d480d4c588f124d5f, before 49d380bcd6cba987c6085fae6464c9c087e8d9a0
affected from e80b0fade09ef1ee67b0898d480d4c588f124d5f, before 044f4446e06bb03c52216697b14867ebc555ad3b
affected from e80b0fade09ef1ee67b0898d480d4c588f124d5f, before fe7c3a445d22783d27fe8bd0521a8aab1eb9da65
affected from e80b0fade09ef1ee67b0898d480d4c588f124d5f, before 7a11d1e2625bdb2346f6586773b20b20977278ac
affected from e80b0fade09ef1ee67b0898d480d4c588f124d5f, before 0d2d5282d39aed6f27dfe1ed60a5f3934ebd21cd
affected from e80b0fade09ef1ee67b0898d480d4c588f124d5f, before 373e0ab8c4c516561493f1acf367c7ee7dc053c2
affected from e80b0fade09ef1ee67b0898d480d4c588f124d5f, before a6ff6e7a9dd69364547751db0f626a10a6d628d2
Other versions: unaffected
Linux
affected 2.6.16
unaffected before 2.6.16
unaffected from 4.14.323 up to and including 4.14.*
unaffected from 4.19.292 up to and including 4.19.*
unaffected from 5.4.254 up to and including 5.4.*
unaffected from 5.10.191 up to and including 5.10.*
unaffected from 5.15.127 up to and including 5.15.*
unaffected from 6.1.46 up to and including 6.1.*
unaffected from 6.4.11 up to and including 6.4.*
unaffected 6.5 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-2023-53847 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-53847

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-2023-53847
trivy image --scanners vuln IMAGE | grep CVE-2023-53847

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

Source: the record CVE-2023-53847 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.