Stack disclosure via unterminated ALSA card identifier
Published May 1, 2026 · Updated May 1, 2026
Out-of-bounds read in the Linux Kernel ALSA caiaq driver allows local users to expose stack data via a crafted USB product name. The init_card whitespace-stripping loop accepts 16 non-space bytes into a 16-byte id buffer without reserving room for a null terminator, so copy_valid_id_string scans past the stack buffer. Exploitation requires a local user able to present a USB device with a long non-ASCII, non-space product name; the consequence is disclosure of adjacent stack contents, with no reported write primitive.
Summary
What happened
Out-of-bounds read in the Linux Kernel ALSA caiaq driver allows local users to expose stack data via a crafted USB product name. The init_card whitespace-stripping loop accepts 16 non-space bytes into a 16-byte id buffer without reserving room for a null terminator, so copy_valid_id_string scans past the stack buffer. Exploitation requires a local user able to present a USB device with a long non-ASCII, non-space product name; the consequence is disclosure of adjacent stack contents, with no reported write primitive.
The record
- CVE
- CVE-2026-31778
- Published
- May 1, 2026
- Updated
- May 1, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux Kernel
- Classifications
- CWE-125, T1200
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 1, 2026CVE publishedPublication date reported by the CVE source.
- May 1, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=2.6.31
- Affected versionversion=bafeee5b1f8d32cbf791c322b40a6fa91d8ccf7a <02d9c5b0b5553a391448b6d655262bd829f90234
- Affected versionversion=bafeee5b1f8d32cbf791c322b40a6fa91d8ccf7a <3178b62e2e31bab39f63d4c8e54bf4ee0a425627
- Affected versionversion=bafeee5b1f8d32cbf791c322b40a6fa91d8ccf7a <3afa2e67f3523a980a2f90fd63c22322ac2b9ce0
- Affected versionversion=bafeee5b1f8d32cbf791c322b40a6fa91d8ccf7a <3f7f8bae0d52cbd07ab04b76b6aac89ef98ee9f6
- Affected versionversion=bafeee5b1f8d32cbf791c322b40a6fa91d8ccf7a <45424e871abf2a152e247a9cff78359f18dd95c0
- Affected versionversion=bafeee5b1f8d32cbf791c322b40a6fa91d8ccf7a <66194c2575a4f567577ae70b1d7561163ce791a6
- Affected versionversion=bafeee5b1f8d32cbf791c322b40a6fa91d8ccf7a <7594a6464873d90fd229e5b94cdd3b92c9feabed
- Affected versionversion=bafeee5b1f8d32cbf791c322b40a6fa91d8ccf7a <a82c1bce2d1299dd3c686a8fe48cf75b79a403c7
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo