PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-63950 Linux CVE debrief

A vulnerability was found in the Linux kernel's memory management subsystem, specifically in the try_to_unmap_one function. The bug occurs due to the improper initialization of the nr_pages variable, which can lead to potential refcount/mapcount corruption when a 64K large folio is mmaped with MAP_ANONYMOUS | MAP_DROPPABLE, and then madvise(MADV_FREE) is called, followed by making the last page device-exclusive via HMM_DMIRROR_EXCLUSIVE. This issue was resolved by initializing nr_pages to 1 at the start of each loop iteration in try_to_unmap_one. The vulnerability was introduced by lazyfree folio batching, and device-exclusive only works for anonymous folios. Linux kernel developers, maintainers, and users who rely on the Linux kernel for their systems should be aware of this issue and take necessary actions.

Vendor
Linux
Product
Unknown
CVSS
HIGH 7.8
CISA KEV
Not listed in stored evidence
Original CVE published
2026-07-19
Original CVE updated
2026-07-27
Advisory published
2026-07-19
Advisory updated
2026-07-27

Who should care

Linux kernel developers, maintainers, and users who rely on the Linux kernel for their systems should be aware of this issue and take necessary actions to apply the official patch and review the patched Linux kernel version.

Technical summary

The vulnerability is caused by the improper initialization of the nr_pages variable in the try_to_unmap_one function. This can lead to refcount/mapcount corruption when a 64K large folio is mmaped with MAP_ANONYMOUS | MAP_DROPPABLE, and then madvise(MADV_FREE) is called, followed by making the last page device-exclusive via HMM_DMIRROR_EXCLUSIVE. The bug was introduced by lazyfree folio batching, and device-exclusive only works for anonymous folios. The issue was resolved by initializing nr_pages to 1 at the start of each loop iteration in try_to_unmap_one.

Defensive priority

High

Recommended defensive actions

  • Apply the official patch to initialize nr_pages to 1 at loop start in try_to_unmap_one
  • Review and test the patched Linux kernel version
  • Monitor system logs for potential issues related to folio_referenced_one and try_to_unmap_one
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.
  • Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance.
  • Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed.
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review.

Evidence notes

The vulnerability was resolved by initializing nr_pages to 1 at the start of each loop iteration in try_to_unmap_one. The bug was introduced by lazyfree folio batching, and device-exclusive only works for anonymous folios. The userspace visible effect is simply kernel crashing somewhere due to refcount/mapcount corruption. The source confidence is limited, and defenders should verify the patched Linux kernel version.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-63950 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-63950

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

  • CVE-2026-63950 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-63950

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

Supplemental references

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/0fcc34d0d8fefca4fea349e45c10e3a3d90350eb

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

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/3f8968e9cbf95d5d87d32218906cab0b9b9eddbe

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

  • Source reference

    Unverified legacy reference

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

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

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.