CVE-2026-72140 (GCVE-0-2026-72140)
Vulnerability from cvelistv5
Published
2026-08-15 05:53
Modified
2026-08-17 05:08
Severity ?
VLAI Severity ?
EPSS score ?
Summary
In the Linux kernel, the following vulnerability has been resolved:
i2c: mlxbf: Fix use-after-free in mlxbf_i2c_init_resource()
If devm_platform_get_and_ioremap_resource() returns an error,
mlxbf_i2c_init_resource() frees tmp_res before reading tmp_res->io to
get the error code. This results in a use-after-free.
Save the error code before freeing tmp_res.
References
Impacted products
| Vendor | Product | Version | ||
|---|---|---|---|---|
| Linux | Linux |
Version: b5b5b32081cd206baa6e58cca7f112d9723785d6 Version: b5b5b32081cd206baa6e58cca7f112d9723785d6 Version: b5b5b32081cd206baa6e58cca7f112d9723785d6 Version: b5b5b32081cd206baa6e58cca7f112d9723785d6 Version: b5b5b32081cd206baa6e58cca7f112d9723785d6 Version: b5b5b32081cd206baa6e58cca7f112d9723785d6 Version: b5b5b32081cd206baa6e58cca7f112d9723785d6 Version: b5b5b32081cd206baa6e58cca7f112d9723785d6 |
||
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/i2c/busses/i2c-mlxbf.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "6a108c9f5a81bb7b29dbb1398be0089655b6bfd2",
"status": "affected",
"version": "b5b5b32081cd206baa6e58cca7f112d9723785d6",
"versionType": "git"
},
{
"lessThan": "c4d9b6a0c9645366d9e4af8a6ac8347bd4c841aa",
"status": "affected",
"version": "b5b5b32081cd206baa6e58cca7f112d9723785d6",
"versionType": "git"
},
{
"lessThan": "b398cbbbb9dd76210682a8c9aabd34c5168800b9",
"status": "affected",
"version": "b5b5b32081cd206baa6e58cca7f112d9723785d6",
"versionType": "git"
},
{
"lessThan": "5290a52533e09c38374963f4bb0b35121fe555c7",
"status": "affected",
"version": "b5b5b32081cd206baa6e58cca7f112d9723785d6",
"versionType": "git"
},
{
"lessThan": "ce960a1b2caa4ad08291f28d8bcf17ad5a864e54",
"status": "affected",
"version": "b5b5b32081cd206baa6e58cca7f112d9723785d6",
"versionType": "git"
},
{
"lessThan": "e6a395a71f4652261d09b572a03c96052662a056",
"status": "affected",
"version": "b5b5b32081cd206baa6e58cca7f112d9723785d6",
"versionType": "git"
},
{
"lessThan": "fb267770bf822064f510c9b46743f533d8fa8a5f",
"status": "affected",
"version": "b5b5b32081cd206baa6e58cca7f112d9723785d6",
"versionType": "git"
},
{
"lessThan": "71356737a7a55c76fee847563e3d33f8e6dc6b6d",
"status": "affected",
"version": "b5b5b32081cd206baa6e58cca7f112d9723785d6",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"drivers/i2c/busses/i2c-mlxbf.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "5.10"
},
{
"lessThan": "5.10",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.261",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"version": "5.15.212",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.178",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"version": "6.6.145",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.97",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.40",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.1.*",
"status": "unaffected",
"version": "7.1.5",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.2",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.10.261",
"versionStartIncluding": "5.10",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.15.212",
"versionStartIncluding": "5.10",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.1.178",
"versionStartIncluding": "5.10",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.6.145",
"versionStartIncluding": "5.10",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.12.97",
"versionStartIncluding": "5.10",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.18.40",
"versionStartIncluding": "5.10",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.1.5",
"versionStartIncluding": "5.10",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.2",
"versionStartIncluding": "5.10",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"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-\u003eio to\nget the error code. This results in a use-after-free.\n\nSave the error code before freeing tmp_res."
}
],
"providerMetadata": {
"dateUpdated": "2026-08-17T05:08:58.385Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"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"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-72140",
"datePublished": "2026-08-15T05:53:14.015Z",
"dateReserved": "2026-08-09T03:40:39.908Z",
"dateUpdated": "2026-08-17T05:08:58.385Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…