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.
Fix
Patch, vendor advisory and mitigation references on NVD 8
- https://git.kernel.org/stable/c/0eb4c16c4adb262763bda870a8ed38a1a9dec7ec Patch
- https://git.kernel.org/stable/c/1acdd14c0990dd1cd4b6534f00366d2e6dfce05f Patch
- https://git.kernel.org/stable/c/21ed9540a8e1906dfcbc1bb82ba9b4de4fa4bd6d Patch
- https://git.kernel.org/stable/c/31a110642b5fb5e61940cbcfb503445ac4f28017 Patch
- https://git.kernel.org/stable/c/406e8a651a7b854c41fecd5117bb282b3a6c2c6b Patch
- https://git.kernel.org/stable/c/9bb86d8184b37503816150c4a6ad3c17dfdbe827 Patch
- https://git.kernel.org/stable/c/d22cc92bc41290e5783a72375e0843d9435f6001 Patch
- https://git.kernel.org/stable/c/f126eed589eec6f201405abbc398844042ef6d57 Patch
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 6
- CwesCWE-269 → CWE-863, CWE-269NVD modified 2026-10-22 18:14
- Cpes+1 CPE criteria (now 1)NVD modified 2026-10-22 18:14
- StatusPublished → AnalyzedNVD modified 2026-10-22 18:14
- StatusAwaiting Analysis → PublishedNVD modified 2026-10-19 20:07
- CwesCWE-269NVD modified 2026-10-19 20:19
- First seenCVSS 9.4NVD modified 2026-10-16 16:18
Affected (CPE criteria) 1
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
References 8
- https://git.kernel.org/stable/c/0eb4c16c4adb262763bda870a8ed38a1a9dec7ec Patch
- https://git.kernel.org/stable/c/1acdd14c0990dd1cd4b6534f00366d2e6dfce05f Patch
- https://git.kernel.org/stable/c/21ed9540a8e1906dfcbc1bb82ba9b4de4fa4bd6d Patch
- https://git.kernel.org/stable/c/31a110642b5fb5e61940cbcfb503445ac4f28017 Patch
- https://git.kernel.org/stable/c/406e8a651a7b854c41fecd5117bb282b3a6c2c6b Patch
- https://git.kernel.org/stable/c/9bb86d8184b37503816150c4a6ad3c17dfdbe827 Patch
- https://git.kernel.org/stable/c/d22cc92bc41290e5783a72375e0843d9435f6001 Patch
- https://git.kernel.org/stable/c/f126eed589eec6f201405abbc398844042ef6d57 Patch