CVE-2026-63830
net: skmsg: preserve sg.copy across SG transforms
Description
In the Linux kernel, the following vulnerability has been resolved: net: skmsg: preserve sg.copy across SG transforms The sk_msg sg.copy bitmap is part of the scatterlist entry ownership state. A set bit tells sk_msg_compute_data_pointers() not to expose the entry through writable BPF ctx->data. This protects entries backed by pages that are not private to the sk_msg, such as splice-backed file page-cache pages. Several sk_msg transform paths move, copy, split, or compact msg->sg.data[] entries without moving the matching sg.copy bit. This can make an externally backed entry arrive at a new slot with a clear copy bit. A later SK_MSG verdict can then expose sg_virt(sge) as writable ctx->data and BPF stores can modify the original page cache. Keep sg.copy synchronized with sg.data[] whenever entries are transferred, shifted, split, or copied into a new sk_msg. Clear the bit when an entry is replaced by a newly allocated private page or freed. This covers the BPF pull/push/pop helpers, sk_msg_shift_left/right(), sk_msg_xfer(), and tls_split_open_record(), including the partial tail entry created during TLS open-record splitting.
INFO
Published Date :
July 19, 2026, 12:16 p.m.
Last Modified :
July 19, 2026, 12:16 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products
The following products are affected by CVE-2026-63830
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
No affected product recoded yet
Solution
- Keep sg.copy synchronized with sg.data[] during transfers.
- Clear the bit when entries are replaced or freed.
- Apply the fix to BPF helpers and transformation functions.
- Address TLS splitting and tail entry handling.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-63830.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-63830 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-63830
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-63830 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-63830 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jul. 19, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'd3b18ad31f93d0b6bae105c679018a1ba7daa9ca', 'lessThan': '9bb86d8184b37503816150c4a6ad3c17dfdbe827', 'versionType': 'git'}, {'status': 'affected', 'version': 'd3b18ad31f93d0b6bae105c679018a1ba7daa9ca', 'lessThan': '0eb4c16c4adb262763bda870a8ed38a1a9dec7ec', 'versionType': 'git'}, {'status': 'affected', 'version': 'd3b18ad31f93d0b6bae105c679018a1ba7daa9ca', 'lessThan': 'd22cc92bc41290e5783a72375e0843d9435f6001', 'versionType': 'git'}, {'status': 'affected', 'version': 'd3b18ad31f93d0b6bae105c679018a1ba7daa9ca', 'lessThan': '1acdd14c0990dd1cd4b6534f00366d2e6dfce05f', 'versionType': 'git'}, {'status': 'affected', 'version': 'd3b18ad31f93d0b6bae105c679018a1ba7daa9ca', 'lessThan': '21ed9540a8e1906dfcbc1bb82ba9b4de4fa4bd6d', 'versionType': 'git'}, {'status': 'affected', 'version': 'd3b18ad31f93d0b6bae105c679018a1ba7daa9ca', 'lessThan': '406e8a651a7b854c41fecd5117bb282b3a6c2c6b', 'versionType': 'git'}], 'programFiles': ['include/linux/skmsg.h', 'net/core/filter.c', 'net/core/skmsg.c', 'net/tls/tls_sw.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4.20'}, {'status': 'unaffected', 'version': '0', 'lessThan': '4.20', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.1.177', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.144', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.95', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.38', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.3', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['include/linux/skmsg.h', 'net/core/filter.c', 'net/core/skmsg.c', 'net/tls/tls_sw.c'], 'defaultStatus': 'affected'}] Added Description In the Linux kernel, the following vulnerability has been resolved: net: skmsg: preserve sg.copy across SG transforms The sk_msg sg.copy bitmap is part of the scatterlist entry ownership state. A set bit tells sk_msg_compute_data_pointers() not to expose the entry through writable BPF ctx->data. This protects entries backed by pages that are not private to the sk_msg, such as splice-backed file page-cache pages. Several sk_msg transform paths move, copy, split, or compact msg->sg.data[] entries without moving the matching sg.copy bit. This can make an externally backed entry arrive at a new slot with a clear copy bit. A later SK_MSG verdict can then expose sg_virt(sge) as writable ctx->data and BPF stores can modify the original page cache. Keep sg.copy synchronized with sg.data[] whenever entries are transferred, shifted, split, or copied into a new sk_msg. Clear the bit when an entry is replaced by a newly allocated private page or freed. This covers the BPF pull/push/pop helpers, sk_msg_shift_left/right(), sk_msg_xfer(), and tls_split_open_record(), including the partial tail entry created during TLS open-record splitting. Added Reference https://git.kernel.org/stable/c/0eb4c16c4adb262763bda870a8ed38a1a9dec7ec Added Reference https://git.kernel.org/stable/c/1acdd14c0990dd1cd4b6534f00366d2e6dfce05f Added Reference https://git.kernel.org/stable/c/21ed9540a8e1906dfcbc1bb82ba9b4de4fa4bd6d Added Reference https://git.kernel.org/stable/c/406e8a651a7b854c41fecd5117bb282b3a6c2c6b Added Reference https://git.kernel.org/stable/c/9bb86d8184b37503816150c4a6ad3c17dfdbe827 Added Reference https://git.kernel.org/stable/c/d22cc92bc41290e5783a72375e0843d9435f6001