Skip to main content
EPSS 0.2%top 95%

In the Linux kernel, the following vulnerability has been resolved: ext4: avoid potential buffer over-read in parse_apply_sb_mount_options() Unlike… (CVE-2025-40198)

0
High
Published: 11/13/2025 (11/13/2025, 00:30:18 UTC)
Source: GCVE Database

Description

A high-severity vulnerability in the Linux kernel's ext4 filesystem code involving a potential buffer over-read in the parse_apply_sb_mount_options() function has been resolved. The issue arises because the s_mount_opts string in the ext4 superblock was assumed to be NUL terminated by tune2fs, but this assumption was hardened to treat s_mount_opts as a potential non-string to avoid over-read. This vulnerability could impact confidentiality, integrity, and availability of the system. No known exploits are reported in the wild. No specific affected versions are provided. Patch status is not confirmed in the provided data.

CVSS v3.1

Score 7.8high

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

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/30/2026, 17:22:50 UTC

Technical Analysis

The Linux kernel ext4 filesystem contained a vulnerability (CVE-2025-40198) where the parse_apply_sb_mount_options() function could potentially perform a buffer over-read due to assumptions about the NUL termination of the s_mount_opts string in the superblock. The fix hardens this function by treating s_mount_opts as a potential non-string, preventing over-read conditions. This vulnerability has been resolved in the Linux kernel, but no explicit affected versions or patch details are provided in the input data.

Potential Impact

The vulnerability allows a potential buffer over-read, which can lead to unauthorized disclosure of memory contents (confidentiality impact), possible corruption of data or control flow (integrity impact), and system instability or crashes (availability impact). The CVSS vector indicates local attack vector with low complexity, no privileges required, user interaction required, unchanged scope, and high impact on confidentiality, integrity, and availability. No known exploits are reported in the wild.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the vulnerability is resolved in the Linux kernel, applying the official kernel updates when available is recommended. No vendor advisory or patch links are provided in the input data, so monitoring official Linux kernel security advisories is advised.

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-w7vv-57v2-cqgf
Osv Schema Version
1.4.0
Aliases
["CVE-2025-40198"]
Database Specific Severity
HIGH
Cvss Version
3.1

Threat ID: 6a6b72d59c2644c7f8479f56

Added to database: 07/30/2026, 15:50:45 UTC

Last enriched: 07/30/2026, 17:22:50 UTC

Last updated: 09/10/2026, 19:26:54 UTC

Views: 9

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