{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2023-52590",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2024-03-02T21:55:42.570Z",
        "datePublished": "2024-03-06T06:45:22.954Z",
        "dateUpdated": "2026-08-05T09:10:31.371Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-05T09:10:31.371Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2: Avoid touching renamed directory if parent does not change\n\nThe VFS will not be locking moved directory if its parent does not\nchange. Change ocfs2 rename code to avoid touching renamed directory if\nits parent does not change as without locking that can corrupt the\nfilesystem."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                        "baseScore": 7.8,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:L - The vulnerable path is ocfs2_rename(), reached via the local rename/renameat syscalls through vfs_rename() on a mounted OCFS2 volume; OCFS2 is a shared-disk cluster filesystem, not a network protocol handler, so exploitation requires local access.\nAC:L - The attacker controls both sides of the race—one thread issues same-parent directory renames while another creates/unlinks entries inside the renamed directory—so the missing VFS i_rwsem window can be hammered reliably without depending on external conditions.\nPR:L - Only ordinary DAC write/rename permission on directories of an already-mounted OCFS2 volume is required; vfs_rename() enforces may_delete/may_create for the caller and there is no capability or init-namespace root check on this path.\nUI:N - In the realistic OCFS2 deployment the volume is already mounted for cluster shared storage; the attacker triggers the bug entirely with their own rename and directory-modification syscalls and needs no victim action.\nS:U - Corruption and any resulting remount-ro/panic stay inside the host kernel and the shared OCFS2 volume’s security authority; no VM escape, IOMMU bypass, or other cross-boundary impact occurs.\nC:H - Racing the tautological \"..\" update against concurrent inline-directory expansion can tear directory contents so dirents carry wrong inode numbers, allowing lookups on the shared volume to open other users’/tenants’ files and disclose their data.\nI:H - The fix explicitly states that touching the unlocked renamed directory can corrupt the filesystem; torn directory blocks and inconsistent \"..\" / nlink metadata are durable on-disk integrity loss across the cluster volume, matching high-impact OCFS2 metadata corruption.\nA:H - Corrupted directory metadata leads to ocfs2_check_dir_entry failures and ocfs2_error(), which remounts the filesystem read-only by default or panics under errors=panic, denying availability of the shared volume to all local and cluster users."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/ocfs2/namei.c"
                    ],
                    "versions": [
                        {
                            "version": "ccd979bdbce9fba8412beb3f1de68a9d0171b12c",
                            "lessThan": "de940cede3c41624e2de27f805b490999f419df9",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "ccd979bdbce9fba8412beb3f1de68a9d0171b12c",
                            "lessThan": "9d618d19b29c2943527e3a43da0a35aea91062fc",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/ocfs2/namei.c"
                    ],
                    "versions": [
                        {
                            "version": "2.6.16",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "2.6.16",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.7.4",
                            "lessThanOrEqual": "6.7.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.8",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.16",
                                    "versionEndExcluding": "6.7.4"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.16",
                                    "versionEndExcluding": "6.8"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/de940cede3c41624e2de27f805b490999f419df9"
                },
                {
                    "url": "https://git.kernel.org/stable/c/9d618d19b29c2943527e3a43da0a35aea91062fc"
                }
            ],
            "title": "ocfs2: Avoid touching renamed directory if parent does not change",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T23:03:21.283Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://git.kernel.org/stable/c/de940cede3c41624e2de27f805b490999f419df9",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://git.kernel.org/stable/c/9d618d19b29c2943527e3a43da0a35aea91062fc",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            },
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "id": "CVE-2023-52590",
                                "role": "CISA Coordinator",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "version": "2.0.3",
                                "timestamp": "2024-09-10T15:55:58.510084Z"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-09-11T17:33:31.632Z"
                }
            }
        ]
    }
}