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 products

VendorProductVersions
LinuxLinuxb5b5b32081cd206baa6e58cca7f112d9723785d6 to <6a108c9f5a81bb7b29dbb1398be0089655b6bfd2; b5b5b32081cd206baa6e58cca7f112d9723785d6 to <c4d9b6a0c9645366d9e4af8a6ac8347bd4c841aa; b5b5b32081cd206baa6e58cca7f112d9723785d6 to <b398cbbbb9dd76210682a8c9aabd34c5168800b9; b5b5b32081cd206baa6e58cca7f112d9723785d6 to <5290a52533e09c38374963f4bb0b35121fe555c7; b5b5b32081cd206baa6e58cca7f112d9723785d6 to <ce960a1b2caa4ad08291f28d8bcf17ad5a864e54; b5b5b32081cd206baa6e58cca7f112d9723785d6 to <e6a395a71f4652261d09b572a03c96052662a056; b5b5b32081cd206baa6e58cca7f112d9723785d6 to <fb267770bf822064f510c9b46743f533d8fa8a5f; b5b5b32081cd206baa6e58cca7f112d9723785d6 to <71356737a7a55c76fee847563e3d33f8e6dc6b6d
LinuxLinux5.10; 0 to <5.10; 5.10.261 to <=5.10.*; 5.15.212 to <=5.15.*; 6.1.178 to <=6.1.*; 6.6.145 to <=6.6.*; 6.12.97 to <=6.12.*; 6.18.40 to <=6.18.*; 7.1.5 to <=7.1.*; 7.2-rc4 to <=*

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Generated from the official CVE List on 15 Aug 2026 07:05 UTC.