# CVE-2026-72140: i2c: mlxbf: Fix use-after-free in mlxbf\_i2c\_init\_resource()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-08-15T05:53:14.015Z
- **Modified:** 2026-08-17T06:18:13.963Z

## Who should check

- Anyone running Linux \>= b5b5b32081cd206baa6e58cca7f112d9723785d6, \< 6a108c9f5a81bb7b29dbb1398be0089655b6bfd2; \>= b5b5b32081cd206baa6e58cca7f112d9723785d6, \< c4d9b6a0c9645366d9e4af8a6ac8347bd4c841aa; \>= b5b5b32081cd206baa6e58cca7f112d9723785d6, \< b398cbbbb9dd76210682a8c9aabd34c5168800b9; \>= b5b5b32081cd206baa6e58cca7f112d9723785d6, \< 5290a52533e09c38374963f4bb0b35121fe555c7; \>= b5b5b32081cd206baa6e58cca7f112d9723785d6, \< ce960a1b2caa4ad08291f28d8bcf17ad5a864e54; \>= b5b5b32081cd206baa6e58cca7f112d9723785d6, \< e6a395a71f4652261d09b572a03c96052662a056; \>= b5b5b32081cd206baa6e58cca7f112d9723785d6, \< fb267770bf822064f510c9b46743f533d8fa8a5f; \>= b5b5b32081cd206baa6e58cca7f112d9723785d6, \< 71356737a7a55c76fee847563e3d33f8e6dc6b6d
- Anyone running Linux 5.10

## Description

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.

## Affected and fixed versions

- Linux: \>= b5b5b32081cd206baa6e58cca7f112d9723785d6, \< 6a108c9f5a81bb7b29dbb1398be0089655b6bfd2; \>= b5b5b32081cd206baa6e58cca7f112d9723785d6, \< c4d9b6a0c9645366d9e4af8a6ac8347bd4c841aa; \>= b5b5b32081cd206baa6e58cca7f112d9723785d6, \< b398cbbbb9dd76210682a8c9aabd34c5168800b9; \>= b5b5b32081cd206baa6e58cca7f112d9723785d6, \< 5290a52533e09c38374963f4bb0b35121fe555c7; \>= b5b5b32081cd206baa6e58cca7f112d9723785d6, \< ce960a1b2caa4ad08291f28d8bcf17ad5a864e54; \>= b5b5b32081cd206baa6e58cca7f112d9723785d6, \< e6a395a71f4652261d09b572a03c96052662a056; \>= b5b5b32081cd206baa6e58cca7f112d9723785d6, \< fb267770bf822064f510c9b46743f533d8fa8a5f; \>= b5b5b32081cd206baa6e58cca7f112d9723785d6, \< 71356737a7a55c76fee847563e3d33f8e6dc6b6d (cvelist)
- Linux: 5.10 (cvelist)

## Mitigation

- Upgrade Linux to 71356737a7a55c76fee847563e3d33f8e6dc6b6d or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-72140. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-72140.md
Affected: Linux >= b5b5b32081cd206baa6e58cca7f112d9723785d6, < 6a108c9f5a81bb7b29dbb1398be0089655b6bfd2; >= b5b5b32081cd206baa6e58cca7f112d9723785d6, < c4d9b6a0c9645366d9e4af8a6ac8347bd4c841aa; >= b5b5b32081cd206baa6e58cca7f112d9723785d6, < b398cbbbb9dd76210682a8c9aabd34c5168800b9; >= b5b5b32081cd206baa6e58c…
Fixed in: Linux 6a108c9f5a81bb7b29dbb1398be0089655b6bfd2, Linux 5290a52533e09c38374963f4bb0b35121fe555c7, Linux 71356737a7a55c76fee847563e3d33f8e6dc6b6d

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-72140 being exploited?

There is no confirmed exploitation: CVE-2026-72140 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-72140?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-72140?

Linux \>= b5b5b32081cd206baa6e58cca7f112d9723785d6, \< 6a108c9f5a81bb7b29dbb1398be0089655b6bfd2; \>= b5b5b32081cd206baa6e58cca7f112d9723785d6, \< c4d9b6a0c9645366d9e4af8a6ac8347bd4c841aa; \>= b5b5b32081cd206baa6e58cca7f112d9723785d6, \< b398cbbbb9dd76210682a8c9aabd34c5168800b9; \>= b5b5b32081cd206baa6e58cca7f112d9723785d6, \< 5290a52533e09c38374963f4bb0b35121fe555c7; \>= b5b5b32081cd206baa6e58cca7f112d9723785d6, \< ce960a1b2caa4ad08291f28d8bcf17ad5a864e54; \>= b5b5b32081cd206baa6e58cca7f112d9723785d6, \< e6a395a71f4652261d09b572a03c96052662a056; \>= b5b5b32081cd206baa6e58cca7f112d9723785d6, \< fb267770bf822064f510c9b46743f533d8fa8a5f; \>= b5b5b32081cd206baa6e58cca7f112d9723785d6, \< 71356737a7a55c76fee847563e3d33f8e6dc6b6d; Linux 5.10.

### Is there a fix for CVE-2026-72140?

Yes. Fixed in Linux 6a108c9f5a81bb7b29dbb1398be0089655b6bfd2, Linux 5290a52533e09c38374963f4bb0b35121fe555c7, Linux 71356737a7a55c76fee847563e3d33f8e6dc6b6d. Upgrade Linux to 71356737a7a55c76fee847563e3d33f8e6dc6b6d or later.

### How do I check if I'm affected by CVE-2026-72140?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/6a108c9f5a81bb7b29dbb1398be0089655b6bfd2>
- other: <https://git.kernel.org/stable/c/c4d9b6a0c9645366d9e4af8a6ac8347bd4c841aa>
- other: <https://git.kernel.org/stable/c/b398cbbbb9dd76210682a8c9aabd34c5168800b9>
- other: <https://git.kernel.org/stable/c/5290a52533e09c38374963f4bb0b35121fe555c7>
- other: <https://git.kernel.org/stable/c/ce960a1b2caa4ad08291f28d8bcf17ad5a864e54>
- other: <https://git.kernel.org/stable/c/e6a395a71f4652261d09b572a03c96052662a056>
- other: <https://git.kernel.org/stable/c/fb267770bf822064f510c9b46743f533d8fa8a5f>
- other: <https://git.kernel.org/stable/c/71356737a7a55c76fee847563e3d33f8e6dc6b6d>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-72140>

HTML: <https://flawdb.com/CVE-2026-72140> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-72140>
