CVE-2023-53622 gfs2: Fix possible data races in gfs2_show_options()
A race condition in the Linux kernel GFS2 filesystem allows concurrent access to tune parameters without proper locking, potentially leading to data inconsistencies or system instability.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-53622?
CVE-2023-53622 is a high-severity vulnerability in Linux kernel, published on 7 Oct 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
gfs2: Fix possible data races in gfs2_show_options()
Some fields such as gt_logd_secs of the struct gfs2_tune are accessed without holding the lock gt_spin in gfs2_show_options():
val = sdp->sd_tune.gt_logd_secs; if (val != 30) seq_printf(s, ",commit=%d", val);
And thus can cause data races when gfs2_show_options() and other functions such as gfs2_reconfigure() are concurrently executed:
spin_lock(>->gt_spin); gt->gt_logd_secs = newargs->ar_commit;
To fix these possible data races, the lock sdp->sd_tune.gt_spin is acquired before accessing the fields of gfs2_tune and released after these accesses.
Further changes by Andreas:
- Don't hold the spin lock over the seq_printf operations.
Weakness: CWE-362
Which versions are affected by CVE-2023-53622?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2023-53622?
Apply the vendor's patch.
Is CVE-2023-53622 being exploited?
There is no known exploitation of CVE-2023-53622 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2023-53622, DEBIAN-CVE-2023-53622, GHSA-7fh7-rm8f-wj9x, UBUNTU-CVE-2023-53622.