# CVE-2026-63830: net: skmsg: preserve sg.copy across SG transforms

- Severity: Critical 9.4 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.44%, higher than 40% of CVEs (2026-12-01)
- Published: 2026-07-19T12:02:23.741Z
- Modified: 2026-10-22T18:14:48.593Z
- Weaknesses: CWE-269, CWE-863
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from d3b18ad31f93d0b6bae105c679018a1ba7daa9ca before f126eed589eec6f201405abbc398844042ef6d57; from d3b18ad31f93d0b6bae105c679018a1ba7daa9ca before 31a110642b5fb5e61940cbcfb503445ac4f28017; from d3b18ad31f93d0b6bae105c679018a1ba7daa9ca before 9bb86d8184b37503816150c4a6ad3c17dfdbe827; from d3b18ad31f93d0b6bae105c679018a1ba7daa9ca before 0eb4c16c4adb262763bda870a8ed38a1a9dec7ec; from d3b18ad31f93d0b6bae105c679018a1ba7daa9ca before d22cc92bc41290e5783a72375e0843d9435f6001; from d3b18ad31f93d0b6bae105c679018a1ba7daa9ca before 1acdd14c0990dd1cd4b6534f00366d2e6dfce05f; from d3b18ad31f93d0b6bae105c679018a1ba7daa9ca before 21ed9540a8e1906dfcbc1bb82ba9b4de4fa4bd6d; from d3b18ad31f93d0b6bae105c679018a1ba7daa9ca before 406e8a651a7b854c41fecd5117bb282b3a6c2c6b; 4.20 (not affected: before 4.20; from 5.10.261 up to 5.10.*; from 5.15.212 up to 5.15.*; from 6.1.177 up to 6.1.*; from 6.6.144 up to 6.6.*; from 6.12.95 up to 6.12.*; from 6.18.38 up to 6.18.*; from 7.1.3 up to 7.1.*; from 7.2 up to *)
- linux linux_kernel: from 4.20 before 5.10.261; from 5.11 before 5.15.212; from 5.16 before 6.1.177; from 6.2 before 6.6.144; from 6.7 before 6.12.95; from 6.13 before 6.18.38; from 6.19 before 7.1.3

## References

- <https://git.kernel.org/stable/c/f126eed589eec6f201405abbc398844042ef6d57> (patch)
- <https://git.kernel.org/stable/c/31a110642b5fb5e61940cbcfb503445ac4f28017> (patch)
- <https://git.kernel.org/stable/c/9bb86d8184b37503816150c4a6ad3c17dfdbe827> (patch)
- <https://git.kernel.org/stable/c/0eb4c16c4adb262763bda870a8ed38a1a9dec7ec> (patch)
- <https://git.kernel.org/stable/c/d22cc92bc41290e5783a72375e0843d9435f6001> (patch)
- <https://git.kernel.org/stable/c/1acdd14c0990dd1cd4b6534f00366d2e6dfce05f> (patch)
- <https://git.kernel.org/stable/c/21ed9540a8e1906dfcbc1bb82ba9b4de4fa4bd6d> (patch)
- <https://git.kernel.org/stable/c/406e8a651a7b854c41fecd5117bb282b3a6c2c6b> (patch)

## Sources

- CVE List: [CVE-2026-63830](https://www.cve.org/CVERecord?id=CVE-2026-63830), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-63830](https://nvd.nist.gov/vuln/detail/CVE-2026-63830), Public domain, modified 2026-10-22

---

Page: https://cve.day/CVE-2026-63830 · Whole record: https://cve.day/CVE-2026-63830.json · Rebuilt by cve.day 2026-11-25T22:59:28.747Z
