Re: fs/ceph: caps renew paths read mdsmap->m_session_timeout without mdsc->mutex (UAF)
From: Krzysztof Kozlowski
Date: Tue Nov 24 2026 - 09:53:36 EST
On 17/11/2026 13:52, 徐晗翔 wrote:
> * Suggested direction
>
> Read m_session_timeout (and the rank state) into local variables under
> mdsc->mutex before dropping it, and pass the values down; the lock order
> s_mutex -> mdsc->mutex is already established (comment at
> send_mds_reconnect(), mds_client.c:5182). RCU publication would also work.
>
> Please keep me in Cc; I am not subscribed to the lists.
Why? You never responded to any other query we asked for the last month!
Best regards,
Krzysztof