CVE-2026-53371

Source
https://cve.org/CVERecord?id=CVE-2026-53371
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-53371.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-53371
Downstream
Published
2026-07-19T09:10:31.706Z
Modified
2026-07-21T03:47:12.287077477Z
Summary
RDMA/ionic: bound node_desc sysfs read with %.64s
Details

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

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

nodedesc[64] in struct ibdevice 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 nodedescstore() performs a raw memcpy of up to IBDEVICENODEDESCMAX bytes with no NUL termination:

memcpy(desc.nodedesc, buf, mint(int, count, IBDEVICENODEDESCMAX));

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

ionic supports IBDEVICEMODIFYNODEDESC, so this is triggerable by userspace.

Match the core handler and bound the format specifier.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53371.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
2075bbe8ef03914aa2211035eec45d1d3a5c4ff2
Fixed
61df14f306f153bffa2f3c74a94ff5a85c99fa39
Fixed
a3e9372203afde2c62576356bb9a17890bc7fd6c
Fixed
654a27f25530d052eeedf086e6c3e2d585c203bd

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-53371.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.18.0
Fixed
6.18.30
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.0.7

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-53371.json"