CVE-2025-40295: Linux kernel · fscrypt: fix left shift underflow when inode->i_blkbits > PAGE_SHIFT
Source GCVE Database
Not known to be exploited.
Data as of 25 Nov 2026, 21:38 UTC
Rated Low by Threat Radar's AI analysis · No CVSS score from NVD or the CNA
Exploitation evidence
Disclosed: evidence found.
CVE published 8 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 25 Nov 2026.
What to do
AI-suggested
A fix has been implemented in the Linux kernel to correct the left shift underflow in fscrypt when inode->i_blkbits exceeds PAGE_SHIFT. Users should update to a kernel version that includes this fix. No additional mitigation is required beyond applying the official patch.
Description
A vulnerability in the Linux kernel fscrypt subsystem caused a left shift underflow when inode->i_blkbits was greater than PAGE_SHIFT. This issue triggered a UBSAN warning and an error trace during boot when simulating an NVMe device with 8 KiB logical and physical block sizes. The problem arises from a negative shift count due to inode block size bits exceeding PAGE_SHIFT, which can occur with certain block device configurations and transparent hugepage settings.