PatchSiren

PatchSiren cyber security CVE debrief

CVE-2025-71123 Linux CVE debrief

A buffer overflow vulnerability was found in the Linux kernel's ext4 filesystem implementation. The vulnerability occurs in the parse_apply_sb_mount_options() function, where a string copying operation using strscpy_pad() can overflow a 64-byte buffer if the user provides a non-NUL-terminated string longer than 63 characters. This can lead to a buffer overflow warning and potential memory corruption.

Vendor
Linux
Product
Unknown
CVSS
MEDIUM 5.5
CISA KEV
Not listed in stored evidence
Original CVE published
2026-07-14
Original CVE updated
2026-07-28
Advisory published
2026-07-14
Advisory updated
2026-07-28

Who should care

System administrators and users of Linux-based systems, particularly those using ext4 filesystem, should be aware of this vulnerability. Applying the provided patches or updating to a fixed kernel version is recommended to prevent potential exploitation.

Technical summary

The vulnerability is caused by the use of strscpy_pad() to copy a non-NUL-terminated string into a NUL-terminated string of possibly larger size. The function parse_apply_sb_mount_options() in fs/ext4/super.c uses a 64-byte buffer to store the s_mount_opts field, which is expected to be at most 63 characters long with a NUL terminator. If a longer non-NUL-terminated string is provided, strscpy_pad() can overflow the buffer, leading to a buffer overflow warning. The fix is to use a 64-byte buffer that matches the size of s_mount_opts and return an error if the user provides a non-NUL-terminated string.

Defensive priority

High

Recommended defensive actions

  • Apply patches provided by the Linux kernel maintainers
  • Update to a fixed kernel version
  • Monitor system logs for buffer overflow warnings
  • Restrict user input to prevent non-NUL-terminated strings
  • Implement compensating controls, such as SELinux or AppArmor, to limit the impact of potential exploitation

Evidence notes

The vulnerability was found by the Linux Verification Center (linuxtesting.org) with Syzkaller. The CVE record was published on 2026-01-14T15:16:02.000Z and last modified on 2026-07-14T13:18:03.980Z. The NVD entry is currently Modified.

Sources and references

Verified primary and authoritative sources

  • CVE-2025-71123 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2025-71123

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2025-71123 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2025-71123

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/52ac96c4a2dd7bc47666000440b0602d9742e820

    416baaa9-dc9f-4396-8d5f-8c081fb06d67 - Patch

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/5bbacbbf1ca4419861dca3c6b82707c10e9c021c

    416baaa9-dc9f-4396-8d5f-8c081fb06d67 - Patch

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/6e37143560e37869d51b7d9e0ac61fc48895f8a0

    416baaa9-dc9f-4396-8d5f-8c081fb06d67 - Patch

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/902ca2356f1e3ec5355c5808ad5d3f9d0095b0cc

    416baaa9-dc9f-4396-8d5f-8c081fb06d67 - Patch

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/db9ee13fab0267eccf6544ee35b16c9522db9aac

    416baaa9-dc9f-4396-8d5f-8c081fb06d67 - Patch

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/ee5a977b4e771cc181f39d504426dbd31ed701cc

    416baaa9-dc9f-4396-8d5f-8c081fb06d67 - Patch

  • Source reference

    Unverified legacy reference

    URL: https://cert-portal.siemens.com/productcert/html/ssa-019113.html

    0b142b55-0307-4c5a-b3c9-f314f3fb7c5e

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.