{"id":"CVE-2023-53622","state":"PUBLISHED","title":"gfs2: Fix possible data races in gfs2_show_options()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ngfs2: Fix possible data races in gfs2_show_options()\n\nSome fields such as gt_logd_secs of the struct gfs2_tune are accessed\nwithout holding the lock gt_spin in gfs2_show_options():\n\n  val = sdp->sd_tune.gt_logd_secs;\n  if (val != 30)\n    seq_printf(s, \",commit=%d\", val);\n\nAnd thus can cause data races when gfs2_show_options() and other functions\nsuch as gfs2_reconfigure() are concurrently executed:\n\n  spin_lock(&gt->gt_spin);\n  gt->gt_logd_secs = newargs->ar_commit;\n\nTo fix these possible data races, the lock sdp->sd_tune.gt_spin is\nacquired before accessing the fields of gfs2_tune and released after these\naccesses.\n\nFurther changes by Andreas:\n\n- Don't hold the spin lock over the seq_printf operations.","publishedAt":"2025-10-07T15:19:28.146Z","updatedAt":"2026-05-11T19:48:43.034Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"48c2b613616235d7c97fda5982f50100a6c79166","status":"affected","lessThan":"7e5bbeb7eb813bb2568e1d5d02587df943272e57","versionType":"git"},{"version":"48c2b613616235d7c97fda5982f50100a6c79166","status":"affected","lessThan":"235a5ae73cea29109a3e06f100493f17857e6a93","versionType":"git"},{"version":"48c2b613616235d7c97fda5982f50100a6c79166","status":"affected","lessThan":"b4a7ab57effbed42624842f2ab2a49b177c21a47","versionType":"git"},{"version":"48c2b613616235d7c97fda5982f50100a6c79166","status":"affected","lessThan":"7c5b2649f6a37d45bfb7abf34c9b71d08677139f","versionType":"git"},{"version":"48c2b613616235d7c97fda5982f50100a6c79166","status":"affected","lessThan":"85e888150075cb221270b64bf772341fc6bd11d9","versionType":"git"},{"version":"48c2b613616235d7c97fda5982f50100a6c79166","status":"affected","lessThan":"a4f71523ed2123d63b431cc0cea4e9f363a0f054","versionType":"git"},{"version":"48c2b613616235d7c97fda5982f50100a6c79166","status":"affected","lessThan":"42077d4de49e4d9c773c97c42d5383b4899a8f9d","versionType":"git"},{"version":"48c2b613616235d7c97fda5982f50100a6c79166","status":"affected","lessThan":"6fa0a72cbbe45db4ed967a51f9e6f4e3afe61d20","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/gfs2/super.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.31","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.31","versionType":"semver"},{"version":"4.14.324","status":"unaffected","lessThanOrEqual":"4.14.*","versionType":"semver"},{"version":"4.19.293","status":"unaffected","lessThanOrEqual":"4.19.*","versionType":"semver"},{"version":"5.4.255","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.192","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.128","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.47","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.4.12","status":"unaffected","lessThanOrEqual":"6.4.*","versionType":"semver"},{"version":"6.5","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/gfs2/super.c"]}],"references":["https://git.kernel.org/stable/c/7e5bbeb7eb813bb2568e1d5d02587df943272e57","https://git.kernel.org/stable/c/235a5ae73cea29109a3e06f100493f17857e6a93","https://git.kernel.org/stable/c/b4a7ab57effbed42624842f2ab2a49b177c21a47","https://git.kernel.org/stable/c/7c5b2649f6a37d45bfb7abf34c9b71d08677139f","https://git.kernel.org/stable/c/85e888150075cb221270b64bf772341fc6bd11d9","https://git.kernel.org/stable/c/a4f71523ed2123d63b431cc0cea4e9f363a0f054","https://git.kernel.org/stable/c/42077d4de49e4d9c773c97c42d5383b4899a8f9d","https://git.kernel.org/stable/c/6fa0a72cbbe45db4ed967a51f9e6f4e3afe61d20"],"weaknesses":[],"ingestedAt":"2026-10-29T20:06:33.064Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/53xxx/CVE-2023-53622.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2023-53622","state":"PUBLISHED","datePublished":"2025-10-07T15:19:28.146Z","dateUpdated":"2026-05-11T19:48:43.034Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-10-07T15:16:59.655Z"},"containers":{"cna":{"title":"gfs2: Fix possible data races in gfs2_show_options()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ngfs2: Fix possible data races in gfs2_show_options()\n\nSome fields such as gt_logd_secs of the struct gfs2_tune are accessed\nwithout holding the lock gt_spin in gfs2_show_options():\n\n  val = sdp->sd_tune.gt_logd_secs;\n  if (val != 30)\n    seq_printf(s, \",commit=%d\", val);\n\nAnd thus can cause data races when gfs2_show_options() and other functions\nsuch as gfs2_reconfigure() are concurrently executed:\n\n  spin_lock(&gt->gt_spin);\n  gt->gt_logd_secs = newargs->ar_commit;\n\nTo fix these possible data races, the lock sdp->sd_tune.gt_spin is\nacquired before accessing the fields of gfs2_tune and released after these\naccesses.\n\nFurther changes by Andreas:\n\n- Don't hold the spin lock over the seq_printf operations."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"48c2b613616235d7c97fda5982f50100a6c79166","status":"affected","lessThan":"7e5bbeb7eb813bb2568e1d5d02587df943272e57","versionType":"git"},{"version":"48c2b613616235d7c97fda5982f50100a6c79166","status":"affected","lessThan":"235a5ae73cea29109a3e06f100493f17857e6a93","versionType":"git"},{"version":"48c2b613616235d7c97fda5982f50100a6c79166","status":"affected","lessThan":"b4a7ab57effbed42624842f2ab2a49b177c21a47","versionType":"git"},{"version":"48c2b613616235d7c97fda5982f50100a6c79166","status":"affected","lessThan":"7c5b2649f6a37d45bfb7abf34c9b71d08677139f","versionType":"git"},{"version":"48c2b613616235d7c97fda5982f50100a6c79166","status":"affected","lessThan":"85e888150075cb221270b64bf772341fc6bd11d9","versionType":"git"},{"version":"48c2b613616235d7c97fda5982f50100a6c79166","status":"affected","lessThan":"a4f71523ed2123d63b431cc0cea4e9f363a0f054","versionType":"git"},{"version":"48c2b613616235d7c97fda5982f50100a6c79166","status":"affected","lessThan":"42077d4de49e4d9c773c97c42d5383b4899a8f9d","versionType":"git"},{"version":"48c2b613616235d7c97fda5982f50100a6c79166","status":"affected","lessThan":"6fa0a72cbbe45db4ed967a51f9e6f4e3afe61d20","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/gfs2/super.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.31","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.31","versionType":"semver"},{"version":"4.14.324","status":"unaffected","lessThanOrEqual":"4.14.*","versionType":"semver"},{"version":"4.19.293","status":"unaffected","lessThanOrEqual":"4.19.*","versionType":"semver"},{"version":"5.4.255","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.192","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.128","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.47","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.4.12","status":"unaffected","lessThanOrEqual":"6.4.*","versionType":"semver"},{"version":"6.5","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/gfs2/super.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/7e5bbeb7eb813bb2568e1d5d02587df943272e57"},{"url":"https://git.kernel.org/stable/c/235a5ae73cea29109a3e06f100493f17857e6a93"},{"url":"https://git.kernel.org/stable/c/b4a7ab57effbed42624842f2ab2a49b177c21a47"},{"url":"https://git.kernel.org/stable/c/7c5b2649f6a37d45bfb7abf34c9b71d08677139f"},{"url":"https://git.kernel.org/stable/c/85e888150075cb221270b64bf772341fc6bd11d9"},{"url":"https://git.kernel.org/stable/c/a4f71523ed2123d63b431cc0cea4e9f363a0f054"},{"url":"https://git.kernel.org/stable/c/42077d4de49e4d9c773c97c42d5383b4899a8f9d"},{"url":"https://git.kernel.org/stable/c/6fa0a72cbbe45db4ed967a51f9e6f4e3afe61d20"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T19:48:43.034Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.31","versionEndExcluding":"4.14.324"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.31","versionEndExcluding":"4.19.293"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.31","versionEndExcluding":"5.4.255"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.31","versionEndExcluding":"5.10.192"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.31","versionEndExcluding":"5.15.128"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.31","versionEndExcluding":"6.1.47"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.31","versionEndExcluding":"6.4.12"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.31","versionEndExcluding":"6.5"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}