{"id":"CVE-2026-74694","published":"2026-08-22T15:32:57Z","modified":"2026-08-22T15:32:57Z","title":"net/ncsi: fix heap OOB read in NCSI_CMD_SEND_CMD payload length","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/ncsi: fix heap OOB read in NCSI_CMD_SEND_CMD payload length\n\nncsi_send_cmd_nl() takes the number of bytes to copy from the\nattacker-controlled ncsi_pkt_hdr.length field of the in-band packet\nheader, while the source buffer is the NCSI_ATTR_DATA netlink\nattribute whose readable size is nla_len() - sizeof(ncsi_pkt_hdr).\nThe two length sources are never cross-checked: only\nnla_len() >= sizeof(struct ncsi_pkt_hdr) is enforced.\n\nWith hdr->length set larger than the attribute payload (up to 65535\nagainst at most 2032 readable bytes), ncsi_cmd_handler_oem() copies\npast the end of the netlink attribute buffer with unsafe_memcpy(),\nleaking up to ~64KB of kernel heap memory into the transmitted NCSI\ncommand packet. The destination skb is sized by the declared payload,\nso the write side does not overflow - this is a pure OOB read /\ninformation leak, reachable with CAP_NET_ADMIN on systems with a\nregistered NCSI device (e.g. OpenBMC on Aspeed BMC SoCs, where\nNET_NCSI=y is standard).\n\nReject commands whose declared payload extends past the end of the\ndata attribute.\n\nThe issue was found by the autokbug dynamic kernel fuzzer at Tencent\nYunding Lab.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00177,"percentile":0.07161,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/e60afa01d35f8b2671b27ca93309921427144cce","tags":[]},{"url":"https://git.kernel.org/stable/c/67c72b8ef63d9d9a610546fda30b116638f39745","tags":[]},{"url":"https://git.kernel.org/stable/c/4489b4a17892750131e4bef4bc1d3d703c8fb5ba","tags":[]},{"url":"https://git.kernel.org/stable/c/43c7d0a6917751ea898ae584d00f24f5deac46d4","tags":[]},{"url":"https://git.kernel.org/stable/c/b5231ad0b376b801ab8cf2962b182cc29deaedb3","tags":[]},{"url":"https://git.kernel.org/stable/c/02226af69362758046822840fc6a497f5de33f00","tags":[]},{"url":"https://git.kernel.org/stable/c/3a60b5af75abe8e3494ccd074fb4ae6e601a3e55","tags":[]},{"url":"https://git.kernel.org/stable/c/afa58b7384913c8773d837acdb07b035690ec5d2","tags":[]}],"priority":{"score":1.4,"factors":[{"name":"EPSS percentile","points":1.43}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 9771b8ccdfa6dcb1ac5128ca7fe8649f3092d392, < e60afa01d35f8b2671b27ca93309921427144cce",">= 9771b8ccdfa6dcb1ac5128ca7fe8649f3092d392, < 67c72b8ef63d9d9a610546fda30b116638f39745",">= 9771b8ccdfa6dcb1ac5128ca7fe8649f3092d392, < 4489b4a17892750131e4bef4bc1d3d703c8fb5ba",">= 9771b8ccdfa6dcb1ac5128ca7fe8649f3092d392, < 43c7d0a6917751ea898ae584d00f24f5deac46d4",">= 9771b8ccdfa6dcb1ac5128ca7fe8649f3092d392, < b5231ad0b376b801ab8cf2962b182cc29deaedb3",">= 9771b8ccdfa6dcb1ac5128ca7fe8649f3092d392, < 02226af69362758046822840fc6a497f5de33f00",">= 9771b8ccdfa6dcb1ac5128ca7fe8649f3092d392, < 3a60b5af75abe8e3494ccd074fb4ae6e601a3e55",">= 9771b8ccdfa6dcb1ac5128ca7fe8649f3092d392, < afa58b7384913c8773d837acdb07b035690ec5d2"]},{"vendor":"Linux","product":"Linux","versions":["4.20"]}],"euvd":{"id":"EUVD-2026-64381","exploited":false,"provenance":"source"}}