CVE-2026-64111 (GCVE-0-2026-64111)

Vulnerability from cvelistv5 – Published: 2026-07-19 15:40 – Updated: 2026-08-05 12:39
VLAI
Title
lsm: hold cred_guard_mutex for lsm_set_self_attr()
Summary
In the Linux kernel, the following vulnerability has been resolved: lsm: hold cred_guard_mutex for lsm_set_self_attr() Just as proc_pid_attr_write() already does before calling the LSM hook. This only matters for SELinux and AppArmor which check whether the process is being ptraced and if so, whether to allow the transition.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: a04a1198088a1378d0389c250cc684f649bcc91e , < 82d3acee88593e3d9e71cad4b7d6b3cf70de9d07 (git)
Affected: a04a1198088a1378d0389c250cc684f649bcc91e , < 5b906f31e977286888a9e31282589b545b249139 (git)
Affected: a04a1198088a1378d0389c250cc684f649bcc91e , < a010cadaf5727b8417f62fe9021fcef14a5f9b51 (git)
Affected: a04a1198088a1378d0389c250cc684f649bcc91e , < 4a9b16541ad3faf8bccb398532bf3f8b6bbf1188 (git)
Create a notification for this product.
Linux Linux Affected: 6.8
Unaffected: 0 , < 6.8 (semver)
Unaffected: 6.12.92 , ≤ 6.12.* (semver)
Unaffected: 6.18.34 , ≤ 6.18.* (semver)
Unaffected: 7.0.11 , ≤ 7.0.* (semver)
Unaffected: 7.1 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "security/lsm_syscalls.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "82d3acee88593e3d9e71cad4b7d6b3cf70de9d07",
              "status": "affected",
              "version": "a04a1198088a1378d0389c250cc684f649bcc91e",
              "versionType": "git"
            },
            {
              "lessThan": "5b906f31e977286888a9e31282589b545b249139",
              "status": "affected",
              "version": "a04a1198088a1378d0389c250cc684f649bcc91e",
              "versionType": "git"
            },
            {
              "lessThan": "a010cadaf5727b8417f62fe9021fcef14a5f9b51",
              "status": "affected",
              "version": "a04a1198088a1378d0389c250cc684f649bcc91e",
              "versionType": "git"
            },
            {
              "lessThan": "4a9b16541ad3faf8bccb398532bf3f8b6bbf1188",
              "status": "affected",
              "version": "a04a1198088a1378d0389c250cc684f649bcc91e",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "security/lsm_syscalls.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.8"
            },
            {
              "lessThan": "6.8",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.92",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.34",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.0.*",
              "status": "unaffected",
              "version": "7.0.11",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.92",
                  "versionStartIncluding": "6.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.34",
                  "versionStartIncluding": "6.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0.11",
                  "versionStartIncluding": "6.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1",
                  "versionStartIncluding": "6.8",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nlsm: hold cred_guard_mutex for lsm_set_self_attr()\n\nJust as proc_pid_attr_write() already does before calling the LSM\nhook. This only matters for SELinux and AppArmor which check\nwhether the process is being ptraced and if so, whether to\nallow the transition."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.1,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - Exploitation requires invoking the `lsm_set_self_attr` syscall (NR 460), which is strictly a local kernel entry point with no network, adjacent-wireless, or physical-device path to the vulnerable code.\nAC:L - The bug is a TOCTOU race between `lsm_set_self_attr` and concurrent ptrace attach/detach; an attacker can control both the tracee thread issuing the syscall and a tracer thread (e.g., via fork/PTRACE_TRACEME), making the race reliably winnable without conditions outside attacker control.\nPR:L - Any unprivileged local user can reach `sys_lsm_set_self_attr`; there is no capability or root requirement at the syscall boundary, and ptrace coordination is achievable within the same UID via standard unprivileged ptrace APIs.\nUI:N - Exploitation does not require any action from a separate victim user such as opening a file or mounting a filesystem; the attacker drives both the setattr syscall and the ptrace race directly.\nS:U - Successful exploitation changes the calling process\u0027s LSM credentials within the same kernel/OS security authority (SELinux domain or AppArmor profile transition), constituting standard local MAC bypass rather than crossing a VM, container-host, or IOMMU boundary.\nC:H - Bypassing the ptrace-mediated transition check allows committing a new SELinux SID or AppArmor profile without tracer authorization, granting read access to data and resources denied under the prior confined context.\nI:H - The attack culminates in `commit_creds()` with an unauthorized LSM security context (SELinux `crsec-\u003esid` or AppArmor label replacement), constituting arbitrary modification of the process\u0027s mandatory access control identity and associated permissions.\nA:N - The vulnerability is a missing mutex enabling a policy-bypass race; it does not involve memory corruption, kernel oops, panic, hang, or other availability-impacting failure modes."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T12:39:20.048Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/82d3acee88593e3d9e71cad4b7d6b3cf70de9d07"
        },
        {
          "url": "https://git.kernel.org/stable/c/5b906f31e977286888a9e31282589b545b249139"
        },
        {
          "url": "https://git.kernel.org/stable/c/a010cadaf5727b8417f62fe9021fcef14a5f9b51"
        },
        {
          "url": "https://git.kernel.org/stable/c/4a9b16541ad3faf8bccb398532bf3f8b6bbf1188"
        }
      ],
      "title": "lsm: hold cred_guard_mutex for lsm_set_self_attr()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-64111",
    "datePublished": "2026-07-19T15:40:13.007Z",
    "dateReserved": "2026-07-19T07:54:57.035Z",
    "dateUpdated": "2026-08-05T12:39:20.048Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-64111",
      "date": "2026-08-10",
      "epss": "0.00135",
      "percentile": "0.0339"
    },
    "microsoft_vex": {
      "current_release_date": "2026-07-21T01:04:00.000Z",
      "cve": "CVE-2026-64111",
      "id": "msrc_CVE-2026-64111",
      "initial_release_date": "2026-07-21T01:04:00.000Z",
      "product_status:known_affected": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "lsm: hold cred_guard_mutex for lsm_set_self_attr()",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-64111.json",
      "version": "1"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-64111\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-07-19T16:17:52.463\",\"lastModified\":\"2026-07-30T14:59:47.950\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nlsm: hold cred_guard_mutex for lsm_set_self_attr()\\n\\nJust as proc_pid_attr_write() already does before calling the LSM\\nhook. This only matters for SELinux and AppArmor which check\\nwhether the process is being ptraced and if so, whether to\\nallow the transition.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"security/lsm_syscalls.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"a04a1198088a1378d0389c250cc684f649bcc91e\",\"lessThan\":\"82d3acee88593e3d9e71cad4b7d6b3cf70de9d07\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"a04a1198088a1378d0389c250cc684f649bcc91e\",\"lessThan\":\"5b906f31e977286888a9e31282589b545b249139\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"a04a1198088a1378d0389c250cc684f649bcc91e\",\"lessThan\":\"a010cadaf5727b8417f62fe9021fcef14a5f9b51\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"a04a1198088a1378d0389c250cc684f649bcc91e\",\"lessThan\":\"4a9b16541ad3faf8bccb398532bf3f8b6bbf1188\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"security/lsm_syscalls.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"6.8\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"6.8\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.92\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.34\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.0.11\",\"lessThanOrEqual\":\"7.0.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1\",\"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:N\",\"baseScore\":7.1,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"NONE\"},\"exploitabilityScore\":1.8,\"impactScore\":5.2}]},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/4a9b16541ad3faf8bccb398532bf3f8b6bbf1188\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/5b906f31e977286888a9e31282589b545b249139\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/82d3acee88593e3d9e71cad4b7d6b3cf70de9d07\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a010cadaf5727b8417f62fe9021fcef14a5f9b51\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-08-05T14:15:31+00:00",
      "cve": "CVE-2026-64111",
      "id": "CVE-2026-64111",
      "initial_release_date": "2026-07-19T00:00:00+00:00",
      "product_status:known_affected": "76",
      "product_status:known_not_affected": "199",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: lsm: hold cred_guard_mutex for lsm_set_self_attr()",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-64111.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "important",
      "current_release_date": "2026-08-06T01:09:35Z",
      "cve": "CVE-2026-64111",
      "id": "CVE-2026-64111",
      "initial_release_date": "2026-07-21T12:59:30Z",
      "product_status:known_affected": "29",
      "product_status:known_not_affected": "267",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-64111",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-64111.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…