{"id":"CVE-2026-74694","aliases":["CVE-2026-74694"],"related":[],"kind":"vulnerability","state":"published","title":"net/ncsi: fix heap OOB read in NCSI_CMD_SEND_CMD payload length","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nnet/ncsi: corrección de lectura OOB de heap en la longitud de la carga útil de NCSI_CMD_SEND_CMD\n\nncsi_send_cmd_nl() toma el número de bytes a copiar del campo ncsi_pkt_hdr.length, controlado por el atacante, del encabezado del paquete en banda, mientras que el búfer de origen es el atributo netlink NCSI_ATTR_DATA cuyo tamaño legible es nla_len() - sizeof(ncsi_pkt_hdr). Las dos fuentes de longitud nunca se cotejan: solo se aplica nla_len() >= sizeof(struct ncsi_pkt_hdr).\n\nCon hdr -> length establecido en un valor mayor que la carga útil del atributo (hasta 65535 frente a un máximo de 2032 bytes legibles), ncsi_cmd_handler_oem() copia más allá del final del búfer del atributo netlink con unsafe_memcpy(), filtrando hasta ~64KB de memoria heap del kernel en el paquete de comando NCSI transmitido. El skb de destino se dimensiona según la carga útil declarada, por lo que el lado de escritura no desborda; esto es una lectura OOB pura / fuga de información, alcanzable con CAP_NET_ADMIN en sistemas con un dispositivo NCSI registrado (por ejemplo, OpenBMC en SoCs Aspeed BMC, donde NET_NCSI=y es estándar).\n\nRechazar comandos cuya carga útil declarada se extiende más allá del final del atributo de datos.\n\nEl problema fue encontrado por el fuzzer dinámico de kernel autokbug en Tencent Yunding Lab.","source":"nvd"}],"published":"2026-08-22T15:32:57.113Z","modified":"2026-10-14T13:10:00.187Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"9771b8ccdfa6dcb1ac5128ca7fe8649f3092d392","fixed":"e60afa01d35f8b2671b27ca93309921427144cce","status":"affected"},{"type":"git","introduced":"9771b8ccdfa6dcb1ac5128ca7fe8649f3092d392","fixed":"67c72b8ef63d9d9a610546fda30b116638f39745","status":"affected"},{"type":"git","introduced":"9771b8ccdfa6dcb1ac5128ca7fe8649f3092d392","fixed":"4489b4a17892750131e4bef4bc1d3d703c8fb5ba","status":"affected"},{"type":"git","introduced":"9771b8ccdfa6dcb1ac5128ca7fe8649f3092d392","fixed":"43c7d0a6917751ea898ae584d00f24f5deac46d4","status":"affected"},{"type":"git","introduced":"9771b8ccdfa6dcb1ac5128ca7fe8649f3092d392","fixed":"b5231ad0b376b801ab8cf2962b182cc29deaedb3","status":"affected"},{"type":"git","introduced":"9771b8ccdfa6dcb1ac5128ca7fe8649f3092d392","fixed":"02226af69362758046822840fc6a497f5de33f00","status":"affected"},{"type":"git","introduced":"9771b8ccdfa6dcb1ac5128ca7fe8649f3092d392","fixed":"3a60b5af75abe8e3494ccd074fb4ae6e601a3e55","status":"affected"},{"type":"git","introduced":"9771b8ccdfa6dcb1ac5128ca7fe8649f3092d392","fixed":"afa58b7384913c8773d837acdb07b035690ec5d2","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.20","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.20","status":"unaffected"},{"type":"semver","introduced":"5.10.265","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.216","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.183","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.152","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.104","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.45","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.9","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/e60afa01d35f8b2671b27ca93309921427144cce","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/67c72b8ef63d9d9a610546fda30b116638f39745","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4489b4a17892750131e4bef4bc1d3d703c8fb5ba","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/43c7d0a6917751ea898ae584d00f24f5deac46d4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b5231ad0b376b801ab8cf2962b182cc29deaedb3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/02226af69362758046822840fc6a497f5de33f00","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3a60b5af75abe8e3494ccd074fb4ae6e601a3e55","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/afa58b7384913c8773d837acdb07b035690ec5d2","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74694","url":"https://www.cve.org/CVERecord?id=CVE-2026-74694","licence":"CVE Terms of Use","modified":"2026-08-22T15:32:57.113Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74694","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74694","licence":"Public domain","modified":"2026-10-14T13:10:00.187Z"}],"updatedAt":"2026-11-25T22:59:34.938Z","epss":{"score":0.00177,"percentile":0.07554,"date":"2026-12-01T12:00:22.000Z"}}