CVE-2026-74694

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

No CVSS score yet EPSS 0.18%

Published 22 Aug 2026 Updated 22 Aug 2026 CNA: Linux

Check your servers for CVE-2026-74694

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-74694 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.55% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 9771b8ccdfa6dcb1ac5128ca7fe8649f3092d392, before e60afa01d35f8b2671b27ca93309921427144cce
affected from 9771b8ccdfa6dcb1ac5128ca7fe8649f3092d392, before 67c72b8ef63d9d9a610546fda30b116638f39745
affected from 9771b8ccdfa6dcb1ac5128ca7fe8649f3092d392, before 4489b4a17892750131e4bef4bc1d3d703c8fb5ba
affected from 9771b8ccdfa6dcb1ac5128ca7fe8649f3092d392, before 43c7d0a6917751ea898ae584d00f24f5deac46d4
affected from 9771b8ccdfa6dcb1ac5128ca7fe8649f3092d392, before b5231ad0b376b801ab8cf2962b182cc29deaedb3
affected from 9771b8ccdfa6dcb1ac5128ca7fe8649f3092d392, before 02226af69362758046822840fc6a497f5de33f00
affected from 9771b8ccdfa6dcb1ac5128ca7fe8649f3092d392, before 3a60b5af75abe8e3494ccd074fb4ae6e601a3e55
affected from 9771b8ccdfa6dcb1ac5128ca7fe8649f3092d392, before afa58b7384913c8773d837acdb07b035690ec5d2
Other versions: unaffected
Linux
affected 4.20
unaffected before 4.20
unaffected from 5.10.265 up to and including 5.10.*
unaffected from 5.15.216 up to and including 5.15.*
unaffected from 6.1.183 up to and including 6.1.*
unaffected from 6.6.152 up to and including 6.6.*
unaffected from 6.12.104 up to and including 6.12.*
unaffected from 6.18.45 up to and including 6.18.*
unaffected from 7.1.9 up to and including 7.1.*
unaffected 7.2 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-74694 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-74694

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-74694
trivy image --scanners vuln IMAGE | grep CVE-2026-74694

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-74694 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.