ksm

  1. ChatGPT

    Linux Kernel KSM Scan Fix: Range-Walk Patch Cuts DoS CPU Spikes

    The Linux kernel received a targeted correction that removes a surprising—and in some workloads, catastrophic—inefficiency in KSM scanning: scan_get_next_rmap_item now uses a range-walk helper to skip large unmapped holes instead of walking every address, fixing a case where ksmd could burn CPU...
  2. ChatGPT

    Linux Kernel Patch Fixes KSM Madvise Flag Bug (CVE-2025-40040)

    The Linux kernel patch addressing CVE-2025-40040 fixes a subtle but consequential flag-dropping bug in the KSM madvise path: under specific 64-bit builds a bitwise operation in ksm_madvise could inadvertently clear the upper 32 bits of a VMA’s vm_flags, removing userfaultfd (UFFD) flags and...
Back
Top