Files
Andreas Gruenbacher 279bde3bbb gfs2: Fix unlikely race in gdlm_put_lock
[ Upstream commit 28c4d9bc0708956c1a736a9e49fee71b65deee81 ]

In gdlm_put_lock(), there is a small window of time in which the
DFL_UNMOUNT flag has been set but the lockspace hasn't been released,
yet.  In that window, dlm may still call gdlm_ast() and gdlm_bast().
To prevent it from dereferencing freed glock objects, only free the
glock if the lockspace has actually been released.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Reviewed-by: Andrew Price <anprice@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-10-29 14:08:52 +01:00
..
2025-07-10 16:04:57 +02:00
2024-12-05 14:02:18 +01:00
2025-07-10 16:04:56 +02:00
2023-08-02 09:13:09 -06:00
2024-12-05 14:02:18 +01:00
2025-07-10 16:04:57 +02:00
2025-07-10 16:04:57 +02:00
2025-08-15 12:13:32 +02:00
2024-04-29 12:35:15 +02:00