268 lines
14 KiB
JSON
268 lines
14 KiB
JSON
{
|
|
"dataType": "CVE_RECORD",
|
|
"dataVersion": "5.2",
|
|
"cveMetadata": {
|
|
"cveId": "CVE-2026-64025",
|
|
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
|
|
"state": "PUBLISHED",
|
|
"assignerShortName": "Linux",
|
|
"dateReserved": "2026-07-19T07:54:57.027Z",
|
|
"datePublished": "2026-07-19T15:39:17.178Z",
|
|
"dateUpdated": "2026-10-30T12:27:29.882Z"
|
|
},
|
|
"containers": {
|
|
"cna": {
|
|
"providerMetadata": {
|
|
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
|
|
"shortName": "Linux",
|
|
"dateUpdated": "2026-10-30T12:27:29.882Z"
|
|
},
|
|
"descriptions": [
|
|
{
|
|
"lang": "en",
|
|
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nbpf, skmsg: fix verdict sk_data_ready racing with ktls rx\n\nsk_psock_strp_data_ready() already checks tls_sw_has_ctx_rx() and\ndefers to psock->saved_data_ready when a TLS RX context is present,\navoiding a conflict with the TLS strparser's ownership of the receive\nqueue (commit e91de6afa81c, \"bpf: Fix running sk_skb program types\nwith ktls\").\n\nsk_psock_verdict_data_ready() has no equivalent guard. When a socket\nis inserted into a sockmap (BPF_SK_SKB_VERDICT) before TLS RX is\nconfigured, tls_sw_strparser_arm() saves sk_psock_verdict_data_ready\nas rx_ctx->saved_data_ready. On data arrival:\n\n tls_data_ready -> tls_strp_data_ready -> tls_rx_msg_ready\n -> saved_data_ready() = sk_psock_verdict_data_ready()\n -> tcp_read_skb() drains sk_receive_queue via __skb_unlink()\n without calling tcp_eat_skb(), so copied_seq is not advanced.\n\ntls_strp_msg_load() then finds tcp_inq() >= full_len (stale), calls\ntcp_recv_skb() on the now-empty queue, hits WARN_ON_ONCE(!first), and\nreturns with rx_ctx->strp.anchor.frag_list pointing at a psock-owned\n(potentially freed) skb. tls_decrypt_sg() subsequently walks that\nfrag_list: use-after-free.\n\nApply the same fix as sk_psock_strp_data_ready(): if a TLS RX context\nis present, call psock->saved_data_ready (sock_def_readable) to wake\nrecv() waiters and return immediately, leaving the receive queue\nuntouched. TLS retains sole ownership of the queue and decrypts the\nrecord normally through tls_sw_recvmsg()."
|
|
}
|
|
],
|
|
"metrics": [
|
|
{
|
|
"cvssV3_1": {
|
|
"version": "3.1",
|
|
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
|
|
"baseScore": 9.8,
|
|
"baseSeverity": "CRITICAL"
|
|
},
|
|
"scenarios": [
|
|
{
|
|
"lang": "en",
|
|
"value": "AV:N - The UAF is triggered on the kTLS software RX path when a remote TLS peer sends TCP data; inbound network packets drive tls_data_ready through to sk_psock_verdict_data_ready and tls_decrypt_sg on internet-facing eBPF/kTLS proxy servers.\nAC:L - Once the sockmap-before-TLS-RX configuration exists, the bug fires deterministically on the first arriving TLS record; the attacker controls packet delivery and timing without needing to win an uncontrollable race.\nPR:N - A remote unauthenticated TLS client needs no privileges on the victim host to trigger the bug on a server already running BPF sockmap verdict with kTLS RX; local exploitation via user namespaces only raises the bar to CAP_NET_ADMIN/CAP_BPF (PR:L), not higher.\nUI:N - Exploitation requires only sending TLS traffic to a vulnerable socket; no victim user action such as opening files or mounting filesystems is needed.\nS:U - Impact is kernel heap corruption within the host kernel security boundary; it does not inherently cross VM, container, or IOMMU isolation boundaries without separate escalation.\nC:H - The bug is a use-after-free where tls_decrypt_sg() walks a dangling skb frag_list via skb_to_sgvec/skb_copy_bits, enabling arbitrary kernel memory read primitives from attacker-influenced freed heap objects.\nI:H - Heap UAF over sk_buff structures in the TLS decrypt path can be leveraged for arbitrary kernel memory writes and control-flow hijacking, not merely a bounded or transient corruption.\nA:H - The failure path hits WARN_ON_ONCE in tls_strp_load_anchor_with_queue and the UAF in tls_decrypt_sg can cause kernel oops, panic, or crash during softirq TLS receive processing."
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"affected": [
|
|
{
|
|
"product": "Linux",
|
|
"vendor": "Linux",
|
|
"defaultStatus": "unaffected",
|
|
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
|
|
"programFiles": [
|
|
"net/core/skmsg.c"
|
|
],
|
|
"versions": [
|
|
{
|
|
"version": "ef5659280eb13e8ac31c296f58cfdfa1684ac06b",
|
|
"lessThan": "d698bdba0f9969a6e390d1b1a9a3e283f1f174a7",
|
|
"status": "affected",
|
|
"versionType": "git"
|
|
},
|
|
{
|
|
"version": "ef5659280eb13e8ac31c296f58cfdfa1684ac06b",
|
|
"lessThan": "c9ea01768903ae47f210cd457af1dead6de7a9c3",
|
|
"status": "affected",
|
|
"versionType": "git"
|
|
},
|
|
{
|
|
"version": "ef5659280eb13e8ac31c296f58cfdfa1684ac06b",
|
|
"lessThan": "7c8cf21bc4efb4af18d6096db3f8bd06d622251c",
|
|
"status": "affected",
|
|
"versionType": "git"
|
|
},
|
|
{
|
|
"version": "ef5659280eb13e8ac31c296f58cfdfa1684ac06b",
|
|
"lessThan": "1861d369efd62d67796563bf3e01fc22e5626f8b",
|
|
"status": "affected",
|
|
"versionType": "git"
|
|
},
|
|
{
|
|
"version": "ef5659280eb13e8ac31c296f58cfdfa1684ac06b",
|
|
"lessThan": "8a52139560f833c3975032e1f5762611e3a36d71",
|
|
"status": "affected",
|
|
"versionType": "git"
|
|
},
|
|
{
|
|
"version": "ef5659280eb13e8ac31c296f58cfdfa1684ac06b",
|
|
"lessThan": "ddf8029623a1af20e984c040e89ff918158397ab",
|
|
"status": "affected",
|
|
"versionType": "git"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"product": "Linux",
|
|
"vendor": "Linux",
|
|
"defaultStatus": "affected",
|
|
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
|
|
"programFiles": [
|
|
"net/core/skmsg.c"
|
|
],
|
|
"versions": [
|
|
{
|
|
"version": "5.10",
|
|
"status": "affected"
|
|
},
|
|
{
|
|
"version": "0",
|
|
"lessThan": "5.10",
|
|
"status": "unaffected",
|
|
"versionType": "semver"
|
|
},
|
|
{
|
|
"version": "6.1.191",
|
|
"lessThanOrEqual": "6.1.*",
|
|
"status": "unaffected",
|
|
"versionType": "semver"
|
|
},
|
|
{
|
|
"version": "6.6.142",
|
|
"lessThanOrEqual": "6.6.*",
|
|
"status": "unaffected",
|
|
"versionType": "semver"
|
|
},
|
|
{
|
|
"version": "6.12.92",
|
|
"lessThanOrEqual": "6.12.*",
|
|
"status": "unaffected",
|
|
"versionType": "semver"
|
|
},
|
|
{
|
|
"version": "6.18.34",
|
|
"lessThanOrEqual": "6.18.*",
|
|
"status": "unaffected",
|
|
"versionType": "semver"
|
|
},
|
|
{
|
|
"version": "7.0.11",
|
|
"lessThanOrEqual": "7.0.*",
|
|
"status": "unaffected",
|
|
"versionType": "semver"
|
|
},
|
|
{
|
|
"version": "7.1",
|
|
"lessThanOrEqual": "*",
|
|
"status": "unaffected",
|
|
"versionType": "original_commit_for_fix"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"cpeApplicability": [
|
|
{
|
|
"nodes": [
|
|
{
|
|
"operator": "OR",
|
|
"negate": false,
|
|
"cpeMatch": [
|
|
{
|
|
"vulnerable": true,
|
|
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
|
|
"versionStartIncluding": "5.10",
|
|
"versionEndExcluding": "6.1.191"
|
|
},
|
|
{
|
|
"vulnerable": true,
|
|
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
|
|
"versionStartIncluding": "5.10",
|
|
"versionEndExcluding": "6.6.142"
|
|
},
|
|
{
|
|
"vulnerable": true,
|
|
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
|
|
"versionStartIncluding": "5.10",
|
|
"versionEndExcluding": "6.12.92"
|
|
},
|
|
{
|
|
"vulnerable": true,
|
|
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
|
|
"versionStartIncluding": "5.10",
|
|
"versionEndExcluding": "6.18.34"
|
|
},
|
|
{
|
|
"vulnerable": true,
|
|
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
|
|
"versionStartIncluding": "5.10",
|
|
"versionEndExcluding": "7.0.11"
|
|
},
|
|
{
|
|
"vulnerable": true,
|
|
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
|
|
"versionStartIncluding": "5.10",
|
|
"versionEndExcluding": "7.1"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"references": [
|
|
{
|
|
"url": "https://git.kernel.org/stable/c/d698bdba0f9969a6e390d1b1a9a3e283f1f174a7"
|
|
},
|
|
{
|
|
"url": "https://git.kernel.org/stable/c/c9ea01768903ae47f210cd457af1dead6de7a9c3"
|
|
},
|
|
{
|
|
"url": "https://git.kernel.org/stable/c/7c8cf21bc4efb4af18d6096db3f8bd06d622251c"
|
|
},
|
|
{
|
|
"url": "https://git.kernel.org/stable/c/1861d369efd62d67796563bf3e01fc22e5626f8b"
|
|
},
|
|
{
|
|
"url": "https://git.kernel.org/stable/c/8a52139560f833c3975032e1f5762611e3a36d71"
|
|
},
|
|
{
|
|
"url": "https://git.kernel.org/stable/c/ddf8029623a1af20e984c040e89ff918158397ab"
|
|
}
|
|
],
|
|
"title": "bpf, skmsg: fix verdict sk_data_ready racing with ktls rx",
|
|
"x_generator": {
|
|
"engine": "bippy-1.2.0"
|
|
}
|
|
},
|
|
"adp": [
|
|
{
|
|
"metrics": [
|
|
{
|
|
"other": {
|
|
"type": "ssvc",
|
|
"content": {
|
|
"id": "CVE-2026-64025",
|
|
"role": "CISA Coordinator",
|
|
"options": [
|
|
{
|
|
"Exploitation": "none"
|
|
},
|
|
{
|
|
"Automatable": "yes"
|
|
},
|
|
{
|
|
"Technical Impact": "total"
|
|
}
|
|
],
|
|
"version": "2.0.3",
|
|
"timestamp": "2026-10-16T15:35:27.197036Z"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"problemTypes": [
|
|
{
|
|
"descriptions": [
|
|
{
|
|
"lang": "en",
|
|
"type": "CWE",
|
|
"cweId": "CWE-362",
|
|
"description": "CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"title": "CISA ADP Vulnrichment",
|
|
"providerMetadata": {
|
|
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
|
|
"shortName": "CISA-ADP",
|
|
"dateUpdated": "2026-10-19T20:28:08.942Z"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
} |