CWE data temporarily unavailableCWE data is currently experiencing intermittent outages, which may cause incomplete section loading on CVE pages. We are actively working on a fix.

CVE-2025-71123

Description

A buffer overflow warning was found in the Linux kernel's ext4 filesystem. In parse_apply_sb_mount_options(), strscpy_pad() is incorrectly used to copy a potentially non-NUL-terminated string (s_mount_opts from superblock) into a NUL-terminated buffer. When the source string lacks NUL termination, FORTIFY_SOURCE detects a buffer overflow as strnlen reads 65 bytes from a 64-byte buffer.

Statement

This vulnerability was discovered by syzkaller and affects ext4 filesystem mount operations when the superblock contains improperly formatted mount options. The FORTIFY_SOURCE mechanism detects and reports the overflow, generating a kernel warning. The issue can be triggered by mounting a specially crafted ext4 filesystem image.

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 Score3.37.8N/A
Attack VectorLocalLocalN/A
Attack ComplexityLowLowN/A
Privileges RequiredLowLowN/A
User InteractionNoneNoneN/A
ScopeUnchangedUnchangedN/A
ConfidentialityNoneHighN/A
Integrity ImpactNoneHighN/A
Availability ImpactLowHighN/A

Vector

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

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

Frequently Asked Questions

Want to get errata notifications? Sign up here.