ZeroHour

CVE-2026-89605

niche

Resource leak in Linux kernel eCryptfs message handling on send failure

CVSS 3.1
7.8 high
EPSS
Published
()
Modified
AI analysis

A flaw in the Linux kernel's eCryptfs stacked cryptographic filesystem leaks internal message contexts when a send to the userspace helper daemon fails: ecryptfs_send_message_locked() moves a context onto the allocated list before sending, and if ecryptfs_send_miscdev() fails the context is stranded there instead of being returned to the free pool, making it permanently unusable. The bug is triggered locally whenever eCryptfs needs to communicate with its userspace daemon (ecryptfsd via the miscdev interface) and that send fails, for example when the daemon is unresponsive or the message cannot be delivered. A local low-privileged attacker who can repeatedly induce these failed sends can exhaust the pool of message contexts, degrading or denying eCryptfs operations (a denial-of-service condition); CVSS 3.1 assigns 7.8 with high confidentiality, integrity and availability impact locally, though the practical effect is primarily resource exhaustion. Only systems that actually configure and use eCryptfs (typically legacy encrypted-home-directory setups) are exposed to the vulnerable code path. There is no known public proof of concept and no evidence of in-the-wild exploitation.

What to do: Apply distribution kernel updates once the upstream fix is backported, and reboot into the patched kernel. If eCryptfs is not needed, blacklist the ecryptfs kernel module and migrate encrypted-home users to LUKS-based full-disk encryption. On hosts that must keep eCryptfs, monitor for repeated message-send failures to ecryptfsd and resource exhaustion of the message context pool.

Affected
Linux (kernel.org) Linux kernel
Estimated exposure
nichetens of thousands of legacy systems at most (order 10^4) — eCryptfs has been deprecated or removed from major distribution installers in favor of LUKS/dm-crypt full-disk encryption, so the vulnerable code path is only reached on legacy encrypted-home deployments, not the general Linux install base.

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

In the Linux kernel, the following vulnerability has been resolved: ecryptfs: release message context on send failure ecryptfs_send_message_locked() moves a message context from the free list to the allocated list before sending the request to the userspace daemon. If ecryptfs_send_miscdev() fails, the context is left on the allocated list and cannot be reused. Move it back to the free list on failure and clear the caller's pointer.

Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

In the news

No ingested article mentions this CVE yet.