CVE-2026-72140: i2c: mlxbf: Fix use-after-free in mlxbf_i2c_init_resource()

Published Aug 15, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

i2c: mlxbf: Fix use-after-free in mlxbfi2cinitresource()

If devmplatformgetandioremapresource() returns an error, mlxbfi2cinitresource() frees tmpres before reading tmpres->io to get the error code. This results in a use-after-free.

Save the error code before freeing tmpres.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Patch i2c: mlxbf: Fix use-after-free in mlxbf_i2c_init_resource()
  2. Compensating control

    If devm_platform_get_and_ioremap_resource() returns an error, save the error code before freeing tmp_res to avoid the use-after-free in mlxbf_i2c_init_resource().

Event History

Aug 15, 2026
CVE Published
via MITRE·05:53 AM
Data Sourced
via MITRE·05:53 AM
Description
Data Sourced
via NVD·06:21 AM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-72140?

The severity of CVE-2026-72140 is classified as risk 29.

2

What is the nature of the vulnerability in CVE-2026-72140?

CVE-2026-72140 pertains to a use-after-free vulnerability in the Linux kernel's mlxbf_i2c_init_resource function.

3

How do I fix CVE-2026-72140?

To fix CVE-2026-72140, update to the latest version of the Linux kernel where this vulnerability has been patched.

4

What systems are affected by CVE-2026-72140?

CVE-2026-72140 affects systems running vulnerable versions of the Linux kernel utilizing the mlxbf I2C driver.

5

What are the potential consequences of CVE-2026-72140?

The consequences of CVE-2026-72140 may include system instability or potential privilege escalation due to the use-after-free condition.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203