Bug 2516440 (CVE-2026-72140) - CVE-2026-72140 kernel: i2c: mlxbf: Fix use-after-free in mlxbf_i2c_init_resource()
Summary: CVE-2026-72140 kernel: i2c: mlxbf: Fix use-after-free in mlxbf_i2c_init_resou...
Keywords:
Status: NEW
Alias: CVE-2026-72140
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-15 06:12 UTC by OSIDB Bzimport
Modified: 2026-11-01 11:36 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-15 06:12:37 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.