Description
In the Linux kernel, the following vulnerability has been resolved:

RDMA/ionic: bound node_desc sysfs read with %.64s

node_desc[64] in struct ib_device is not guaranteed to be NUL-
terminated. The core IB sysfs handler uses "%.64s" for exactly this
reason (drivers/infiniband/core/sysfs.c:1307), since node_desc_store()
performs a raw memcpy of up to IB_DEVICE_NODE_DESC_MAX bytes with no NUL
termination:

memcpy(desc.node_desc, buf, min_t(int, count, IB_DEVICE_NODE_DESC_MAX));

If exactly 64 bytes are written via the node_desc sysfs file, the array
contains no NUL byte. The ionic hca_type_show() handler uses unbounded
"%s" and will read past the end of node_desc into adjacent fields of
struct ib_device until it encounters a NUL.

ionic supports IB_DEVICE_MODIFY_NODE_DESC, so this is triggerable by
userspace.

Match the core handler and bound the format specifier.
Published: 2026-07-19
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability arises because the 64‑byte node_desc field in the RDMA ionic driver’s ib_device structure is not guaranteed to be NUL‑terminated. When a user writes exactly 64 bytes to the node_desc sysfs file, the kernel copies the data without adding a terminating NUL. Subsequently, the ionic driver’s hca_type_show() routine prints that string using an unbounded "%s" format specifier, causing the kernel to read past the array boundary into adjacent memory. This buffer overread can reveal arbitrary kernel memory contents, including potentially sensitive data, and is the manifestation of a CWE‑125 flaw.

Affected Systems

All variants of the Linux kernel that incorporate the RDMA ionic driver and have not applied the fix that bounds the format specifier are affected, regardless of the kernel release series. Any system that loads the ionic module before the patch is installed is vulnerable.

Risk and Exploitability

The vulnerability has a CVSS score of 5.5, indicating moderate severity. The EPSS score is less than 1%, suggesting a very low likelihood of exploitation in the wild, and the flaw is not listed in the CISA KEV catalog. The likely attack vector is local; a user with write access to the node_desc sysfs file, typically requiring root or CAP_SYS_ADMIN privileges, can trigger the overread. No evidence indicates that remote exploitation or privilege escalation is achievable through this flaw. Based on the description, it is inferred that the vulnerability is exploitable only by users with sufficient local privileges to modify the node_desc entry.

Generated by OpenCVE AI on July 30, 2026 at 22:38 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to a Linux kernel release that includes the patch which bounds the format specifier and guarantees null termination of the node_desc field.
  • If a kernel upgrade cannot be performed immediately, unload or disable the ionic driver to eliminate the vulnerable code path.
  • Restrict write access to the node_desc sysfs file by setting its permissions to 600 so that only root can modify it.

Generated by OpenCVE AI on July 30, 2026 at 22:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8593-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8603-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
History

Tue, 21 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-125
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Sun, 19 Jul 2026 09:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: RDMA/ionic: bound node_desc sysfs read with %.64s node_desc[64] in struct ib_device is not guaranteed to be NUL- terminated. The core IB sysfs handler uses "%.64s" for exactly this reason (drivers/infiniband/core/sysfs.c:1307), since node_desc_store() performs a raw memcpy of up to IB_DEVICE_NODE_DESC_MAX bytes with no NUL termination: memcpy(desc.node_desc, buf, min_t(int, count, IB_DEVICE_NODE_DESC_MAX)); If exactly 64 bytes are written via the node_desc sysfs file, the array contains no NUL byte. The ionic hca_type_show() handler uses unbounded "%s" and will read past the end of node_desc into adjacent fields of struct ib_device until it encounters a NUL. ionic supports IB_DEVICE_MODIFY_NODE_DESC, so this is triggerable by userspace. Match the core handler and bound the format specifier.
Title RDMA/ionic: bound node_desc sysfs read with %.64s
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-07-19T09:10:31.706Z

Reserved: 2026-06-09T07:44:35.401Z

Link: CVE-2026-53371

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-19T00:00:00Z

Links: CVE-2026-53371 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T22:45:04Z

Weaknesses