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 Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 3.3 | 7.8 | N/A |
| Attack Vector | Local | Local | N/A |
| Attack Complexity | Low | Low | N/A |
| Privileges Required | Low | Low | N/A |
| User Interaction | None | None | N/A |
| Scope | Unchanged | Unchanged | N/A |
| Confidentiality | None | High | N/A |
| Integrity Impact | None | High | N/A |
| Availability Impact | Low | High | N/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
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.