GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2026-74262 (GCVE-0-2026-74262)

Vulnerability from cvelistv5 – Published: 2026-08-15 05:57 – Updated: 2026-08-17 05:45
VLAI
Title
kcm: use WRITE_ONCE() when changing lower socket callbacks
Summary
In the Linux kernel, the following vulnerability has been resolved: kcm: use WRITE_ONCE() when changing lower socket callbacks kcm_attach() replaces a live lower TCP socket's sk_data_ready and sk_write_space callbacks with KCM handlers, and kcm_unattach() restores them later. Those callback-pointer updates are still plain stores even though the same fields can be read and invoked concurrently on other CPUs. If another CPU observes an older callback snapshot after the live field has already been restored, callback execution can run with a mismatched target and sk_user_data state, leading to stale or misdirected wakeups. Use WRITE_ONCE() for the callback replacement and restore operations so these shared callback fields follow the same visibility contract already established by the earlier 4022 fixes.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 , < 0cb3e2f40679032c1aa2186280a86e5ead0161ee (git)
Affected: ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 , < fa26e4606aed0f7fe793c325506adeda1d847a43 (git)
Affected: ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 , < b4ccd6eef671d7c44a30123cd29f3acf3de8468e (git)
Affected: ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 , < b8c90823cdfb5f3d22f261aeb3e9066612853c36 (git)
Affected: ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 , < 11faefd11ce2448bac7279ab302dd1954a6547fe (git)
Affected: ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 , < f01fb6138f8eb606b56ce9158e2d8b72352c53f4 (git)
Affected: ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 , < 9684fff87124b201e11dea01ded9173025359a0f (git)
Affected: ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 , < 47186409c092cd7dd70350999186c700233e854d (git)
guessed Create a notification for this product.
Linux Linux Affected: 4.6
Unaffected: 0 , < 4.6 (semver)
Unaffected: 5.10.261 , ≤ 5.10.* (semver)
Unaffected: 5.15.212 , ≤ 5.15.* (semver)
Unaffected: 6.1.178 , ≤ 6.1.* (semver)
Unaffected: 6.6.145 , ≤ 6.6.* (semver)
Unaffected: 6.12.97 , ≤ 6.12.* (semver)
Unaffected: 6.18.40 , ≤ 6.18.* (semver)
Unaffected: 7.1.5 , ≤ 7.1.* (semver)
Unaffected: 7.2 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/kcm/kcmsock.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "0cb3e2f40679032c1aa2186280a86e5ead0161ee",
              "status": "affected",
              "version": "ab7ac4eb9832e32a09f4e8042705484d2fb0aad3",
              "versionType": "git"
            },
            {
              "lessThan": "fa26e4606aed0f7fe793c325506adeda1d847a43",
              "status": "affected",
              "version": "ab7ac4eb9832e32a09f4e8042705484d2fb0aad3",
              "versionType": "git"
            },
            {
              "lessThan": "b4ccd6eef671d7c44a30123cd29f3acf3de8468e",
              "status": "affected",
              "version": "ab7ac4eb9832e32a09f4e8042705484d2fb0aad3",
              "versionType": "git"
            },
            {
              "lessThan": "b8c90823cdfb5f3d22f261aeb3e9066612853c36",
              "status": "affected",
              "version": "ab7ac4eb9832e32a09f4e8042705484d2fb0aad3",
              "versionType": "git"
            },
            {
              "lessThan": "11faefd11ce2448bac7279ab302dd1954a6547fe",
              "status": "affected",
              "version": "ab7ac4eb9832e32a09f4e8042705484d2fb0aad3",
              "versionType": "git"
            },
            {
              "lessThan": "f01fb6138f8eb606b56ce9158e2d8b72352c53f4",
              "status": "affected",
              "version": "ab7ac4eb9832e32a09f4e8042705484d2fb0aad3",
              "versionType": "git"
            },
            {
              "lessThan": "9684fff87124b201e11dea01ded9173025359a0f",
              "status": "affected",
              "version": "ab7ac4eb9832e32a09f4e8042705484d2fb0aad3",
              "versionType": "git"
            },
            {
              "lessThan": "47186409c092cd7dd70350999186c700233e854d",
              "status": "affected",
              "version": "ab7ac4eb9832e32a09f4e8042705484d2fb0aad3",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/kcm/kcmsock.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.6"
            },
            {
              "lessThan": "4.6",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.261",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.212",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.178",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.145",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.97",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.40",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.261",
                  "versionStartIncluding": "4.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.212",
                  "versionStartIncluding": "4.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.178",
                  "versionStartIncluding": "4.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.145",
                  "versionStartIncluding": "4.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.97",
                  "versionStartIncluding": "4.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.40",
                  "versionStartIncluding": "4.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.5",
                  "versionStartIncluding": "4.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "4.6",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nkcm: use WRITE_ONCE() when changing lower socket callbacks\n\nkcm_attach() replaces a live lower TCP socket\u0027s sk_data_ready and\nsk_write_space callbacks with KCM handlers, and kcm_unattach() restores\nthem later. Those callback-pointer updates are still plain stores even\nthough the same fields can be read and invoked concurrently on other\nCPUs.\n\nIf another CPU observes an older callback snapshot after the live field\nhas already been restored, callback execution can run with a mismatched\ntarget and sk_user_data state, leading to stale or misdirected wakeups.\n\nUse WRITE_ONCE() for the callback replacement and restore operations so\nthese shared callback fields follow the same visibility contract already\nestablished by the earlier 4022 fixes."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The bug is in kcm_attach()/kcm_unattach() callback replacement reachable only via local socket()/ioctl(SIOCKCMATTACH/UNATTACH); remote TCP can trigger callback invocation but cannot perform attach/detach without local access to the KCM socket.\nAC:L - The attacker controls both sides of the race by concurrently issuing attach/unattach ioctls while driving RX/TX on the same TCP socket to provoke READ_ONCE(sk_data_ready/sk_write_space) on other CPUs during callback pointer transitions.\nPR:L - No capability checks exist in KCM; any local user who can create AF_KCM sockets and load a BPF_PROG_TYPE_SOCKET_FILTER program (allowed without CAP_BPF on many systems, or via user-namespace capabilities) can reach the vulnerable ioctl path.\nUI:N - Exploitation requires only attacker-controlled local socket operations and concurrent network I/O; no victim user or administrator action is needed beyond the attacker using their own sockets.\nS:U - Impact is kernel memory corruption and privilege escalation within the same security authority; this is not a cross-boundary escape such as guest-to-host VM breakout or IOMMU bypass.\nC:H - Plain stores to sk_data_ready/sk_write_space can desynchronize from sk_user_data, letting stale KCM callbacks dereference freed or mismatched kcm_psock/strparser state and leak attacker-influenced kernel heap contents.\nI:H - Misdirected psock_write_space/psock_data_ready on dangling kcm_psock can corrupt heap metadata and queue_work on freed kcm_sock objects, enabling control-flow hijack and arbitrary kernel write primitives.\nA:H - The data race causes use-after-free and invalid pointer dereferences in softirq/workqueue callback paths, producing reliable kernel oops/panic or hang even when full exploitation is not achieved."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-17T05:45:10.909Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/0cb3e2f40679032c1aa2186280a86e5ead0161ee"
        },
        {
          "url": "https://git.kernel.org/stable/c/fa26e4606aed0f7fe793c325506adeda1d847a43"
        },
        {
          "url": "https://git.kernel.org/stable/c/b4ccd6eef671d7c44a30123cd29f3acf3de8468e"
        },
        {
          "url": "https://git.kernel.org/stable/c/b8c90823cdfb5f3d22f261aeb3e9066612853c36"
        },
        {
          "url": "https://git.kernel.org/stable/c/11faefd11ce2448bac7279ab302dd1954a6547fe"
        },
        {
          "url": "https://git.kernel.org/stable/c/f01fb6138f8eb606b56ce9158e2d8b72352c53f4"
        },
        {
          "url": "https://git.kernel.org/stable/c/9684fff87124b201e11dea01ded9173025359a0f"
        },
        {
          "url": "https://git.kernel.org/stable/c/47186409c092cd7dd70350999186c700233e854d"
        }
      ],
      "title": "kcm: use WRITE_ONCE() when changing lower socket callbacks",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-74262",
    "datePublished": "2026-08-15T05:57:38.990Z",
    "dateReserved": "2026-08-15T05:44:03.877Z",
    "dateUpdated": "2026-08-17T05:45:10.909Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-74262",
      "date": "2026-09-05",
      "epss": "0.00136",
      "percentile": "0.03345"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-74262\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-08-15T06:22:25.450\",\"lastModified\":\"2026-08-17T06:19:19.733\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nkcm: use WRITE_ONCE() when changing lower socket callbacks\\n\\nkcm_attach() replaces a live lower TCP socket\u0027s sk_data_ready and\\nsk_write_space callbacks with KCM handlers, and kcm_unattach() restores\\nthem later. Those callback-pointer updates are still plain stores even\\nthough the same fields can be read and invoked concurrently on other\\nCPUs.\\n\\nIf another CPU observes an older callback snapshot after the live field\\nhas already been restored, callback execution can run with a mismatched\\ntarget and sk_user_data state, leading to stale or misdirected wakeups.\\n\\nUse WRITE_ONCE() for the callback replacement and restore operations so\\nthese shared callback fields follow the same visibility contract already\\nestablished by the earlier 4022 fixes.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"net/kcm/kcmsock.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"ab7ac4eb9832e32a09f4e8042705484d2fb0aad3\",\"lessThan\":\"0cb3e2f40679032c1aa2186280a86e5ead0161ee\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"ab7ac4eb9832e32a09f4e8042705484d2fb0aad3\",\"lessThan\":\"fa26e4606aed0f7fe793c325506adeda1d847a43\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"ab7ac4eb9832e32a09f4e8042705484d2fb0aad3\",\"lessThan\":\"b4ccd6eef671d7c44a30123cd29f3acf3de8468e\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"ab7ac4eb9832e32a09f4e8042705484d2fb0aad3\",\"lessThan\":\"b8c90823cdfb5f3d22f261aeb3e9066612853c36\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"ab7ac4eb9832e32a09f4e8042705484d2fb0aad3\",\"lessThan\":\"11faefd11ce2448bac7279ab302dd1954a6547fe\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"ab7ac4eb9832e32a09f4e8042705484d2fb0aad3\",\"lessThan\":\"f01fb6138f8eb606b56ce9158e2d8b72352c53f4\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"ab7ac4eb9832e32a09f4e8042705484d2fb0aad3\",\"lessThan\":\"9684fff87124b201e11dea01ded9173025359a0f\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"ab7ac4eb9832e32a09f4e8042705484d2fb0aad3\",\"lessThan\":\"47186409c092cd7dd70350999186c700233e854d\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"net/kcm/kcmsock.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"4.6\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"4.6\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.10.261\",\"lessThanOrEqual\":\"5.10.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.212\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.178\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.145\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.97\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.40\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1.5\",\"lessThanOrEqual\":\"7.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.2\",\"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:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":7.8,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":5.9}]},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/0cb3e2f40679032c1aa2186280a86e5ead0161ee\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/11faefd11ce2448bac7279ab302dd1954a6547fe\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/47186409c092cd7dd70350999186c700233e854d\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/9684fff87124b201e11dea01ded9173025359a0f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b4ccd6eef671d7c44a30123cd29f3acf3de8468e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b8c90823cdfb5f3d22f261aeb3e9066612853c36\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f01fb6138f8eb606b56ce9158e2d8b72352c53f4\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/fa26e4606aed0f7fe793c325506adeda1d847a43\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-08-19T13:21:39+00:00",
      "cve": "CVE-2026-74262",
      "id": "CVE-2026-74262",
      "initial_release_date": "2026-08-15T00:00:00+00:00",
      "product_status:known_not_affected": "274",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kcm: use WRITE_ONCE() when changing lower socket callbacks",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-74262.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…

Loading…