CVE-2026-74671

Description

A flaw was found in the Linux kernel's Integrity Measurement Architecture (IMA) subsystem. The xattr_verify() function, which verifies extended attributes, incorrectly mixes int and size_t data types in its digest-length check. This can lead to an integer underflow when processing a truncated extended attribute, bypassing a bounds check. As a result, a memory comparison operation reads beyond the allocated buffer, causing an out-of-bounds read that could lead to information disclosure or system instability.

Statement

An out-of-bounds read in IMA xattr_verify can occur because a digest length check mixes signed int values with size_t from sizeof. A truncated security.ima xattr can make the subtraction underflow to a large unsigned value, bypassing the bounds check and letting memcmp read past the buffer returned by vfs_getxattr_alloc. For the CVSS the PR:L is used for the paranoid score because a local low privileged actor may be able to trigger appraisal of a crafted file if malformed security.ima metadata is already present or can be introduced through a delegated restore, image import, removable media, or writable trusted path. Typical creation of security.ima still requires administrative control, so the base score uses PR:H. The issue is not directly network reachable. Impact is at least a local denial of service risk and in worst case may allow limited confidentiality or integrity impact due to an OOB read in integrity appraisal logic.

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).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score5.5N/AN/A
Attack VectorLocalN/AN/A
Attack ComplexityLowN/AN/A
Privileges RequiredLowN/AN/A
User InteractionNoneN/AN/A
ScopeUnchangedN/AN/A
ConfidentialityNoneN/AN/A
Integrity ImpactNoneN/AN/A
Availability ImpactHighN/AN/A

Vector

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

Understanding the Weakness (CWE)

Confidentiality

Technical Impact: Read Memory

An attacker could get secret values such as cryptographic keys, PII, memory addresses, or other information that could be used in additional attacks.

Confidentiality

Technical Impact: Bypass Protection Mechanism

Out-of-bounds memory could contain memory addresses or other information that can be used to bypass ASLR and other protection mechanisms in order to improve the reliability of exploiting a separate weakness for code execution.

Availability

Technical Impact: DoS: Crash, Exit, or Restart

An attacker could cause a segmentation fault or crash by causing memory to be read outside of the bounds of the buffer. This is especially likely when the code reads a variable amount of data and assumes that a sentinel exists to stop the read operation, such as a NUL in a string.

Other

Technical Impact: Varies by Context

The read operation could produce other undefined or unexpected results.

Frequently Asked Questions

Want to get errata notifications? Sign up here.