{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-72140",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-08-09T03:40:39.908Z",
        "datePublished": "2026-08-15T05:53:14.015Z",
        "dateUpdated": "2026-08-15T05:53:14.015Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-15T05:53:14.015Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ni2c: mlxbf: Fix use-after-free in mlxbf_i2c_init_resource()\n\nIf devm_platform_get_and_ioremap_resource() returns an error,\nmlxbf_i2c_init_resource() frees tmp_res before reading tmp_res->io to\nget the error code. This results in a use-after-free.\n\nSave the error code before freeing tmp_res."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/i2c/busses/i2c-mlxbf.c"
                    ],
                    "versions": [
                        {
                            "version": "b5b5b32081cd206baa6e58cca7f112d9723785d6",
                            "lessThan": "6a108c9f5a81bb7b29dbb1398be0089655b6bfd2",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b5b5b32081cd206baa6e58cca7f112d9723785d6",
                            "lessThan": "c4d9b6a0c9645366d9e4af8a6ac8347bd4c841aa",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b5b5b32081cd206baa6e58cca7f112d9723785d6",
                            "lessThan": "b398cbbbb9dd76210682a8c9aabd34c5168800b9",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b5b5b32081cd206baa6e58cca7f112d9723785d6",
                            "lessThan": "5290a52533e09c38374963f4bb0b35121fe555c7",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b5b5b32081cd206baa6e58cca7f112d9723785d6",
                            "lessThan": "ce960a1b2caa4ad08291f28d8bcf17ad5a864e54",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b5b5b32081cd206baa6e58cca7f112d9723785d6",
                            "lessThan": "e6a395a71f4652261d09b572a03c96052662a056",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b5b5b32081cd206baa6e58cca7f112d9723785d6",
                            "lessThan": "fb267770bf822064f510c9b46743f533d8fa8a5f",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b5b5b32081cd206baa6e58cca7f112d9723785d6",
                            "lessThan": "71356737a7a55c76fee847563e3d33f8e6dc6b6d",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/i2c/busses/i2c-mlxbf.c"
                    ],
                    "versions": [
                        {
                            "version": "5.10",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.10",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.261",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.212",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.178",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.145",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.97",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.40",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.1.5",
                            "lessThanOrEqual": "7.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.2-rc4",
                            "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.10",
                                    "versionEndExcluding": "5.10.261"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.10",
                                    "versionEndExcluding": "5.15.212"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.10",
                                    "versionEndExcluding": "6.1.178"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.10",
                                    "versionEndExcluding": "6.6.145"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.10",
                                    "versionEndExcluding": "6.12.97"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.10",
                                    "versionEndExcluding": "6.18.40"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.10",
                                    "versionEndExcluding": "7.1.5"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.10",
                                    "versionEndExcluding": "7.2-rc4"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/6a108c9f5a81bb7b29dbb1398be0089655b6bfd2"
                },
                {
                    "url": "https://git.kernel.org/stable/c/c4d9b6a0c9645366d9e4af8a6ac8347bd4c841aa"
                },
                {
                    "url": "https://git.kernel.org/stable/c/b398cbbbb9dd76210682a8c9aabd34c5168800b9"
                },
                {
                    "url": "https://git.kernel.org/stable/c/5290a52533e09c38374963f4bb0b35121fe555c7"
                },
                {
                    "url": "https://git.kernel.org/stable/c/ce960a1b2caa4ad08291f28d8bcf17ad5a864e54"
                },
                {
                    "url": "https://git.kernel.org/stable/c/e6a395a71f4652261d09b572a03c96052662a056"
                },
                {
                    "url": "https://git.kernel.org/stable/c/fb267770bf822064f510c9b46743f533d8fa8a5f"
                },
                {
                    "url": "https://git.kernel.org/stable/c/71356737a7a55c76fee847563e3d33f8e6dc6b6d"
                }
            ],
            "title": "i2c: mlxbf: Fix use-after-free in mlxbf_i2c_init_resource()",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}