PatchSiren

PatchSiren cyber security CVE debrief

CVE-2024-26870 Linux CVE debrief

CVE-2024-26870 describes a Linux kernel NFSv4.2 bug in listxattr() handling that can reach a kernel BUG in mm/usercopy.c when buffer sizing is mishandled. The published fix adds an ERANGE return when nfs4_listxattr() is called with size > 0 and the required length is greater than the supplied buffer. NVD rates the issue CVSS 5.5/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, reflecting a local availability impact rather than a confidentiality or integrity issue.

Vendor
Linux
Product
Unknown
CVSS
HIGH 7.8
CISA KEV
Not listed in stored evidence
Original CVE published
2024-04-17
Original CVE updated
2026-08-04
Advisory published
2024-04-17
Advisory updated
2026-08-04

Who should care

Linux kernel maintainers, distro security teams, and operators of systems that mount or serve NFSv4.2 filesystems should care most. Security teams should also prioritize this for environments where authenticated local users can run listxattr() against affected NFS paths.

Technical summary

The vulnerability is in NFSv4.2 xattr enumeration. Per the CVE description, listxattr() is expected to return the needed buffer size when called with size = 0, and to fail cleanly when a nonzero buffer is too small. In the affected path, generic_listxattr() or nfs4_listxattr_nfs4_label() may consume all available bytes, leaving nfs4_listxattr_nfs4_user() to be called with size already reduced to 0. That path can trip a kernel BUG in usercopy checking. The fix is to detect the overrun condition in nfs4_listxattr() and return ERANGE instead of continuing into the faulty path.

Defensive priority

Medium. This is a local, authenticated denial-of-service issue with high availability impact, but it does not indicate data exposure or code execution in the supplied record.

Recommended defensive actions

  • Patch Linux kernels to versions that include the upstream fix for CVE-2024-26870.
  • Confirm whether any systems use affected Linux kernel ranges listed by NVD, especially kernels prior to 5.10.214, 5.15.153, 6.1.83, 6.6.23, 6.7.11, and 6.8.2.
  • Pay extra attention to systems using NFSv4.2 and workloads that call listxattr() on mounted NFS paths.
  • Review vendor advisories and backports for your distribution, since NVD also lists affected Debian Linux 10.0 and kernel backport coverage may vary.
  • If patching must be deferred, reduce exposure by limiting which local users can run workloads against affected NFS mounts until updates are applied.

Evidence notes

The CVE was published on 2024-04-17 and later modified on 2026-05-12 in NVD. The supplied description states that calling listxattr() with size > 0 can trigger a kernel BUG when the xattr length calculation leaves no room for the next NFSv4.2 user-label path. It also states that the fix is to return ERANGE when the needed size exceeds the supplied buffer. NVD references multiple kernel patch commits and marks affected Linux kernel ranges ending before 5.10.214, 5.15.153, 6.1.83, 6.6.23, 6.7.11, and 6.8.2.

Sources and references

Verified primary and authoritative sources

  • CVE-2024-26870 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2024-26870

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

  • CVE-2024-26870 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2024-26870

    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/06e828b3f1b206de08ef520fc46a40b22e1869cb

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

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/23bfecb4d852751d5e403557dd500bb563313baf

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

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/251a658bbfceafb4d58c76b77682c8bf7bcfad65

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

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/4403438eaca6e91f02d272211c4d6b045092396b

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

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/79cdcc765969d23f4e3d6ea115660c3333498768

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

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/80365c9f96015bbf048fdd6c8705d3f8770132bf

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

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/9d52865ff28245fc2134da9f99baff603a24407a

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

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.