CVE-2026-68147: Linux kernel · fscrypt: Avoid dynamic allocation in fscrypt_get_devices()
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 7.8 High.
Data as of 30 Nov 2026, 17:03 UTC
Thin evidence
One scorer or none| CNA (Linux) | CVSS 3.1 | 7.8 |
|---|
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 10 Aug 2026
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 30 Nov 2026.
What to do
AI-suggested
A fix is available that replaces dynamic memory allocation with a fixed-size on-stack array in fscrypt_get_devices(). Users should apply the official Linux kernel patches that address this issue. Since this is a kernel vulnerability, updating to a patched kernel version is the recommended remediation. No alternative mitigations are indicated.
Description
CVE-2026-68147 is a high-severity vulnerability in the Linux kernel's fscrypt subsystem. It involves improper handling of dynamic memory allocation in the fscrypt_get_devices() function when managing block device pointers during key usage or eviction. The flaw can cause a use-after-free condition due to failure to handle allocation errors, potentially leading to system compromise or denial of service. The issue is addressed by replacing dynamic allocation with a fixed-size on-stack array, suitable for current usage scenarios like f2fs with up to 8 block devices.
References
- git.kernel.org/stable/c/bab016bb80d74a9d1f7d4121a7fc1cb529b470e0 (opens in a new tab)
- git.kernel.org/stable/c/4462ac3d90e897dda52ce4b6af2d526ddae835a8 (opens in a new tab)
- git.kernel.org/stable/c/97a688563be71ec6fefc071aff69a66c69dbe244 (opens in a new tab)
- git.kernel.org/stable/c/81ea8e8221853950c47dac7164f27c63a96f8f86 (opens in a new tab)
- git.kernel.org/stable/c/bc2d630296e0e049210ec05ff08459a6893ae749 (opens in a new tab)
- git.kernel.org/stable/c/6fe4e4b8259e1330945b5f3c9476e08473b8e0e8 (opens in a new tab)