CVE-2025-71123
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-71123 is a buffer overflow vulnerability in the Linux kernel's ext4 filesystem mount option parsing code, specifically in the parse_apply_sb_mount_options() function in fs/ext4/super.c. The flaw arises from improper use of strscpy_pad() to copy a non-NUL-terminated string into a NUL-terminated buffer, triggering a kernel fortify buffer overflow warning and potential kernel panic. It was published on January 14, 2026, and affects multiple stable Linux kernel versions. The CVSS v3.1 base score is 7.8 (High) (Feedly, kernel.org patches).

Technical details

The root cause is an incorrect string copy operation in parse_apply_sb_mount_options() (fs/ext4/super.c:2504): strscpy_pad() is called to copy the s_mount_opts superblock field — which may not be NUL-terminated — into a destination buffer that could be larger than the source. The kernel's fortify-string infrastructure detects this as a buffer overflow (strnlen: detected buffer overflow: 65 byte read of buffer size 64) and triggers __fortify_panic, causing a kernel panic. Exploitation requires a local attacker with low privileges to mount a crafted ext4 filesystem image with a non-NUL-terminated s_mount_opts field (up to 64 bytes). The vulnerability was discovered by the Linux Verification Center (linuxtesting.org) using Syzkaller fuzzing (Feedly).

Impact

A local attacker with low privileges can trigger a kernel panic (denial of service) by mounting a specially crafted ext4 filesystem with a malformed, non-NUL-terminated s_mount_opts field. The CVSS assessment rates confidentiality, integrity, and availability impacts all as High, indicating potential for information disclosure or arbitrary code execution in kernel context beyond the confirmed denial-of-service scenario, though the primary confirmed impact is a kernel panic (Feedly).

Indicators of compromise

  • Logs: Kernel log entries containing strnlen: detected buffer overflow: 65 byte read of buffer size 64 or WARNING: CPU: X PID: XXXXX at lib/string_helpers.c:1032 __fortify_report during ext4 mount operations.
  • Logs: Kernel panic or oops traces referencing the call chain: __fortify_panicstrnlensized_strscpyparse_apply_sb_mount_optionsext4_fill_superget_tree_bdev_flagsvfs_get_treepath_mount.
  • Process: Unexpected termination or crash of processes attempting to mount ext4 filesystems, particularly with unusual or oversized mount option strings.

Mitigation and workarounds

Apply the available kernel patches for the affected stable branches. Fixed versions include: 5.10.248+, 6.1.160+, 6.6.120+, 6.12.64+, 6.18.3+, and 6.17.4+ (mainline). Patch commits are available at git.kernel.org with hashes 52ac96c4, 5bbacbbf, 6e371435, 902ca235, db9ee13f, and ee5a977b. As a workaround, restrict local user access to mount operations and avoid mounting untrusted ext4 filesystem images (Feedly, kernel.org patches).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-64557NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-selftests-internal
NoNoJul 29, 2026
CVE-2026-64556NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-devel
NoNoJul 29, 2026
CVE-2026-64555NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoNoJul 27, 2026
CVE-2026-64554NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.14
NoYesJul 27, 2026
CVE-2026-64553NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-internal
NoYesJul 27, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management