CVE
CVE-2026-64551
CNA 原文 · 原文(英文)
In the Linux kernel, the following vulnerability has been resolved: sctp: validate STALE_COOKIE cause length before reading staleness When an ERROR chunk with a STALE_COOKIE cause is received in the COOKIE_ECHOED state, sctp_sf_do_5_2_6_stale() reads the 4-byte Measure of Staleness that follows the cause header: err = (struct sctp_errhdr *)(chunk->skb->data); stale = ntohl(*(__be32 *)((u8 *)err + sizeof(*err))); err is the first cause in the chunk, not the STALE_COOKIE cause that caused the dispatch, and nothing guarantees the staleness field is present. sctp_walk_errors() only requires a cause to be as long as the 4-byte header, so for a STALE_COOKIE cause of length 4 the read runs past the cause, and for a minimal ERROR chunk past skb->tail. The value is echoed to the peer in the Cookie Preservative of the reply INIT, leaking uninitialized memory. sctp_sf_cookie_echoed_err() already walks to the STALE_COOKIE cause, so check its length there and pass it to sctp_sf_do_5_2_6_stale(), which reads that cause instead of the first one. A STALE_COOKIE cause too short to hold the staleness field is discarded. The read is reachable by any peer that can drive an association into COOKIE_ECHOED, including an unprivileged process using a raw SCTP socket in a user and network namespace.
受影响版本
- 7.2-rc3仅此版本
- 7.2-rc2仅此版本
- 7.2-rc1仅此版本
- ≥ 6.19, < 7.1.5修复版本 7.1.5
- ≥ 6.13, < 6.18.40修复版本 6.18.40
- ≥ 6.7, < 6.12.97修复版本 6.12.97
- ≥ 6.2, < 6.6.145修复版本 6.6.145
- ≥ 5.16, < 6.1.178修复版本 6.1.178
- ≥ 5.11, < 5.15.212修复版本 5.15.212
- ≥ 2.6.12.1, < 5.10.261修复版本 5.10.261
- 2.6.12仅此版本
- 2.6.12-rc5仅此版本
- 2.6.12-rc4仅此版本
- 2.6.12-rc3仅此版本
- 2.6.12-rc2仅此版本
发行版软件包(Debian、Ubuntu、Red Hat 等)会回移补丁而不改上游版本号,请同时查看所用发行版的安全公告。
公告与补丁
- git.kernel.org/stable/c/08a8f2d13f703924316e9aeac863a88ef50990c7 · Patch
- git.kernel.org/stable/c/1cd23ca80784223fa2204e16203f754da4e821f8 · Patch
- git.kernel.org/stable/c/588706ebaf8cdb4a4161602949eba365514b1db1 · Patch
- git.kernel.org/stable/c/6022da37786701df1fc5dd946a6dcba59d5473b1 · Patch
- git.kernel.org/stable/c/861f884f5471632c731cbbd612a1c072e391a624 · Patch
- git.kernel.org/stable/c/a257b41ddfe9e327b26581ad2777f04b23ac73f5 · Patch
- git.kernel.org/stable/c/bbd6b2ea966cf57b6ae095cf5a8dbc993cd197a0 · Patch
- git.kernel.org/stable/c/ebe0a55d954fa8da383b6192edb8f763dcb002d5 · Patch
数据来源:NVD(公有领域)、CISA KEV(CC0)、FIRST EPSS、OSV.dev / GitHub Advisory Database(CC-BY 4.0) · 本库只列受影响版本与修复版本,不托管、不链接任何利用代码。