Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.1%top 95%

Linux hwe edge: In the Linux kernel, the following vulnerability has been resolved: ima: Fix stack-out-of-bounds in is_bprm_creds_for_exec() KASAN reported a… (CVE-2025-71306)

0
High
Published: 05/27/2026 (05/27/2026, 14:16:00 UTC)
Source: GCVE Database
Product: linux-hwe-edge

Description

In the Linux kernel, the following vulnerability has been resolved: ima: Fix stack-out-of-bounds in is_bprm_creds_for_exec() KASAN reported a stack-out-of-bounds access in ima_appraise_measurement from is_bprm_creds_for_exec: BUG: KASAN: stack-out-of-bounds in ima_appraise_measurement+0x12dc/0x16a0 Read of size 1 at addr ffffc9000160f940 by task sudo/550 The buggy address belongs to stack of task sudo/550 and is located at offset 24 in frame: ima_appraise_measurement+0x0/0x16a0 This frame has 2 objects: [48, 56) 'file' [80, 148) 'hash' This is caused by using container_of on the *file pointer. This offset calculation is what triggers the stack-out-of-bounds error. In order to fix this, pass in a bprm_is_check boolean which can be set depending on how process_measurement is called. If the caller has a linux_binprm pointer and the function is BPRM_CHECK we can determine is_check and set it then. Otherwise set it to false.

CVSS v3.1

Score 7.1high

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/26/2026, 22:51:57 UTC

Technical Analysis

The Linux kernel's Integrity Measurement Architecture (IMA) had a stack-out-of-bounds vulnerability in the is_bprm_creds_for_exec() function, triggered by improper use of container_of on a file pointer leading to incorrect offset calculation. Kernel Address Sanitizer (KASAN) detected this out-of-bounds read during the ima_appraise_measurement call. The vulnerability was addressed by introducing a bprm_is_check boolean parameter to correctly determine the context and avoid the erroneous offset calculation. This vulnerability is tracked as CVE-2025-71306 and classified under CWE-125 (Out-of-bounds Read).

Potential Impact

The vulnerability allows a local attacker with limited privileges to cause a stack-out-of-bounds read, which can lead to denial of service and potentially expose sensitive kernel memory contents. The CVSS vector indicates high confidentiality and availability impact but no integrity impact. There are no known exploits in the wild as of the published date.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official patch links are provided in the current data. Users should monitor Linux kernel updates for an official fix addressing CVE-2025-71306 and apply it once available.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-cw2f-qvgg-223g
Osv Schema Version
1.4.0
Aliases
["CVE-2025-71306"]
Ecosystems
[]
Database Specific Severity
HIGH
Cvss Version
3.1

Threat ID: 6a3ef7f227e9c79719036e3d

Added to database: 06/26/2026, 22:06:42 UTC

Last enriched: 06/26/2026, 22:51:57 UTC

Last updated: 07/31/2026, 19:22:56 UTC

Views: 81

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses