ZeroHour

CVE-2026-89609

niche

Missing-lock race in Linux kernel eCryptfs daemon queue cleanup

CVSS 3.1
7.8 high
EPSS
Published
()
Modified
AI analysis

The Linux kernel's eCryptfs subsystem contains a race condition in which ecryptfs_exorcise_daemon(), the routine that cleans up after a dying eCryptfs userspace daemon, moves queued message contexts back to the free list without holding the required ecryptfs_msg_ctx_lists_mux lock. Because ecryptfs_msg_ctx_alloc_to_free() expects that lock to be held, concurrent access to the global message-context list by other kernel threads can race with the cleanup, potentially corrupting the list or the freed contexts (use-after-free style memory corruption). Triggering the flaw requires local access with low privileges on a system actively using the eCryptfs daemon messaging interface, and successful exploitation could yield high impact to confidentiality, integrity, and availability (CVSS 3.1: 7.8). Primarily affected are Linux systems running kernels with the vulnerable eCryptfs code while the eCryptfs daemon (ecryptfsd) messaging path is in use — a configuration that is increasingly rare since major distributions deprecated eCryptfs home-directory encryption. No public proof of concept is known, the flaw is not in the CISA KEV catalog, and there is no indication of exploitation in the wild.

What to do: Apply Linux kernel updates from your distribution once they include the eCryptfs fixing commit that takes the message-context list lock during daemon exorcism. On systems that do not use eCryptfs, ensure the ecryptfs kernel module is not loaded and the ecryptfsd daemon is not running to eliminate the vulnerable code path. Legacy encrypted-home deployments should plan migration to a supported mechanism such as fscrypt or full-disk encryption (LUKS).

Affected
Linux kernel (eCryptfs subsystem)
Estimated exposure
nichelikely low tens of thousands of systems at most, plausibly far fewer — The vulnerable path requires the eCryptfs userspace daemon messaging interface, which has been deprecated and removed from default configurations in major distributions (e.g., Ubuntu dropped eCryptfs home-directory encryption), so only…

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: hold msg ctx list lock when cleaning daemon queue ecryptfs_exorcise_daemon() drops queued messages from a dying daemon without holding ecryptfs_msg_ctx_lists_mux, but ecryptfs_msg_ctx_alloc_to_free() requires that lock. Take the list lock while moving the queued contexts back to the free list to avoid racing with other global msg ctx list users.

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.