i2c: mux: Fix channel node leak on adapter add failure
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ bc45449b1444611d68466ae7f45f235420d79019 · < 2b3b06cb709c4bf75a3fe3da3a0ca368ee3b40e5| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
i2c: mux: Fix channel node leak on adapter add failure
i2c_mux_add_adapter() takes a reference to the Device Tree channel node before registering the new adapter. If adapter registration fails, the error path frees the private data without dropping that reference.
Release the channel node before freeing the private data.
From the CVE record · Linux
The Linux kernel’s I2C mux code leaks a reference to a Device Tree channel node if adapter registration fails. The input does not describe how an attacker could trigger the failure or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with the affected I2C mux code should check their versions; affected versions are not specified.