Description
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.
Published: 2026-07-19
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

In the Linux kernel, the lsm_set_self_attr() function does not acquire the cred_guard_mutex before performing security checks, a flaw now classified as CWE‑412. The omission creates a race condition that could allow a process to alter its own security attributes while a ptrace check is underway. If successful, the attacker might bypass SELinux or AppArmor restrictions and elevate privileges. The severity is high, as the flaw is a concurrency issue rather than a direct memory corruption or input validation bug.

Affected Systems

All Linux kernels that ship with SELinux or AppArmor enabled are potentially affected, because the vulnerability resides in the core LSM layer. No specific kernel release is listed in the advisory, so any kernel where the patch has not yet been applied can be at risk.

Risk and Exploitability

The CVSS score of 7.1 indicates high severity. The EPSS score of less than 1% suggests a low current exploitation probability. The vulnerability is not listed in the CISA KEV catalog. Based on the description, the likely attack vector is local; an attacker would need to orchestrate a race condition while manipulating process attributes, which is inferred rather than explicitly documented.

Generated by OpenCVE AI on August 5, 2026 at 02:11 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the kernel to a version that contains the patch fixing the missing cred_guard_mutex acquisition
  • If upgrading is not immediately possible, temporarily disable SELinux or AppArmor to remove the ptrace authorization checks
  • Monitor ptrace usage and LSM attribute changes to detect anomalous activity

Generated by OpenCVE AI on August 5, 2026 at 02:11 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8593-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8603-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
History

Sun, 26 Jul 2026 08:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-852

Tue, 21 Jul 2026 22:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-852

Tue, 21 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-412
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 20 Jul 2026 14:45:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N'}


Sun, 19 Jul 2026 16:15:00 +0000

Type Values Removed Values Added
Description 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.
Title lsm: hold cred_guard_mutex for lsm_set_self_attr()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-05T12:39:20.048Z

Reserved: 2026-07-19T07:54:57.035Z

Link: CVE-2026-64111

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-19T00:00:00Z

Links: CVE-2026-64111 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-05T02:15:03Z

Weaknesses
  • CWE-412

    Unrestricted Externally Accessible Lock