{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-97585",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-09-24T16:01:01.156Z",
        "datePublished": "2026-09-25T10:22:04.942Z",
        "dateUpdated": "2026-10-19T09:09:48.929Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-10-19T09:09:48.929Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nafs: Fix double-unmap of directory block\n\nFix afs_edit_dir_remove() to use a cleanup function to unmap the block\npointed to by afs_dir_iter::block if it's left pointing to something rather\nthan manually kunmapping the blocks.  Manually kunmapping without clearing\niter.blocks can result in a double-kunmap if afs_dir_find_block() is called\ntwice in a row (which would be the case if the block being modified is not\nfirst in the hash chain)."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/afs/dir_edit.c",
                        "fs/afs/dir_search.c",
                        "fs/afs/internal.h"
                    ],
                    "versions": [
                        {
                            "version": "a5b5beebcf96d5e8a2fc79856c2ac1e93f82478e",
                            "lessThan": "9d6c703e24da3d39067e3c75f4ac2f6001c2472f",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "a5b5beebcf96d5e8a2fc79856c2ac1e93f82478e",
                            "lessThan": "b60f51e4ad0f6f940899788ccc2762db1e3b69e6",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "a5b5beebcf96d5e8a2fc79856c2ac1e93f82478e",
                            "lessThan": "e3cfd3eb7d5be7787cc69530b423f788f14d084f",
                            "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/afs/dir_edit.c",
                        "fs/afs/dir_search.c",
                        "fs/afs/internal.h"
                    ],
                    "versions": [
                        {
                            "version": "6.14",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.14",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.53",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.2.7",
                            "lessThanOrEqual": "7.2.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3",
                            "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.14",
                                    "versionEndExcluding": "6.18.53"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.14",
                                    "versionEndExcluding": "7.2.7"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.14",
                                    "versionEndExcluding": "7.3"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/9d6c703e24da3d39067e3c75f4ac2f6001c2472f"
                },
                {
                    "url": "https://git.kernel.org/stable/c/b60f51e4ad0f6f940899788ccc2762db1e3b69e6"
                },
                {
                    "url": "https://git.kernel.org/stable/c/e3cfd3eb7d5be7787cc69530b423f788f14d084f"
                }
            ],
            "title": "afs: Fix double-unmap of directory block",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}