In the Linux kernel, the following vulnerability has been resolved: ceph: fix UAF in check_new_map() on session freed during unlock check_new_map()… (CVE-2026-89654)
A use-after-free (UAF) vulnerability in the Linux kernel's Ceph component was resolved. The flaw occurs in the check_new_map() function when a session is freed during an unlock operation, leading to potential access of freed memory. This happens because certain code paths do not properly take a reference on the session object before releasing a mutex, allowing another thread to free the session while it is still in use. The fix adds proper reference counting around mutex unlock and lock operations to prevent the UAF condition.
AI Analysis
Technical Summary
The vulnerability in the Linux kernel Ceph subsystem involves a use-after-free in check_new_map() due to missing reference counting on session objects during mutex unlock sequences. Specifically, three code paths (address changed, reconnect, active transition) fail to take a reference on the session before releasing the mdsc->mutex, unlike the forced-close path which correctly does so. This allows a race condition where another thread can unregister and free the session while the original thread still accesses its mutex, leading to use-after-free. The patch adds ceph_get_mds_session() before each mutex_unlock and ceph_put_mds_session() after the corresponding mutex_lock to ensure proper reference management and prevent the UAF.
Potential Impact
The vulnerability can cause the kernel to access freed memory, which may lead to system instability, crashes, or potential escalation of privileges depending on exploitation context. However, no known exploits in the wild have been reported. The impact is limited to systems running the affected Linux kernel with Ceph enabled and using the affected code paths.
Mitigation Recommendations
A fix has been implemented that adds proper reference counting around mutex unlock and lock operations in the affected code paths. Users should apply the official Linux kernel patches that address CVE-2026-89654 to remediate this vulnerability. Patch status is not explicitly confirmed in the provided data; users should consult the Linux kernel vendor advisory or source repositories for the latest patched versions and apply updates accordingly.
In the Linux kernel, the following vulnerability has been resolved: ceph: fix UAF in check_new_map() on session freed during unlock check_new_map()… (CVE-2026-89654)
Description
A use-after-free (UAF) vulnerability in the Linux kernel's Ceph component was resolved. The flaw occurs in the check_new_map() function when a session is freed during an unlock operation, leading to potential access of freed memory. This happens because certain code paths do not properly take a reference on the session object before releasing a mutex, allowing another thread to free the session while it is still in use. The fix adds proper reference counting around mutex unlock and lock operations to prevent the UAF condition.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel Ceph subsystem involves a use-after-free in check_new_map() due to missing reference counting on session objects during mutex unlock sequences. Specifically, three code paths (address changed, reconnect, active transition) fail to take a reference on the session before releasing the mdsc->mutex, unlike the forced-close path which correctly does so. This allows a race condition where another thread can unregister and free the session while the original thread still accesses its mutex, leading to use-after-free. The patch adds ceph_get_mds_session() before each mutex_unlock and ceph_put_mds_session() after the corresponding mutex_lock to ensure proper reference management and prevent the UAF.
Potential Impact
The vulnerability can cause the kernel to access freed memory, which may lead to system instability, crashes, or potential escalation of privileges depending on exploitation context. However, no known exploits in the wild have been reported. The impact is limited to systems running the affected Linux kernel with Ceph enabled and using the affected code paths.
Mitigation Recommendations
A fix has been implemented that adds proper reference counting around mutex unlock and lock operations in the affected code paths. Users should apply the official Linux kernel patches that address CVE-2026-89654 to remediate this vulnerability. Patch status is not explicitly confirmed in the provided data; users should consult the Linux kernel vendor advisory or source repositories for the latest patched versions and apply updates accordingly.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-hwg3-wmfr-8q53
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-89654"]
Threat ID: 6aa4a00455bf5e2cf5a8662b
Added to database: 09/12/2026, 00:42:44 UTC
Last enriched: 09/12/2026, 00:57:30 UTC
Last updated: 09/12/2026, 00:57:30 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.