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-04-11T12:46:50.532514Z
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"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.31
Fixed
4.14.324
Type
ECOSYSTEM
Events
Introduced
4.15.0
Fixed
4.19.293
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.255
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.192
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.128
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.47
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.4.12

Database specific

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