{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-143052",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.345Z",
        "datePublished": "2026-12-03T09:18:29.276Z",
        "dateUpdated": "2026-12-03T09:18:29.276Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-03T09:18:29.276Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\novl: do not read the flags of a put upper dentry in lookup\n\novl_lookup_layers() passes ctx->upperdentry to ovl_get_inode(), which\ntakes over the reference. If an overlay inode for the upper inode is\nalready cached, as for a second hard link, ovl_get_inode() puts the\ndentry and returns the cached inode. ovl_lookup_layers() then passes\nthe put dentry to ovl_dentry_init_reval(), which reads its d_flags.\n\nWith a local upper fs the put dentry usually stays in the dcache, but\nwith a FUSE upper whose entry has timed out, dput() kills it, so this\nis a use-after-free.\n\nFix this by taking the revalidate flags from the upper dentry of the\noverlay inode, which is the one that ovl_dentry_revalidate_common()\nrevalidates."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/overlayfs/namei.c"
                    ],
                    "versions": [
                        {
                            "version": "bccece1ead368149f90e05ad104dfbfda4422f5d",
                            "lessThan": "baff898c8ad8b46ce1378559160eb00287ecf6cd",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "bccece1ead368149f90e05ad104dfbfda4422f5d",
                            "lessThan": "7031366be218f291592a7ad38bc34a7cd1459737",
                            "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/overlayfs/namei.c"
                    ],
                    "versions": [
                        {
                            "version": "5.7",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.7",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.7",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc3",
                            "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": "5.7",
                                    "versionEndExcluding": "7.3.7"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.7",
                                    "versionEndExcluding": "7.4-rc3"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/baff898c8ad8b46ce1378559160eb00287ecf6cd"
                },
                {
                    "url": "https://git.kernel.org/stable/c/7031366be218f291592a7ad38bc34a7cd1459737"
                }
            ],
            "title": "ovl: do not read the flags of a put upper dentry in lookup",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}