CVE-2026-64111 (GCVE-0-2026-64111)
Vulnerability from cvelistv5
Published
2026-07-19 15:40
Modified
2026-08-05 12:39
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.
Impacted products
Vendor Product Version
Linux Linux Version: a04a1198088a1378d0389c250cc684f649bcc91e
Version: a04a1198088a1378d0389c250cc684f649bcc91e
Version: a04a1198088a1378d0389c250cc684f649bcc91e
Version: a04a1198088a1378d0389c250cc684f649bcc91e
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"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…