i2c: xiic: xiic_xfer(): Fix runtime PM leak on error path
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ fdacc3c7405d1fc33c1f2771699a4fc24551e480 · < d663d93bb47e7ab45602b227701022d8aa16040a| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
i2c: xiic: xiic_xfer(): Fix runtime PM leak on error path
The xiic_xfer() function gets a runtime PM reference when the function is entered. This reference is released when the function is exited. There is currently one error path where the function exits directly, which leads to a leak of the runtime PM reference.
Make sure that this error path also releases the runtime PM reference.
From the CVE record · Linux
The Linux kernel’s xiic_xfer() function can leak a runtime PM reference when it exits through an error path. The input does not describe an attacker, exploitation conditions, or a security impact beyond the leak.
Engineers running Linux kernels with the i2c xiic driver should check their versions; affected versions are not specified.