# CVE-2026-63949: auxdisplay: line-display: fix OOB read on zero-length message\_store()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.13% (percentile 2, 2026-12-04)
- **CWE:** CWE-125
- **Published:** 2026-07-19T14:55:42.679Z
- **Modified:** 2026-10-30T14:27:45.410Z

## Who should check

- Anyone running Linux \>= 7e76aece6f036cb7ada4858d6aa73825bfe22983, \< ca5b0781946d5083ceafa752141f47f085853620; \>= 7e76aece6f036cb7ada4858d6aa73825bfe22983, \< 8776032fe989a9b5fc77f2de5e03e4adb44c630e; \>= 7e76aece6f036cb7ada4858d6aa73825bfe22983, \< 3859960daeb9b7b39b9847b5b0113bc6081eb735; \>= 7e76aece6f036cb7ada4858d6aa73825bfe22983, \< 197476b126010bac1b3199833c6966cd6f54c2a9; \>= 7e76aece6f036cb7ada4858d6aa73825bfe22983, \< 6ad4f75ef9f3372fce8cad494e789ac6a5507bef; \>= 7e76aece6f036cb7ada4858d6aa73825bfe22983, \< a7511dcd9dd4bc55d123f9b800c8a4ed2662e5c6
- Anyone running Linux 5.16

## Description

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.

## Affected and fixed versions

- Linux: \>= 7e76aece6f036cb7ada4858d6aa73825bfe22983, \< ca5b0781946d5083ceafa752141f47f085853620; \>= 7e76aece6f036cb7ada4858d6aa73825bfe22983, \< 8776032fe989a9b5fc77f2de5e03e4adb44c630e; \>= 7e76aece6f036cb7ada4858d6aa73825bfe22983, \< 3859960daeb9b7b39b9847b5b0113bc6081eb735; \>= 7e76aece6f036cb7ada4858d6aa73825bfe22983, \< 197476b126010bac1b3199833c6966cd6f54c2a9; \>= 7e76aece6f036cb7ada4858d6aa73825bfe22983, \< 6ad4f75ef9f3372fce8cad494e789ac6a5507bef; \>= 7e76aece6f036cb7ada4858d6aa73825bfe22983, \< a7511dcd9dd4bc55d123f9b800c8a4ed2662e5c6 (cvelist)
- Linux: 5.16 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-63949. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-63949.md
Affected: Linux >= 7e76aece6f036cb7ada4858d6aa73825bfe22983, < ca5b0781946d5083ceafa752141f47f085853620; >= 7e76aece6f036cb7ada4858d6aa73825bfe22983, < 8776032fe989a9b5fc77f2de5e03e4adb44c630e; >= 7e76aece6f036cb7ada4858d6aa73825bfe22983, < 3859960daeb9b7b39b9847b5b0113bc6081eb735; >= 7e76aece6f036cb7ada4858…
Fixed in: Linux 8776032fe989a9b5fc77f2de5e03e4adb44c630e, Linux 3859960daeb9b7b39b9847b5b0113bc6081eb735, Linux 197476b126010bac1b3199833c6966cd6f54c2a9, Linux 6ad4f75ef9f3372fce8cad494e789ac6a5507bef

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-63949 being exploited?

There is no confirmed exploitation: CVE-2026-63949 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.13% chance of exploitation in the next 30 days (as of 2026-12-04).

### How serious is CVE-2026-63949?

High: CVSS 7.1 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-63949?

Linux \>= 7e76aece6f036cb7ada4858d6aa73825bfe22983, \< ca5b0781946d5083ceafa752141f47f085853620; \>= 7e76aece6f036cb7ada4858d6aa73825bfe22983, \< 8776032fe989a9b5fc77f2de5e03e4adb44c630e; \>= 7e76aece6f036cb7ada4858d6aa73825bfe22983, \< 3859960daeb9b7b39b9847b5b0113bc6081eb735; \>= 7e76aece6f036cb7ada4858d6aa73825bfe22983, \< 197476b126010bac1b3199833c6966cd6f54c2a9; \>= 7e76aece6f036cb7ada4858d6aa73825bfe22983, \< 6ad4f75ef9f3372fce8cad494e789ac6a5507bef; \>= 7e76aece6f036cb7ada4858d6aa73825bfe22983, \< a7511dcd9dd4bc55d123f9b800c8a4ed2662e5c6; Linux 5.16.

### Is there a fix for CVE-2026-63949?

Yes. Fixed in Linux 8776032fe989a9b5fc77f2de5e03e4adb44c630e, Linux 3859960daeb9b7b39b9847b5b0113bc6081eb735, Linux 197476b126010bac1b3199833c6966cd6f54c2a9, Linux 6ad4f75ef9f3372fce8cad494e789ac6a5507bef. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-63949?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/ca5b0781946d5083ceafa752141f47f085853620>
- patch: <https://git.kernel.org/stable/c/8776032fe989a9b5fc77f2de5e03e4adb44c630e>
- patch: <https://git.kernel.org/stable/c/3859960daeb9b7b39b9847b5b0113bc6081eb735>
- patch: <https://git.kernel.org/stable/c/197476b126010bac1b3199833c6966cd6f54c2a9>
- patch: <https://git.kernel.org/stable/c/6ad4f75ef9f3372fce8cad494e789ac6a5507bef>
- patch: <https://git.kernel.org/stable/c/a7511dcd9dd4bc55d123f9b800c8a4ed2662e5c6>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-63949>

HTML: <https://flawdb.com/CVE-2026-63949> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-63949>
