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

net/ncsi: fix heap OOB read in NCSI_CMD_SEND_CMD payload length

ncsi_send_cmd_nl() takes the number of bytes to copy from the
attacker-controlled ncsi_pkt_hdr.length field of the in-band packet
header, while the source buffer is the NCSI_ATTR_DATA netlink
attribute whose readable size is nla_len() - sizeof(ncsi_pkt_hdr).
The two length sources are never cross-checked: only
nla_len() >= sizeof(struct ncsi_pkt_hdr) is enforced.

With hdr->length set larger than the attribute payload (up to 65535
against at most 2032 readable bytes), ncsi_cmd_handler_oem() copies
past the end of the netlink attribute buffer with unsafe_memcpy(),
leaking up to ~64KB of kernel heap memory into the transmitted NCSI
command packet. The destination skb is sized by the declared payload,
so the write side does not overflow - this is a pure OOB read /
information leak, reachable with CAP_NET_ADMIN on systems with a
registered NCSI device (e.g. OpenBMC on Aspeed BMC SoCs, where
NET_NCSI=y is standard).

Reject commands whose declared payload extends past the end of the
data attribute.

The issue was found by the autokbug dynamic kernel fuzzer at Tencent
Yunding Lab.
Published: 2026-08-22
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Information Exposure
Action: Apply Patch
AI Analysis

Impact

An out-of-bounds read in the NCSI subsystem allows an attacker who can send netlink commands with the CAP_NET_ADMIN capability to read up to approximately 64 KB of kernel heap memory. The bug occurs when the NCSI payload length field in the packet header is larger than the actual data attribute size, leading to a leak of kernel memory contents through the transmitted NCSI command packet. The exposed data is not executable code, so remote code execution is not possible, but the leak can undermine confidentiality of sensitive kernel information.

Affected Systems

The flaw exists in any Linux kernel where the NCSI driver is compiled with NET_NCSI=y, a configuration that is common on OpenBMC firmware running on Aspeed BMC System-on-Chip platforms. It is not tied to a particular vendor beyond the Linux kernel itself, and no specific kernel version is listed. Users should consider that any kernel build before the patch may be vulnerable if NCSI is enabled.

Risk and Exploitability

Because the vulnerability is an information‑lookup flaw that requires CAP_NET_ADMIN, the exploit path is limited to privileged users who can send arbitrary netlink commands to the NCSI driver. No publicly available exploits are documented, and the EPSS score is < 1%. The vulnerability is not listed in CISA’s KEV catalog. The CVSS score of 5.5 indicates a moderate risk level. Although the potential impact is limited to confidentiality loss of kernel heap data, the availability of the exploit and the lack of widespread exposure make the risk lower than a remote code execution; however, for exposed systems using NCSI, it warrants immediate remediation.

Generated by OpenCVE AI on August 25, 2026 at 15:58 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to the latest stable version that contains the NCSI heap OOB read fix
  • Disable the NCSI driver (set CONFIG_NET_NCSI to n) on systems that do not require it
  • Restrict CAP_NET_ADMIN privileges to trusted administrators and audit netlink traffic

Generated by OpenCVE AI on August 25, 2026 at 15:58 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4777-1 linux security update
Debian DSA Debian DSA DSA-6466-1 linux security update
History

Tue, 25 Aug 2026 14:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20
CWE-787

Tue, 25 Aug 2026 12: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


Sat, 22 Aug 2026 18:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20
CWE-787

Sat, 22 Aug 2026 15:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: net/ncsi: fix heap OOB read in NCSI_CMD_SEND_CMD payload length ncsi_send_cmd_nl() takes the number of bytes to copy from the attacker-controlled ncsi_pkt_hdr.length field of the in-band packet header, while the source buffer is the NCSI_ATTR_DATA netlink attribute whose readable size is nla_len() - sizeof(ncsi_pkt_hdr). The two length sources are never cross-checked: only nla_len() >= sizeof(struct ncsi_pkt_hdr) is enforced. With hdr->length set larger than the attribute payload (up to 65535 against at most 2032 readable bytes), ncsi_cmd_handler_oem() copies past the end of the netlink attribute buffer with unsafe_memcpy(), leaking up to ~64KB of kernel heap memory into the transmitted NCSI command packet. The destination skb is sized by the declared payload, so the write side does not overflow - this is a pure OOB read / information leak, reachable with CAP_NET_ADMIN on systems with a registered NCSI device (e.g. OpenBMC on Aspeed BMC SoCs, where NET_NCSI=y is standard). Reject commands whose declared payload extends past the end of the data attribute. The issue was found by the autokbug dynamic kernel fuzzer at Tencent Yunding Lab.
Title net/ncsi: fix heap OOB read in NCSI_CMD_SEND_CMD payload length
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-08-22T15:32:57.113Z

Reserved: 2026-08-15T05:44:03.926Z

Link: CVE-2026-74694

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-22T16:16:43.920

Modified: 2026-08-22T16:16:43.920

Link: CVE-2026-74694

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-22T00:00:00Z

Links: CVE-2026-74694 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-25T16:00:15Z

Weaknesses