{"id":"CVE-2023-53622","summary":"gfs2: Fix possible data races in gfs2_show_options()","details":"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-\u003esd_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-\u003egt_spin);\n  gt-\u003egt_logd_secs = newargs-\u003ear_commit;\n\nTo fix these possible data races, the lock sdp-\u003esd_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.","modified":"2026-04-02T09:44:39.546956Z","published":"2025-10-07T15:19:28.146Z","related":["SUSE-SU-2025:21040-1","SUSE-SU-2025:21052-1","SUSE-SU-2025:21056-1","SUSE-SU-2025:21064-1","SUSE-SU-2025:4057-1","SUSE-SU-2025:4111-1","SUSE-SU-2025:4128-1","SUSE-SU-2025:4132-1","SUSE-SU-2025:4139-1","SUSE-SU-2025:4140-1","SUSE-SU-2025:4141-1","SUSE-SU-2025:4149-1","SUSE-SU-2025:4189-1","SUSE-SU-2025:4301-1","SUSE-SU-2025:4320-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53622.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/235a5ae73cea29109a3e06f100493f17857e6a93"},{"type":"WEB","url":"https://git.kernel.org/stable/c/42077d4de49e4d9c773c97c42d5383b4899a8f9d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6fa0a72cbbe45db4ed967a51f9e6f4e3afe61d20"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7c5b2649f6a37d45bfb7abf34c9b71d08677139f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7e5bbeb7eb813bb2568e1d5d02587df943272e57"},{"type":"WEB","url":"https://git.kernel.org/stable/c/85e888150075cb221270b64bf772341fc6bd11d9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a4f71523ed2123d63b431cc0cea4e9f363a0f054"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b4a7ab57effbed42624842f2ab2a49b177c21a47"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53622.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53622"},{"type":"PACKAGE","url":"https://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/cve-osv-conversion/osv-output/CVE-2023-53622.json"}}],"schema_version":"1.7.5"}