CVE-2026-74694

Source
https://cve.org/CVERecord?id=CVE-2026-74694
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74694.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-74694
Downstream
Related
Published
2026-08-22T15:32:57Z
Modified
2026-09-18T10:11:41Z
Summary
net/ncsi: fix heap OOB read in NCSI_CMD_SEND_CMD payload length
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74694.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
9771b8ccdfa6dcb1ac5128ca7fe8649f3092d392
Fixed
e60afa01d35f8b2671b27ca93309921427144cce
Fixed
67c72b8ef63d9d9a610546fda30b116638f39745
Fixed
4489b4a17892750131e4bef4bc1d3d703c8fb5ba
Fixed
43c7d0a6917751ea898ae584d00f24f5deac46d4
Fixed
b5231ad0b376b801ab8cf2962b182cc29deaedb3
Fixed
02226af69362758046822840fc6a497f5de33f00
Fixed
3a60b5af75abe8e3494ccd074fb4ae6e601a3e55
Fixed
afa58b7384913c8773d837acdb07b035690ec5d2

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.10.265
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.216
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.183
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.152
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.104
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.45
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.9

Database specific

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