CVE-2026-64047
Received Received - Intake

Buffer Overflow in Linux Kernel TLS Implementation

Vulnerability report for CVE-2026-64047, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-19

Last updated on: 2026-07-19

Assigner: kernel.org

Description

In the Linux kernel, the following vulnerability has been resolved: net: tls: fix off-by-one in sg_chain entry count for wrapped sk_msg ring When an sk_msg scatterlist ring wraps (sg.end < sg.start), tls_push_record() chains the tail portion of the ring to the head using sg_chain(). An extra entry in the sg array is reserved for this: struct sk_msg_sg { [...] /* The extra two elements: * 1) used for chaining the front and sections when the list becomes * partitioned (e.g. end < start). The crypto APIs require the * chaining; * 2) to chain tailer SG entries after the message. */ struct scatterlist data[MAX_MSG_FRAGS + 2]; The current code uses MAX_SKB_FRAGS + 1 as the ring size: sg_chain(&msg_pl->sg.data[msg_pl->sg.start], MAX_SKB_FRAGS - msg_pl->sg.start + 1, msg_pl->sg.data); This places the chain pointer at sg_chain(data[start], (MAX_SKB_FRAGS - msg_start + 1) .. = &data[start] + (MAX_SKB_FRAGS - msg_start + 1) - 1 = data[start + (MAX_SKB_FRAGS - start + 1) - 1] = data[MAX_SKB_FRAGS] instead of the true last entry. This is likely due to a "race" of the commit under Fixes landing close to commit 031097d9e079 ("bpf: sk_msg, zap ingress queue on psock down") Convert to ARRAY_SIZE and drop the data[start] / - start (as suggested by Sabrina).

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-19
Last Modified
2026-07-19
Generated
2026-07-20
AI Q&A
2026-07-19
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a Linux kernel vulnerability where an off-by-one error occurs in the scatterlist (sg) chain entry count for the TLS (Transport Layer Security) message ring. When the ring wraps (end index is less than start index), the code incorrectly calculates the position for chaining the tail portion to the head, potentially leading to memory corruption or undefined behavior.

Detection Guidance

This vulnerability is specific to the Linux kernel's TLS implementation and may not have direct detection commands. Monitor kernel logs for TLS-related errors or crashes. Check for kernel version and apply patches if using affected versions.

Impact Analysis

This vulnerability could cause system instability, crashes, or security issues if exploited. It may lead to data corruption, privilege escalation, or denial of service in systems using the affected Linux kernel components.

Compliance Impact

This vulnerability is a low-level kernel memory corruption issue in the TLS subsystem that could potentially lead to data corruption or crashes. It does not directly affect compliance with standards like GDPR or HIPAA, as those focus on data protection controls rather than kernel memory management bugs.

Mitigation Strategies

Update the Linux kernel to the latest stable version that includes the fix for this vulnerability. If immediate patching is not possible, consider disabling TLS offloading or restricting network services using TLS until the kernel is updated.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-64047. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart