In the Linux kernel, the following vulnerability has been resolved: ima: fix out-of-bounds read in xattr_verify() The digest-length check in… (CVE-2026-74671)
A vulnerability in the Linux kernel's IMA subsystem involves an out-of-bounds read in the xattr_verify() function due to improper handling of digest-length checks. The issue arises from mixing signed and unsigned integer types in length comparisons, causing underflow and allowing a memory read beyond the allocated buffer. This flaw can lead to reading invalid memory, potentially affecting system integrity verification processes.
AI Analysis
Technical Summary
The Linux kernel vulnerability CVE-2026-74671 is an out-of-bounds read in the IMA subsystem's xattr_verify() function. The root cause is a digest-length check that mixes signed int and size_t types, leading to an unsigned underflow when processing truncated extended attributes (xattr). Specifically, when xattr_len is small (e.g., 1), the arithmetic underflows and the check incorrectly passes, causing memcmp() to read beyond the allocated buffer size. The vulnerability stems from the lack of clamping xattr_len to a safe range before the check. The fix involves rewriting the comparison to use only signed int operands, preventing implicit unsigned conversions and underflow.
Potential Impact
This vulnerability allows an out-of-bounds read in kernel memory during integrity measurement verification, which could lead to information disclosure or system instability. However, no known exploits are reported in the wild. The impact is limited to the IMA subsystem's handling of extended attributes related to security measurements.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should monitor vendor communications for updates. No specific workaround is provided in the available data.
In the Linux kernel, the following vulnerability has been resolved: ima: fix out-of-bounds read in xattr_verify() The digest-length check in… (CVE-2026-74671)
Description
A vulnerability in the Linux kernel's IMA subsystem involves an out-of-bounds read in the xattr_verify() function due to improper handling of digest-length checks. The issue arises from mixing signed and unsigned integer types in length comparisons, causing underflow and allowing a memory read beyond the allocated buffer. This flaw can lead to reading invalid memory, potentially affecting system integrity verification processes.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel vulnerability CVE-2026-74671 is an out-of-bounds read in the IMA subsystem's xattr_verify() function. The root cause is a digest-length check that mixes signed int and size_t types, leading to an unsigned underflow when processing truncated extended attributes (xattr). Specifically, when xattr_len is small (e.g., 1), the arithmetic underflows and the check incorrectly passes, causing memcmp() to read beyond the allocated buffer size. The vulnerability stems from the lack of clamping xattr_len to a safe range before the check. The fix involves rewriting the comparison to use only signed int operands, preventing implicit unsigned conversions and underflow.
Potential Impact
This vulnerability allows an out-of-bounds read in kernel memory during integrity measurement verification, which could lead to information disclosure or system instability. However, no known exploits are reported in the wild. The impact is limited to the IMA subsystem's handling of extended attributes related to security measurements.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should monitor vendor communications for updates. No specific workaround is provided in the available data.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-g8m3-q9h2-qp8g
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-74671"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a8a27f1acd9273b499bc7c0
Added to database: 08/22/2026, 22:51:29 UTC
Last enriched: 08/23/2026, 00:09:19 UTC
Last updated: 08/23/2026, 01:12:07 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.