SocWatch

CVE-2026-89654

Kritisch 9,8

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() iterates mds...

CVSS
9,8 (v3.1)
Angriffswahrscheinlichkeit (EPSS)
0,64 % (höher als 52,2 % aller Lücken)
Veröffentlicht
11.09.2026
Zuletzt geändert
30.10.2026

Beschreibung

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() iterates mdsc->sessions[] and for each active session drops mdsc->mutex to perform per-session operations. The forced-close path (rank removed from map) correctly takes a reference on s via ceph_get_mds_session() before releasing mdsc->mutex, but three other paths do not: Path A (address changed): mutex_unlock → mutex_lock(&s->s_mutex) Path B (reconnect): mutex_unlock → send_mds_reconnect(mdsc, s) Path C (active transition): mutex_unlock → mutex_lock(&s->s_mutex) Without the extra reference, another thread can acquire mdsc->mutex during the unlock window, call __unregister_session() which drops the last reference on s, and free it. The original thread then accesses freed memory via s->s_mutex. Fix by adding ceph_get_mds_session(s) before each mutex_unlock and ceph_put_mds_session(s) after the corresponding mutex_lock, matching the pattern already used in the forced-close path. Race timeline (Path A): Thread A (check_new_map) Thread B (another map update holds mdsc->mutex or session teardown) -------------------------- -------------------------- s = mdsc->sessions[i] (refcount == 1, held only by sessions[] array) mutex_unlock(&mdsc->mutex) ---> acquires mdsc->mutex __unregister_session(mdsc, s) sessions[i] = NULL ceph_put_mds_session(s) refcount: 1 -> 0 kfree(s) <--- freed! mutex_lock(&s->s_mutex) UAF on freed s->s_mutex

Betroffene Pakete

Paket Betroffen Behoben in
Debian:12 linux alle Versionen vor 6.1.192-1 6.1.192-1
Debian:12 linux-6.12 alle Versionen vor 6.12.115-2~deb12u1 6.12.115-2~deb12u1
Debian:13 linux alle Versionen vor 6.12.115-2 6.12.115-2
Ubuntu:22.04:LTS linux alle Versionen, noch kein Fix noch kein Fix
Ubuntu:22.04:LTS linux-aws alle Versionen, noch kein Fix noch kein Fix
Ubuntu:22.04:LTS linux-aws-5.19 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:22.04:LTS linux-aws-6.2 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:22.04:LTS linux-aws-6.5 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:22.04:LTS linux-aws-6.8 alle Versionen vor 6.8.0-1070.76~22.04.1 6.8.0-1070.76~22.04.1
Ubuntu:22.04:LTS linux-azure alle Versionen, noch kein Fix noch kein Fix
Ubuntu:22.04:LTS linux-azure-5.19 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:22.04:LTS linux-azure-6.2 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:22.04:LTS linux-azure-6.5 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:22.04:LTS linux-azure-6.8 alle Versionen vor 6.8.0-1074.83~22.04.1 6.8.0-1074.83~22.04.1
Ubuntu:22.04:LTS linux-gcp alle Versionen, noch kein Fix noch kein Fix
Ubuntu:22.04:LTS linux-gcp-5.19 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:22.04:LTS linux-gcp-6.2 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:22.04:LTS linux-gcp-6.5 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:22.04:LTS linux-gcp-6.8 alle Versionen vor 6.8.0-1074.82~22.04.1 6.8.0-1074.82~22.04.1
Ubuntu:22.04:LTS linux-hwe-5.19 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:22.04:LTS linux-hwe-6.2 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:22.04:LTS linux-hwe-6.5 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:22.04:LTS linux-hwe-6.8 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:22.04:LTS linux-ibm alle Versionen, noch kein Fix noch kein Fix
Ubuntu:22.04:LTS linux-ibm-6.8 alle Versionen vor 6.8.0-1070.71~22.04.1 6.8.0-1070.71~22.04.1
Ubuntu:22.04:LTS linux-kvm alle Versionen, noch kein Fix noch kein Fix
Ubuntu:22.04:LTS linux-lowlatency alle Versionen, noch kein Fix noch kein Fix
Ubuntu:22.04:LTS linux-lowlatency-hwe-5.19 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:22.04:LTS linux-lowlatency-hwe-6.2 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:22.04:LTS linux-lowlatency-hwe-6.5 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:22.04:LTS linux-lowlatency-hwe-6.8 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:22.04:LTS linux-oracle alle Versionen, noch kein Fix noch kein Fix
Ubuntu:22.04:LTS linux-oracle-6.5 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:22.04:LTS linux-oracle-6.8 alle Versionen vor 6.8.0-1068.72~22.04.1 6.8.0-1068.72~22.04.1
Ubuntu:24.04:LTS linux alle Versionen vor 6.8.0-151.151 6.8.0-151.151
Ubuntu:24.04:LTS linux-aws alle Versionen vor 6.8.0-1070.76 6.8.0-1070.76
Ubuntu:24.04:LTS linux-aws-6.14 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:24.04:LTS linux-aws-6.17 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:24.04:LTS linux-aws-7.0 alle Versionen vor 7.0.0-1017.18~24.04.1 7.0.0-1017.18~24.04.1
Ubuntu:24.04:LTS linux-azure alle Versionen vor 6.8.0-1074.83 6.8.0-1074.83
Ubuntu:24.04:LTS linux-azure-6.11 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:24.04:LTS linux-azure-6.14 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:24.04:LTS linux-azure-6.17 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:24.04:LTS linux-azure-7.0 alle Versionen vor 7.0.0-1020.21~24.04.2 7.0.0-1020.21~24.04.2
Ubuntu:24.04:LTS linux-gcp alle Versionen vor 6.8.0-1074.82 6.8.0-1074.82
Ubuntu:24.04:LTS linux-gcp-6.11 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:24.04:LTS linux-gcp-6.14 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:24.04:LTS linux-gcp-6.17 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:24.04:LTS linux-gcp-7.0 alle Versionen vor 7.0.0-1017.19~24.04.1 7.0.0-1017.19~24.04.1
Ubuntu:24.04:LTS linux-hwe-6.11 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:24.04:LTS linux-hwe-6.14 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:24.04:LTS linux-hwe-6.17 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:24.04:LTS linux-hwe-7.0 alle Versionen vor 7.0.0-42.42~24.04.1 7.0.0-42.42~24.04.1
Ubuntu:24.04:LTS linux-ibm alle Versionen vor 6.8.0-1070.71 6.8.0-1070.71
Ubuntu:24.04:LTS linux-lowlatency alle Versionen, noch kein Fix noch kein Fix
Ubuntu:24.04:LTS linux-lowlatency-hwe-6.11 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:24.04:LTS linux-oracle alle Versionen vor 6.8.0-1068.72 6.8.0-1068.72
Ubuntu:24.04:LTS linux-oracle-6.14 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:24.04:LTS linux-oracle-6.17 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:24.04:LTS linux-oracle-7.0 alle Versionen vor 7.0.0-1016.18~24.04.1 7.0.0-1016.18~24.04.1
Ubuntu:24.04:LTS linux-vmware alle Versionen vor 6.8.0-1011.11 6.8.0-1011.11

Quellen

Weitere Kennungen

UBUNTU-CVE-2026-89654 · DEBIAN-CVE-2026-89654

Sind Ihre Projekte betroffen?

Prüfen Sie ein Lockfile kostenlos oder lassen Sie Ihre Repositories laufend überwachen.