CVE-2026-63830 (GCVE-0-2026-63830)

Vulnerability from cvelistv5 – Published: 2026-07-19 12:02 – Updated: 2026-07-20 13:40
VLAI
Title
net: skmsg: preserve sg.copy across SG transforms
Summary
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.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: d3b18ad31f93d0b6bae105c679018a1ba7daa9ca , < 9bb86d8184b37503816150c4a6ad3c17dfdbe827 (git)
Affected: d3b18ad31f93d0b6bae105c679018a1ba7daa9ca , < 0eb4c16c4adb262763bda870a8ed38a1a9dec7ec (git)
Affected: d3b18ad31f93d0b6bae105c679018a1ba7daa9ca , < d22cc92bc41290e5783a72375e0843d9435f6001 (git)
Affected: d3b18ad31f93d0b6bae105c679018a1ba7daa9ca , < 1acdd14c0990dd1cd4b6534f00366d2e6dfce05f (git)
Affected: d3b18ad31f93d0b6bae105c679018a1ba7daa9ca , < 21ed9540a8e1906dfcbc1bb82ba9b4de4fa4bd6d (git)
Affected: d3b18ad31f93d0b6bae105c679018a1ba7daa9ca , < 406e8a651a7b854c41fecd5117bb282b3a6c2c6b (git)
Create a notification for this product.
Linux Linux Affected: 4.20
Unaffected: 0 , < 4.20 (semver)
Unaffected: 6.1.177 , ≤ 6.1.* (semver)
Unaffected: 6.6.144 , ≤ 6.6.* (semver)
Unaffected: 6.12.95 , ≤ 6.12.* (semver)
Unaffected: 6.18.38 , ≤ 6.18.* (semver)
Unaffected: 7.1.3 , ≤ 7.1.* (semver)
Unaffected: 7.2-rc1 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "include/linux/skmsg.h",
            "net/core/filter.c",
            "net/core/skmsg.c",
            "net/tls/tls_sw.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "9bb86d8184b37503816150c4a6ad3c17dfdbe827",
              "status": "affected",
              "version": "d3b18ad31f93d0b6bae105c679018a1ba7daa9ca",
              "versionType": "git"
            },
            {
              "lessThan": "0eb4c16c4adb262763bda870a8ed38a1a9dec7ec",
              "status": "affected",
              "version": "d3b18ad31f93d0b6bae105c679018a1ba7daa9ca",
              "versionType": "git"
            },
            {
              "lessThan": "d22cc92bc41290e5783a72375e0843d9435f6001",
              "status": "affected",
              "version": "d3b18ad31f93d0b6bae105c679018a1ba7daa9ca",
              "versionType": "git"
            },
            {
              "lessThan": "1acdd14c0990dd1cd4b6534f00366d2e6dfce05f",
              "status": "affected",
              "version": "d3b18ad31f93d0b6bae105c679018a1ba7daa9ca",
              "versionType": "git"
            },
            {
              "lessThan": "21ed9540a8e1906dfcbc1bb82ba9b4de4fa4bd6d",
              "status": "affected",
              "version": "d3b18ad31f93d0b6bae105c679018a1ba7daa9ca",
              "versionType": "git"
            },
            {
              "lessThan": "406e8a651a7b854c41fecd5117bb282b3a6c2c6b",
              "status": "affected",
              "version": "d3b18ad31f93d0b6bae105c679018a1ba7daa9ca",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "include/linux/skmsg.h",
            "net/core/filter.c",
            "net/core/skmsg.c",
            "net/tls/tls_sw.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.20"
            },
            {
              "lessThan": "4.20",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.177",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.144",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.95",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.38",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.3",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.2-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.177",
                  "versionStartIncluding": "4.20",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.144",
                  "versionStartIncluding": "4.20",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.95",
                  "versionStartIncluding": "4.20",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.38",
                  "versionStartIncluding": "4.20",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.3",
                  "versionStartIncluding": "4.20",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2-rc1",
                  "versionStartIncluding": "4.20",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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-\u003edata. 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-\u003esg.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-\u003edata 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."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 9.4,
            "baseSeverity": "CRITICAL",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L",
            "version": "3.1"
          }
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-07-20T13:40:33.658Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/9bb86d8184b37503816150c4a6ad3c17dfdbe827"
        },
        {
          "url": "https://git.kernel.org/stable/c/0eb4c16c4adb262763bda870a8ed38a1a9dec7ec"
        },
        {
          "url": "https://git.kernel.org/stable/c/d22cc92bc41290e5783a72375e0843d9435f6001"
        },
        {
          "url": "https://git.kernel.org/stable/c/1acdd14c0990dd1cd4b6534f00366d2e6dfce05f"
        },
        {
          "url": "https://git.kernel.org/stable/c/21ed9540a8e1906dfcbc1bb82ba9b4de4fa4bd6d"
        },
        {
          "url": "https://git.kernel.org/stable/c/406e8a651a7b854c41fecd5117bb282b3a6c2c6b"
        }
      ],
      "title": "net: skmsg: preserve sg.copy across SG transforms",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-63830",
    "datePublished": "2026-07-19T12:02:23.741Z",
    "dateReserved": "2026-07-19T07:54:57.014Z",
    "dateUpdated": "2026-07-20T13:40:33.658Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-63830",
      "date": "2026-07-21",
      "epss": "0.00337",
      "percentile": "0.25928"
    },
    "microsoft_vex": {
      "current_release_date": "2026-07-20T14:44:25.000Z",
      "cve": "CVE-2026-63830",
      "id": "msrc_CVE-2026-63830",
      "initial_release_date": "2026-07-20T01:05:21.000Z",
      "product_status:known_affected": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "net: skmsg: preserve sg.copy across SG transforms",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-63830.json",
      "version": "2"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-63830\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-07-19T12:16:56.337\",\"lastModified\":\"2026-07-20T15:16:49.680\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"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-\u003edata. 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-\u003esg.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-\u003edata 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.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"include/linux/skmsg.h\",\"net/core/filter.c\",\"net/core/skmsg.c\",\"net/tls/tls_sw.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"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\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"include/linux/skmsg.h\",\"net/core/filter.c\",\"net/core/skmsg.c\",\"net/tls/tls_sw.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"4.20\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"4.20\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.177\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.144\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.95\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.38\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1.3\",\"lessThanOrEqual\":\"7.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.2-rc1\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L\",\"baseScore\":9.4,\"baseSeverity\":\"CRITICAL\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"LOW\"},\"exploitabilityScore\":3.9,\"impactScore\":5.5}]},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/0eb4c16c4adb262763bda870a8ed38a1a9dec7ec\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/1acdd14c0990dd1cd4b6534f00366d2e6dfce05f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/21ed9540a8e1906dfcbc1bb82ba9b4de4fa4bd6d\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/406e8a651a7b854c41fecd5117bb282b3a6c2c6b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/9bb86d8184b37503816150c4a6ad3c17dfdbe827\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d22cc92bc41290e5783a72375e0843d9435f6001\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Important",
      "current_release_date": "2026-07-20T16:36:47+00:00",
      "cve": "CVE-2026-63830",
      "id": "CVE-2026-63830",
      "initial_release_date": "2026-07-19T00:00:00+00:00",
      "product_status:known_affected": "246",
      "product_status:known_not_affected": "29",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: net: skmsg: preserve sg.copy across SG transforms",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-63830.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…