Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain local write access to message sysfs attribute
-
DeliveryIssue zero-length write to the attribute
-
Exploitmessage_store calls linedisp_display
-
ExecutionRead msg[-1] before count check (OOB)
-
ImpactKASAN panic or count wrap in kmemdup_nul
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires: (1) a kernel built with an auxdisplay line-display driver that registers via linedisp_register()/linedisp_attach() - specifically ht16k33, max6959, img-ascii-lcd, or seg-led-gpio - and an actual device instance registered so the 'message' sysfs attribute exists; (2) local write access to that message attribute, which is created mode 0644 (owner-writable, i.e. typically root); and (3) a zero-byte write (write(fd, "", 0)) to that attribute, which vfs_write()/kernfs_fop_write_iter() dispatch to message_store() without short-circuiting on count0. LIMITING FACTORS: local-only vector, dependence on specific auxiliary display hardware/driver being present (absent on the overwhelming majority of Linux systems), and the root/owner privilege normally needed to write the 0644 attribute. The in-tree initial-message setup path (count -1) is not userspace-reachable, so only the zero-byte userspace write triggers it. |
| Impact | This is a low-to-moderate real-world risk despite the 7.1 input CVSS. The provided vector (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H) requires local access, and the flaw is a one-byte out-of-bounds READ (CWE-125) immediately before a slab object - not a write - so the C:H and A:H ratings appear overstated: the byte read at msg[-1] is used internally to decide newline trimming and is never returned to userspace, giving little genuine confidentiality impact, while the only clear availability effect is a KASAN panic on debug kernels plus a count-- wrap to ssize_t -1 passed into kmemdup_nul() on stock kernels. EPSS is low (0.17%, 7th percentile) and the vulnerability is NOT in CISA KEV, with no public exploit identified at time of analysis, consistent with a non-targeted, low-weaponization issue. The vuln.today decision label is 'this_week', so it warrants timely patching but is not an emergency. Key caveat: exploitation is gated behind the presence of a registered auxdisplay line-display driver (ht16k33, max6959, img-ascii-lcd, seg-led-gpio) and write access to the message sysfs attribute, which is mode 0644 (owner/root-writable) - so the input's PR:L likely understates the privilege actually required; verify against your deployment. |
| Exploit ScenarioDerived | On a system with an auxdisplay line-display driver loaded and a device registered, a local user with write permission to the message sysfs attribute (mode 0644, normally root) issues a zero-byte write such as write(fd, "", 0). message_store() calls linedisp_display() which reads msg[count-1] == msg[-1] before checking for zero length, producing a one-byte OOB read that panics a KASAN-enabled kernel or, on stock kernels, can wrap the count to -1 into kmemdup_nul(). No public exploit code or PoC is referenced in the supplied sources. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 30, 2026
The Linux kernel's auxdisplay line-display helper (drivers/auxdisplay/line-display.c) reads one byte before the end of the kernfs write buffer when a caller writes a zero-length string to the driver's 'message' sysfs attribute, because linedisp_display() evaluates msg[count - 1] before checking whether count is zero. The fault is reachable only on systems that actually load and instantiate one of the drivers registering through linedisp_register()/linedisp_attach() - ht16k33, max6959, img-ascii-lcd or seg-led-gpio - and only by a user permitted to write the 0644 (owner/root-writable) attribute; on KASAN-enabled kernels the one-byte out-of-bounds read produces a report that panics the machine, while on stock kernels it can silently read adjacent slab data and, if that byte is '\n', wrap count from 0 to -1 before kmemdup_nul() is called. The supplied CVSS of 7.1 is an over-estimate for typical deployments; our assessment is local, high-privilege, availability-only. No public exploit code was identified at time of analysis, CISA KEV does not list this CVE, and EPSS is 0.17% (7th percentile).
RemediationAI
Vendor-released patch: update to Linux 6.1.176, 6.6.143, 6.12.93, 6.18.35, 7.0.12 or 7.1 (or later) - the fix simply guards the trailing-newline trim with a count check so the existing if (!count) clear-display path handles zero-length writes, and the relevant upstream commits are linked from https://git.kernel.org/stable/c/6ad4f75ef9f3372fce8cad494e789ac6a5507bef and the sibling stable references listed above. Ubuntu users should install the kernel from USN-8593-1 (https://ubuntu.com/security/notices/USN-8593-1). Systems that do not build or bind any of ht16k33, max6959, img-ascii-lcd or seg-led-gpio are not exposed and can take the update on a normal cadence; where an affected panel is in use and the kernel cannot be updated immediately, the exposure is limited to users who can write the message attribute, which is created 0644, so keeping that node root-owned and avoiding privileged zero-byte writes removes the userspace trigger - at the cost that legitimate message updates must then be made by root. Disabling or blacklisting the unused auxdisplay driver module removes the attack surface entirely, with the side effect that the attached display stops functioning. Per the vendor, updating to a fixed kernel is the complete fix; a KASAN-enabled kernel on an affected system will panic rather than degrade gracefully, so affected hosts should be treated as availability-sensitive until patched.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The auxdisplay line-display library is a shared helper used by small character/segment display drivers to expose a 'message' sysfs attribute; linedisp_display() is the common rendering routine that trims a trailing newline from the user-supplied buffer before pushing text to the hardware. The root cause is CWE-125 (out-of-bounds read): the trailing-newline trim dereferences msg[count - 1] unconditionally, ahead of the existing if (!count) clear-display branch. Because vfs_write() does not short-circuit on a zero-length write, kernfs_fop_write_iter() still allocates kmalloc(len + 1) with len 0 and dispatches message_store(), so the pointer passed to linedisp_display() refers to a single-byte slab allocation and msg[-1] is a read one byte before the object. The in-tree initial-message setup path invokes linedisp_display() with count -1, but that path is not reachable from userspace; only the zero-byte sysfs write triggers the bug. Consequences depend on build configuration: with KASAN the invalid read is trapped and panics, and on production kernels the read is silent but a coincidental '\n' in adjacent slab data turns count-- into -1 and feeds a negative length to kmemdup_nul(). Exposure is bounded by the hardware dependence - the attribute exists only when one of the four listed auxdisplay drivers is bound to a real device - and by the attribute's 0644 permissions.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
The message sysfs attribute is mode 0644 (root/owner write) so PR:H and AV:L; the OOB byte is never exposed to userspace (C:N), and the only impact is a possible panic/allocation failure (A:L).
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionNVD
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.
Executive ViewAI
A high-severity Linux kernel vulnerability (CVE-2026-63949) affects certain embedded display drivers, potentially causing system crashes or silent data corruption. Exploitation requires local root access and specific hardware, limiting real-world impact for most enterprise environments. Leadership should prioritize patching only on systems using these drivers, as the risk to standard servers and workstations is minimal.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-45722
GHSA-3qfr-7vgq-2884
NVD
CVE.org
EPSS
VulDB
Exploit-DB