{"id":"CVE-2026-63830","aliases":["CVE-2026-63830"],"related":[],"kind":"vulnerability","state":"published","title":"net: skmsg: preserve sg.copy across SG transforms","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: skmsg: preserve sg.copy across SG transforms\n\nThe sk_msg sg.copy bitmap is part of the scatterlist entry ownership\nstate. A set bit tells sk_msg_compute_data_pointers() not to expose the\nentry through writable BPF ctx->data. This protects entries backed by\npages that are not private to the sk_msg, such as splice-backed file\npage-cache pages.\n\nSeveral sk_msg transform paths move, copy, split, or compact\nmsg->sg.data[] entries without moving the matching sg.copy bit. This can\nmake an externally backed entry arrive at a new slot with a clear copy\nbit. A later SK_MSG verdict can then expose sg_virt(sge) as writable\nctx->data and BPF stores can modify the original page cache.\n\nKeep sg.copy synchronized with sg.data[] whenever entries are\ntransferred, shifted, split, or copied into a new sk_msg. Clear the bit\nwhen an entry is replaced by a newly allocated private page or freed.\nThis covers the BPF pull/push/pop helpers, sk_msg_shift_left/right(),\nsk_msg_xfer(), and tls_split_open_record(), including the partial tail\nentry created during TLS open-record splitting.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: skmsg: preserve sg.copy across SG transforms\n\nThe sk_msg sg.copy bitmap is part of the scatterlist entry ownership\nstate. A set bit tells sk_msg_compute_data_pointers() not to expose the\nentry through writable BPF ctx->data. This protects entries backed by\npages that are not private to the sk_msg, such as splice-backed file\npage-cache pages.\n\nSeveral sk_msg transform paths move, copy, split, or compact\nmsg->sg.data[] entries without moving the matching sg.copy bit. This can\nmake an externally backed entry arrive at a new slot with a clear copy\nbit. A later SK_MSG verdict can then expose sg_virt(sge) as writable\nctx->data and BPF stores can modify the original page cache.\n\nKeep sg.copy synchronized with sg.data[] whenever entries are\ntransferred, shifted, split, or copied into a new sk_msg. Clear the bit\nwhen an entry is replaced by a newly allocated private page or freed.\nThis covers the BPF pull/push/pop helpers, sk_msg_shift_left/right(),\nsk_msg_xfer(), and tls_split_open_record(), including the partial tail\nentry created during TLS open-record splitting.","source":"cvelist"}],"published":"2026-07-19T12:02:23.741Z","modified":"2026-10-22T18:14:48.593Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L","score":9.4,"rating":"CRITICAL"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L","score":9.4,"rating":"CRITICAL"}],"cwes":["CWE-269","CWE-863"],"affected":[{"ranges":[{"type":"git","introduced":"d3b18ad31f93d0b6bae105c679018a1ba7daa9ca","fixed":"f126eed589eec6f201405abbc398844042ef6d57","status":"affected"},{"type":"git","introduced":"d3b18ad31f93d0b6bae105c679018a1ba7daa9ca","fixed":"31a110642b5fb5e61940cbcfb503445ac4f28017","status":"affected"},{"type":"git","introduced":"d3b18ad31f93d0b6bae105c679018a1ba7daa9ca","fixed":"9bb86d8184b37503816150c4a6ad3c17dfdbe827","status":"affected"},{"type":"git","introduced":"d3b18ad31f93d0b6bae105c679018a1ba7daa9ca","fixed":"0eb4c16c4adb262763bda870a8ed38a1a9dec7ec","status":"affected"},{"type":"git","introduced":"d3b18ad31f93d0b6bae105c679018a1ba7daa9ca","fixed":"d22cc92bc41290e5783a72375e0843d9435f6001","status":"affected"},{"type":"git","introduced":"d3b18ad31f93d0b6bae105c679018a1ba7daa9ca","fixed":"1acdd14c0990dd1cd4b6534f00366d2e6dfce05f","status":"affected"},{"type":"git","introduced":"d3b18ad31f93d0b6bae105c679018a1ba7daa9ca","fixed":"21ed9540a8e1906dfcbc1bb82ba9b4de4fa4bd6d","status":"affected"},{"type":"git","introduced":"d3b18ad31f93d0b6bae105c679018a1ba7daa9ca","fixed":"406e8a651a7b854c41fecd5117bb282b3a6c2c6b","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.20","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.20","status":"unaffected"},{"type":"semver","introduced":"5.10.261","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.212","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.177","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.144","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.95","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.38","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.3","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.20","fixed":"5.10.261"},{"status":"affected","introduced":"5.11","fixed":"5.15.212"},{"status":"affected","introduced":"5.16","fixed":"6.1.177"},{"status":"affected","introduced":"6.2","fixed":"6.6.144"},{"status":"affected","introduced":"6.7","fixed":"6.12.95"},{"status":"affected","introduced":"6.13","fixed":"6.18.38"},{"status":"affected","introduced":"6.19","fixed":"7.1.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/f126eed589eec6f201405abbc398844042ef6d57","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/31a110642b5fb5e61940cbcfb503445ac4f28017","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9bb86d8184b37503816150c4a6ad3c17dfdbe827","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0eb4c16c4adb262763bda870a8ed38a1a9dec7ec","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d22cc92bc41290e5783a72375e0843d9435f6001","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1acdd14c0990dd1cd4b6534f00366d2e6dfce05f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/21ed9540a8e1906dfcbc1bb82ba9b4de4fa4bd6d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/406e8a651a7b854c41fecd5117bb282b3a6c2c6b","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-10-16T15:31:17.853Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-63830","url":"https://www.cve.org/CVERecord?id=CVE-2026-63830","licence":"CVE Terms of Use","modified":"2026-10-19T20:07:49.188Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-63830","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63830","licence":"Public domain","modified":"2026-10-22T18:14:48.593Z"}],"updatedAt":"2026-11-25T22:59:28.747Z","epss":{"score":0.00441,"percentile":0.40131,"date":"2026-12-01T12:00:22.000Z"}}