{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-139697",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-11-30T13:22:15.948Z",
        "datePublished": "2026-11-30T13:37:08.496Z",
        "dateUpdated": "2026-11-30T13:37:08.496Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:37:08.496Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nACPI: fan: Fix memory leak due to leftover devm_kcalloc() argument\n\nAn ACPI device object's dev field in passed as the first argument to\ndevm_kcalloc() in acpi_fan_get_fps() which is incorrect and leads to\na memory leak on driver probe errors and removal because the driver\nis not bound to that ACPI device.\n\nAddress this by replacing that pointer with a pointer to the device the\ndriver is actually bound to.\n\nWhile at it, drop a redundant error message after a memory allocation\nfailure (that also gets printed relative to the ACPI device)."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/acpi/fan_core.c"
                    ],
                    "versions": [
                        {
                            "version": "094932903f6d1ecc6df7669c052f9c59a3428a79",
                            "lessThan": "8160811079129f96290caa354eda0e7649305414",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "d91a1d129b63614fa4c2e45e60918409ce36db7e",
                            "lessThan": "615db7a9c7130aefd9f09eaa63f27cd78a33f9ad",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "d91a1d129b63614fa4c2e45e60918409ce36db7e",
                            "lessThan": "755c4d87215134d00d66355ab1f36c4c53c629e4",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "d91a1d129b63614fa4c2e45e60918409ce36db7e",
                            "lessThan": "2cf65d00347005eccf9a24801783377d7f920021",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "1cf52204e78526cd1a2b49892c4e312735c7273b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6.12.58",
                            "lessThan": "6.12.119",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.17.8",
                            "lessThan": "6.18",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/acpi/fan_core.c"
                    ],
                    "versions": [
                        {
                            "version": "6.18",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.18",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.119",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.65",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.6",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc1",
                            "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.12.58",
                                    "versionEndExcluding": "6.12.119"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.18",
                                    "versionEndExcluding": "6.18.65"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.18",
                                    "versionEndExcluding": "7.3.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.18",
                                    "versionEndExcluding": "7.4-rc1"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.17.8"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/8160811079129f96290caa354eda0e7649305414"
                },
                {
                    "url": "https://git.kernel.org/stable/c/615db7a9c7130aefd9f09eaa63f27cd78a33f9ad"
                },
                {
                    "url": "https://git.kernel.org/stable/c/755c4d87215134d00d66355ab1f36c4c53c629e4"
                },
                {
                    "url": "https://git.kernel.org/stable/c/2cf65d00347005eccf9a24801783377d7f920021"
                }
            ],
            "title": "ACPI: fan: Fix memory leak due to leftover devm_kcalloc() argument",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}