A vulnerability was found in Linux Kernel up to 6.6.113/6.12.54/6.17.2. It has been rated as critical. Impacted is the function userfaultfd_release_all of the component ksm. Performing manipulation results in denial of service.

This vulnerability is known as CVE-2025-40040. Access to the local network is required for this attack. No exploit is available.

Upgrading the affected component is advised.