{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2023-53377",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2025-09-17T14:54:09.735Z",
        "datePublished": "2025-09-18T13:33:23.162Z",
        "dateUpdated": "2026-08-05T09:13:45.155Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-05T09:13:45.155Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ncifs: prevent use-after-free by freeing the cfile later\n\nIn smb2_compound_op we have a possible use-after-free\nwhich can cause hard to debug problems later on.\n\nThis was revealed during stress testing with KASAN enabled\nkernel. Fixing it by moving the cfile free call to\na few lines below, after the usage."
                }
            ],
            "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 in the SMB client (fs/smb/client) and is reached through local VFS operations (stat/getattr/lookup → cifs_get_inode_info → smb2_query_path_info → smb2_compound_op) on an already-mounted CIFS/SMB share, not by an in-kernel network service accepting unsolicited remote requests.\nAC:L - A local attacker can open, close, and stat the same path concurrently and thereby control both sides of the cfile refcount/deferred-close race that makes cifsFileInfo_put free the object before the later cfile->symlink_target access; UAF races the attacker can drive are AC:L.\nPR:L - CIFS lacks FS_USERNS_MOUNT so mounting needs CAP_SYS_ADMIN, but any unprivileged user who can access an existing CIFS mount can exercise the open/close/query path that reaches smb2_compound_op with a non-NULL cfile.\nUI:N - The attacker performs the triggering filesystem syscalls themselves on a reachable mount; no separate victim action is required.\nS:U - This is a standard in-kernel heap use-after-free within the host kernel’s security authority and does not cross a VM, IOMMU, or sandbox boundary.\nC:H - After the early put, QUERY_INFO/POSIX_QUERY_INFO still read cfile (including cfile->symlink_target) on a potentially freed cifsFileInfo; per UAF guidance this enables heap reuse and arbitrary kernel memory disclosure.\nI:H - The same freed cifsFileInfo object can be reclaimed/sprayed and then reused by the post-put access path, which is defensibly exploitable for kernel memory corruption and control-flow hijacking.\nA:H - Even without full exploitation, use-after-free of cfile can cause KASAN reports, oops, or panic, as observed under stress testing with KASAN enabled."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/smb/client/smb2inode.c"
                    ],
                    "versions": [
                        {
                            "version": "76894f3e2f71177747b8b4763fb180e800279585",
                            "lessThan": "4fe07d55a5461e66a55fbefb57f85ff0facea32b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "76894f3e2f71177747b8b4763fb180e800279585",
                            "lessThan": "b6353518ef8180816e863aa23b06456f395404d6",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "76894f3e2f71177747b8b4763fb180e800279585",
                            "lessThan": "d017880782cf71f8820ee4a2002843893176501d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "76894f3e2f71177747b8b4763fb180e800279585",
                            "lessThan": "33f736187d08f6bc822117629f263b97d3df4165",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "2d046892a493d9760c35fdaefc3017f27f91b621",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6.0.16",
                            "lessThan": "6.1",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/smb/client/smb2inode.c"
                    ],
                    "versions": [
                        {
                            "version": "6.1",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.1",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.39",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.3.13",
                            "lessThanOrEqual": "6.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.4.4",
                            "lessThanOrEqual": "6.4.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.5",
                            "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": "6.1",
                                    "versionEndExcluding": "6.1.39"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.1",
                                    "versionEndExcluding": "6.3.13"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.1",
                                    "versionEndExcluding": "6.4.4"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.1",
                                    "versionEndExcluding": "6.5"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.0.16"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/4fe07d55a5461e66a55fbefb57f85ff0facea32b"
                },
                {
                    "url": "https://git.kernel.org/stable/c/b6353518ef8180816e863aa23b06456f395404d6"
                },
                {
                    "url": "https://git.kernel.org/stable/c/d017880782cf71f8820ee4a2002843893176501d"
                },
                {
                    "url": "https://git.kernel.org/stable/c/33f736187d08f6bc822117629f263b97d3df4165"
                }
            ],
            "title": "cifs: prevent use-after-free by freeing the cfile later",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "cvssV3_1": {
                            "scope": "UNCHANGED",
                            "version": "3.1",
                            "baseScore": 7.8,
                            "attackVector": "LOCAL",
                            "baseSeverity": "HIGH",
                            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                            "integrityImpact": "HIGH",
                            "userInteraction": "NONE",
                            "attackComplexity": "LOW",
                            "availabilityImpact": "HIGH",
                            "privilegesRequired": "LOW",
                            "confidentialityImpact": "HIGH"
                        }
                    },
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "id": "CVE-2023-53377",
                                "role": "CISA Coordinator",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "version": "2.0.3",
                                "timestamp": "2026-01-14T18:55:16.312050Z"
                            }
                        }
                    }
                ],
                "problemTypes": [
                    {
                        "descriptions": [
                            {
                                "lang": "en",
                                "type": "CWE",
                                "cweId": "CWE-416",
                                "description": "CWE-416 Use After Free"
                            }
                        ]
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-01-14T19:03:03.735Z"
                }
            }
        ]
    }
}