CVE-2025-68183

Description

A flaw was found in the Linux kernel's Integrity Measurement Architecture (IMA) subsystem. When modifying non-IMA extended attributes, such as security labels or access control lists on a file, the kernel inadvertently clears an internal digital signature flag. A local user can exploit this behavior during file attribute operations to cause the kernel to overwrite an existing digital signature with a basic cryptographic digest upon file closure. This weakens file integrity appraisal guarantees by reducing signature verification to basic hash validation.

Statement

In IMA and EVM fix mode, changing a non IMA security xattr or an ACL could incorrectly clear the cached IMA_DIGSIG state. On file close this can replace a valid security.ima signature with a locally generated file hash, weakening the intended signature based integrity reference. For the CVSS the PR:H base value reflects that modifying protected system files and security xattrs normally requires administrative authority. For the CVSS the PR:L paranoid value covers delegated services, containers, or file owners that can repeatedly reach an allowed ACL or xattr path. There is no evidence of memory corruption, information disclosure, arbitrary code execution, or a direct availability impact, but the integrity protection downgrade requires environment specific review.

Mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score5.5N/A7.8
Attack VectorLocalN/ALocal
Attack ComplexityLowN/ALow
Privileges RequiredLowN/ALow
User InteractionNoneN/ANone
ScopeUnchangedN/AUnchanged
ConfidentialityNoneN/AHigh
Integrity ImpactNoneN/AHigh
Availability ImpactHighN/AHigh

Vector

Red Hat: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

cve.org: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Understanding the Weakness (CWE)

Integrity,Other

Technical Impact: Modify Application Data; Other

Integrity checks usually use a secret key that helps authenticate the data origin. Skipping integrity checking generally opens up the possibility that new data from an invalid source can be injected.

Integrity,Other

Technical Impact: Other

Data that is parsed and used may be corrupted.

Non-Repudiation,Other

Technical Impact: Hide Activities; Other

Without a checksum check, it is impossible to determine if any changes have been made to the data after it was sent.

Frequently Asked Questions

Want to get errata notifications? Sign up here.