i2c: acpi: fix resource leak in reconfiguration device addition
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 525e6fabeae286848592363bda13bc34b59bb5ac · < 6558b646ce1c2a872fe1c2c7cb116f05a2c1950f| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
i2c: acpi: fix resource leak in reconfiguration device addition
acpi_i2c_find_adapter_by_handle() calls bus_find_device() which takes a reference on the adapter which is never released which will result in a reference count leak and render the adapter unremovable. Make sure to put the adapter after creating the client in the same manner that we do for OF.
[wsa: fixed title]
From the CVE record · Linux
In the Linux kernel, ACPI I2C device addition can leak a reference to an adapter, leaving it unremovable. The input does not describe an attacker path or specify network access, authentication, or user interaction requirements.
Engineers running the Linux kernel with ACPI I2C device addition should check their versions; affected versions are not specified.