CVE-2026-31778
linux linux kernel
Patch priority
RegularFix with the next regular update.
- CVSS
- 7.1
- Severity
- 7.1
- EPSS
- 0.1 %
- Percentile
- 3
- Actively exploited
- not known
The traffic light combines CVSS (severity), EPSS (exploitation probability, FIRST) and CISA's KEV catalog. It does not replace your own assessment. More in the glossary
What do I need to do?
in plain wordsWho is affected?
Everyone who uses Linux-Kernel.
How dangerous is it?
- An attacker already needs access to the device (or gets you to open a file).
- The attacker must already be logged in – this lowers the risk.
What to do?
- Include it in your next regular update.
- Install your distribution’s kernel update and reboot – the new kernel only runs after a restart.
Generated automatically from the CVSS vector, KEV and EPSS – does not replace the vendor’s information. Terms explained
Description
NVDIn the Linux kernel, the following vulnerability has been resolved: ALSA: caiaq: fix stack out-of-bounds read in init_card The loop creates a whitespace-stripped copy of the card shortname where `len < sizeof(card->id)` is used for the bounds check. Since sizeof(card->id) is 16 and the local id buffer is also 16 bytes, writing 16 non-space characters fills the entire buffer, overwriting the terminating nullbyte. When this non-null-terminated string is later passed to snd_card_set_id() -> copy_valid_id_string(), the function scans forward with `while (*nid && ...)` and reads past the end of the stack buffer, reading the contents of the stack. A USB device with a product name containing many non-ASCII, non-space characters (e.g. multibyte UTF-8) will reliably trigger this as follows: BUG: KASAN: stack-out-of-bounds in copy_valid_id_string sound/core/init.c:696 [inline] BUG: KASAN: stack-out-of-bounds in snd_card_set_id_no_lock+0x698/0x74c sound/core/init.c:718 The off-by-one has been present since commit bafeee5b1f8d ("ALSA: snd_usb_caiaq: give better shortname") from June 2009 (v2.6.31-rc1), which first introduced this whitespace-stripping loop. The original code never accounted for the null terminator when bounding the copy. Fix this by changing the loop bound to `sizeof(card->id) - 1`, ensuring at least one byte remains as the null terminator.
- Vendor / product
- linux linux kernel
- Published
- 01.05.2026
- Modified
- 11.11.2026
- CWE
- CWE-125
- Status
- Analyzed
CVSS v3.1 · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Vendor updates
42- Ubuntu: USN-8668-2 – Linux kernel (Raspberry Pi) vulnerabilities 21.09.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23237-1 – Security update for the Linux Kernel 26.08.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23238-1 – Security update for the Linux Kernel 26.08.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23240-1 – Security update for the Linux Kernel 25.08.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23241-1 – Security update for the Linux Kernel 25.08.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23244-1 – Security update for the Linux Kernel 25.08.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23221-1 – Security update for the Linux Kernel 25.08.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23231-1 – Security update for the Linux Kernel 25.08.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23183-1 – Security update for the Linux Kernel 24.08.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23193-1 – Security update for the Linux Kernel 24.08.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23194-1 – Security update for the Linux Kernel 24.08.2026 · Critical · Patch day
- Ubuntu: USN-8668-1 – Linux kernel (GCP) vulnerabilities 21.08.2026 · Critical · Patch day
- Ubuntu: USN-8665-1 – Linux kernel (Raspberry Pi) vulnerabilities 21.08.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23066-1 – Security update for the Linux Kernel 14.08.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23068-1 – Security update for the Linux Kernel 14.08.2026 · Critical · Patch day
- Ubuntu: USN-8620-4 – Linux kernel (Intel IoTG) vulnerabilities 31.07.2026 · Critical · Patch day
- Ubuntu: USN-8620-3 – Linux kernel (Intel IoTG) vulnerabilities 31.07.2026 · Critical · Patch day
- Ubuntu: USN-8620-2 – Linux kernel (Azure FIPS) vulnerabilities 29.07.2026 · Critical · Patch day
- Ubuntu: USN-8620-1 – Linux kernel vulnerabilities 28.07.2026 · Critical · Patch day
- Ubuntu: USN-8619-1 – Linux kernel (HWE) vulnerabilities 28.07.2026 · Critical · Patch day
- Ubuntu: USN-8595-3 – Linux kernel (AWS) vulnerabilities 28.07.2026 · Critical · Patch day
- Ubuntu: USN-8574-3 – Linux kernel vulnerabilities 28.07.2026 · Critical · Patch day
- Ubuntu: USN-8610-1 – Linux kernel (Azure CVM) vulnerabilities 24.07.2026 · Critical · Patch day
- Ubuntu: USN-8575-3 – Linux kernel vulnerabilities 24.07.2026 · Critical · Patch day
- Ubuntu: USN-8609-1 – Linux kernel (Azure CVM) vulnerabilities 24.07.2026 · Critical · Patch day
- Ubuntu: USN-8608-1 – Linux kernel (Azure FIPS) vulnerabilities 24.07.2026 · Critical · Patch day
- Ubuntu: USN-8607-1 – Linux kernel (Azure CVM) vulnerabilities 24.07.2026 · Critical · Patch day
- Ubuntu: USN-8606-1 – Linux kernel (Azure) vulnerabilities 24.07.2026 · Critical · Patch day
- Ubuntu: USN-8595-2 – Linux kernel (AWS) vulnerabilities 24.07.2026 · Critical · Patch day
- Ubuntu: USN-8597-1 – Linux kernel (IBM) vulnerabilities 23.07.2026 · Critical · Patch day
- Ubuntu: USN-8576-2 – Linux kernel (NVIDIA Tegra) vulnerabilities 23.07.2026 · Critical · Patch day
- Ubuntu: USN-8575-2 – Linux kernel vulnerabilities 23.07.2026 · Critical · Patch day
- Ubuntu: USN-8596-1 – Linux kernel (NVIDIA) vulnerabilities 23.07.2026 · Critical · Patch day
- Ubuntu: USN-8595-1 – Linux kernel (Oracle) vulnerabilities 23.07.2026 · Critical · Patch day
- Ubuntu: USN-8574-2 – Linux kernel vulnerabilities 23.07.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:3166-1 – Security update for the Linux Kernel 22.07.2026 · Critical · Patch day
- Ubuntu: USN-8576-1 – Linux kernel (NVIDIA Tegra) vulnerabilities 21.07.2026 · Critical · Patch day
- Ubuntu: USN-8575-1 – Linux kernel vulnerabilities 21.07.2026 · Critical · Patch day
- Ubuntu: USN-8574-1 – Linux kernel (GCP FIPS) vulnerabilities 21.07.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:3130-1 – Security update for the Linux Kernel 20.07.2026 · Critical · Patch day
- Ubuntu: USN-8567-1 – Linux kernel vulnerabilities 20.07.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:2450-1 – Security update for the Linux Kernel 18.06.2026 · Critical · Patch day
Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.