CVE Database›CVE-2025-71123

CVE-2025-71123

kernel: ext4: fix string copying in parse_apply_sb_mount_options()

Loading…

Severity

Low

Red Hat Product Security

3.3

CVSS 3.1

Review impact separately from score.

Published · January 14, 2026

Updated · June 28, 2026

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.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 3.3
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

CWE-170 · Improper Null Termination