CVE-2026-63949: auxdisplay: line-display: fix OOB read on zero-length message_store()

High 7.1 EPSS 0.1% Linux kernel

In the Linux kernel, the following vulnerability has been resolved: auxdisplay: line-display: fix OOB read on zero-length message_store() linedisp_display() unconditionally reads msg[count - 1] before checking whether count is zero, so a write of zero bytes to the message sysfs attribute hits msg[-1]: write(fd, "", 0); -> message_store(..., buf, count=0) -> linedisp_display(linedisp, buf, count=0) -> msg[count - 1] == '\n' ; OOB read The kernfs write buffer for that store is a 1-byte allocation (kernfs_fop_write_iter() does kmalloc(len + 1) with len == 0), so msg[-1] is a 1-byte read before the slab object. On a KASAN-enabled kernel this trips an out-of-bounds report and panics; on stock kernels it silently reads adjacent slab data and, if that byte happens to be '\n', the following count-- wraps ssize_t 0 to -1 and is then passed to kmemdup_nul(). linedisp_display() is reached from the message_store() sysfs callback (drivers/auxdisplay/line-display.c message attribute, mode 0644) and from the in-tree initial-message setup with count == -1, so the OOB path is only userspace-triggerable via zero-byte writes; vfs_write() does not short-circuit on count == 0 and kernfs_fop_write_iter() dispatches the store callback regardless. Guard the trailing-newline trim with a count check. The existing if (!count) block then takes the clear-display path unchanged. Affects every auxdisplay driver that registers via linedisp_register() / linedisp_attach(): ht16k33, max6959, img-ascii-lcd, seg-led-gpio.

What do these terms mean? CVE · CVSS score · exploited (KEV) · EPSS · backported fix · all terms

What to do now

  1. Check whether you run Linux kernel and which version (commands below).
  2. Install the fixed version for your system: see “Patch it” below.
  3. Reboot into the new kernel (uname -r to confirm); live patching (kpatch, Ubuntu Livepatch, SUSE kGraft/klp) can defer the reboot for some CVEs

Affected and fixed versions

Affected:

Patch it

Use the commands for your system. Distribution packages often keep an older version number with the fix backported, so compare with the fixed package versions in the table below, not only with the upstream version.

Debian
sudo apt update
sudo apt install --only-upgrade linux-image-amd64
Ubuntu
sudo apt update
sudo apt install --only-upgrade linux-image-generic (or the installed flavour: linux-image-aws, -azure, -gcp, -virtual)
RHEL, AlmaLinux, Rocky, Oracle
sudo dnf upgrade --refresh kernel
Fedora
sudo dnf upgrade --refresh kernel
SUSE / openSUSE
sudo zypper refresh
sudo zypper update kernel-default
Amazon Linux
sudo dnf upgrade --releasever=latest kernel kernel6.12
Arch Linux
sudo pacman -Syu
Alpine
apk update && apk upgrade linux-lts linux-virt
FreeBSD
not Linux

General update steps for every system are on the Linux and Unix & BSD pages; after updating, see which services to restart.

Fix status in Linux distributions

ReleasePackageStatusFixed version / advisory
Debian 12linuxfixed6.1.176-1
Debian 13linuxfixed6.12.94-1
Debian testinglinuxfixed7.0.12-1
Ubuntu 18.04 (ESM)linuxnot affected
Ubuntu 20.04 (ESM)linuxnot affected
Ubuntu 22.04linuxnot affected
Ubuntu 26.04linuxfixed7.0.0-28.28
Ubuntu 24.04linuxfixed6.8.0-146.146
Ubuntu 26.10linuxnot affected
Ubuntu 18.04 (ESM)linux-hwenot planned
Ubuntu 18.04 (ESM)linux-hwe-5.4not affected
Ubuntu 20.04 (ESM)linux-hwe-5.8not planned
Ubuntu 20.04 (ESM)linux-hwe-5.11not planned
Ubuntu 20.04 (ESM)linux-hwe-5.13not planned
Ubuntu 20.04 (ESM)linux-hwe-5.15not affected
Ubuntu 22.04linux-hwe-5.19not planned
Ubuntu 22.04linux-hwe-6.2not planned
Ubuntu 22.04linux-hwe-6.5not planned
Ubuntu 22.04linux-hwe-6.8fix pending
Ubuntu 24.04linux-hwe-6.11not planned
Ubuntu 24.04linux-hwe-6.14not planned
Ubuntu 24.04linux-hwe-6.17not fixed yet
Ubuntu 24.04linux-hwe-7.0fixed7.0.0-28.28~24.04.1
Ubuntu 18.04 (ESM)linux-hwe-edgenot planned
Ubuntu 18.04 (ESM)linux-kvmnot affected
Ubuntu 20.04 (ESM)linux-kvmnot affected
Ubuntu 22.04linux-kvmnot affected
Ubuntu 22.04linux-allwinner-5.19not planned
Ubuntu 24.04linux-awsfixed6.8.0-1066.69
Ubuntu 18.04 (ESM)linux-awsnot affected
Ubuntu 20.04 (ESM)linux-awsnot affected
Ubuntu 22.04linux-awsnot affected
Ubuntu 26.04linux-awsfixed7.0.0-1009.9
Ubuntu 26.10linux-awsnot affected
Ubuntu 18.04 (ESM)linux-aws-5.0not planned
Ubuntu 18.04 (ESM)linux-aws-5.3not planned
Ubuntu 18.04 (ESM)linux-aws-5.4not affected
Ubuntu 20.04 (ESM)linux-aws-5.8not planned
Ubuntu 20.04 (ESM)linux-aws-5.11not planned
Ubuntu 20.04 (ESM)linux-aws-5.13not planned
Ubuntu 20.04 (ESM)linux-aws-5.15not affected
Ubuntu 22.04linux-aws-5.19not planned
Ubuntu 22.04linux-aws-6.2not planned
Ubuntu 22.04linux-aws-6.5not planned
Ubuntu 22.04linux-aws-6.8fixed6.8.0-1066.69~22.04.1
Ubuntu 24.04linux-aws-6.14not planned
Ubuntu 24.04linux-aws-6.17not planned
Ubuntu 18.04 (ESM)linux-azurenot planned
Ubuntu 20.04 (ESM)linux-azurenot affected
Ubuntu 22.04linux-azurenot affected
Ubuntu 26.04linux-azurefixed7.0.0-1010.10
Ubuntu 24.04linux-azurefixed6.8.0-1070.78
Ubuntu 26.10linux-azurenot affected
Ubuntu 18.04 (ESM)linux-azure-4.15not affected
Ubuntu 18.04 (ESM)linux-azure-5.3not planned
Ubuntu 18.04 (ESM)linux-azure-5.4not affected
Ubuntu 20.04 (ESM)linux-azure-5.8not planned
Ubuntu 20.04 (ESM)linux-azure-5.11not planned
Ubuntu 20.04 (ESM)linux-azure-5.13not planned
Ubuntu 20.04 (ESM)linux-azure-5.15not affected

From the Debian security tracker, Ubuntu CVE tracker and Red Hat Security Data API, refreshed every few hours.

Sources

Page generated automatically from official sources on 2026-11-11 17:22 UTC. Always confirm with your vendor's advisory.