CVE-2025-71239

audit: add fchmodat2() to change attributes class

Published Mar 17, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

audit: add fchmodat2() to change attributes class

fchmodat2(), introduced in version 6.6 is currently not in the change
attribute class of audit. Calling fchmodat2() to change a file
attribute in the same fashion than chmod() or fchmodat() will bypass
audit rules such as:

-w /tmp/test -p rwa -k test_rwa

The current patch adds fchmodat2() to the change attributes class.

Analysis

AI-generated

Technical impact

The Linux kernel audit subsystem omitted the fchmodat2() system call from its change‑attributes class when it was introduced in kernel 6.6. Calls to fchmodat2() can modify file permissions or attributes exactly as chmod() or fchmodat(), but because it was not audited the action is not logged by audit rules such as ‑w /tmp/file ‑p rwa ‑k test_rwa. This allows a user to change attributes on a file or directory without generating evidence in the audit trail, potentially facilitating tampering, privilege escalation, or post‑exploitation cover‑up. The weakness manifests as improper access control and incorrect permission assignment because the kernel does not enforce audit recording for a privileged function.

Affected Systems

Linux kernel versions that include fchmodat2() but do not yet apply the patch are vulnerable. This includes unpatched kernel 6.6 releases and any distribution shipping that version without the audit update. Kernels that have been upgraded to include the audit fix (e.g., patched 6.6.x releases) are no longer impacted.

Risk and Exploitability

The EPSS score is reported as less than 1 % and the vulnerability is not listed in the CISA KEV catalog, indicating a low probability of widespread exploitation. The CVSS score is 5.5. The flaw can be leveraged by any user who can invoke fchmodat2(), which is a standard system call, creating a post‑exploitation advantage in environments where audit integrity is critical. The lack of audit coverage does not allow remote exploitation, but local privilege escalation or tampering remains possible if the attacker can execute the system call with sufficient privileges.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a Linux kernel update that contains the fchmodat2() audit fix (e.g., upgrade to a patched 6.6.x release).
  • If an immediate kernel upgrade is not feasible, restrict use of the fchmodat2() system call via a seccomp filter or a custom kernel module that blocks the call.
  • Continuously monitor audit logs for unexpected attribute changes and correlate any anomalies with recent system activity.

Generated by OpenCVE AI on May 20, 2026 at 22:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-6238-1 linux security update
Ubuntu USN Ubuntu USN USN-8492-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8492-2 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8497-1 Linux kernel (Low Latency) vulnerabilities
Ubuntu USN Ubuntu USN USN-8498-1 Linux kernel (NVIDIA Tegra) vulnerabilities
Ubuntu USN Ubuntu USN USN-8499-1 Linux kernel (Xilinx) vulnerabilities
Ubuntu USN Ubuntu USN USN-8492-3 Linux kernel (Raspberry Pi Real-time) vulnerabilities
Ubuntu USN Ubuntu USN USN-8492-4 Linux kernel (Raspberry Pi) vulnerabilities
Ubuntu USN Ubuntu USN USN-8492-5 Linux kernel (FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8575-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8576-1 Linux kernel (NVIDIA Tegra) vulnerabilities
Ubuntu USN Ubuntu USN USN-8575-2 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8576-2 Linux kernel (NVIDIA Tegra) vulnerabilities
Ubuntu USN Ubuntu USN USN-8597-1 Linux kernel (IBM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8575-3 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8606-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8607-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8609-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8610-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8619-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-8620-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8620-2 Linux kernel (Azure FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8620-3 Linux kernel (Intel IoTG) vulnerabilities
Ubuntu USN Ubuntu USN USN-8620-4 Linux kernel (Intel IoTG) vulnerabilities
Ubuntu USN Ubuntu USN USN-8668-1 Linux kernel (GCP) vulnerabilities
Ubuntu USN Ubuntu USN USN-8668-2 Linux kernel (Raspberry Pi) vulnerabilities
History
Type Values Removed Values Added
Weaknesses NVD-CWE-noinfo
Metrics cvssV3_1

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

Type Values Removed Values Added
Weaknesses CWE-532
CWE-640
Type Values Removed Values Added
Weaknesses CWE-532
CWE-640
Type Values Removed Values Added
Weaknesses CWE-693
Type Values Removed Values Added
Weaknesses CWE-693
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: audit: add fchmodat2() to change attributes class fchmodat2(), introduced in version 6.6 is currently not in the change attribute class of audit. Calling fchmodat2() to change a file attribute in the same fashion than chmod() or fchmodat() will bypass audit rules such as: -w /tmp/test -p rwa -k test_rwa The current patch adds fchmodat2() to the change attributes class.
Title audit: add fchmodat2() to change attributes class
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
May 11, 2026, 9:57 PM
Reserved
Feb 18, 2026, 2:25 PM
Status
Analyzed
Published
Mar 17, 2026, 10:15 AM
Modified
Jun 17, 2026, 10:03 AM
Severity
Public date
Mar 17, 2026, 12:00 AM