CVE-2023-53622

Source
https://cve.org/CVERecord?id=CVE-2023-53622
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53622.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-53622
Downstream
Related
Published
2025-10-07T15:19:28.146Z
Modified
2026-03-20T12:33:15.892450Z
Summary
gfs2: Fix possible data races in gfs2_show_options()
Details

In the Linux kernel, the following vulnerability has been resolved:

gfs2: Fix possible data races in gfs2showoptions()

Some fields such as gtlogdsecs of the struct gfs2tune are accessed without holding the lock gtspin in gfs2showoptions():

val = sdp->sdtune.gtlogdsecs; if (val != 30) seqprintf(s, ",commit=%d", val);

And thus can cause data races when gfs2showoptions() and other functions such as gfs2_reconfigure() are concurrently executed:

spinlock(&gt->gtspin); gt->gtlogdsecs = newargs->ar_commit;

To fix these possible data races, the lock sdp->sdtune.gtspin 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.
Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53622.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
48c2b613616235d7c97fda5982f50100a6c79166
Fixed
7e5bbeb7eb813bb2568e1d5d02587df943272e57
Fixed
235a5ae73cea29109a3e06f100493f17857e6a93
Fixed
b4a7ab57effbed42624842f2ab2a49b177c21a47
Fixed
7c5b2649f6a37d45bfb7abf34c9b71d08677139f
Fixed
85e888150075cb221270b64bf772341fc6bd11d9
Fixed
a4f71523ed2123d63b431cc0cea4e9f363a0f054
Fixed
42077d4de49e4d9c773c97c42d5383b4899a8f9d
Fixed
6fa0a72cbbe45db4ed967a51f9e6f4e3afe61d20

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53622.json"