CVE-2019-25162Published Feb 26, 2024 · Feb 26Updated Aug 5
i2c: Fix a potential use after free
Linux
High7.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6 · < e8e1a046cf87c8b1363e5de835114f2779e2aaf4| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
i2c: Fix a potential use after free
Free the adap structure only after we are done using it. This patch just moves the put_device() down a bit to avoid the use after free.
[wsa: added comment to the code, added Fixes tag]
From the CVE record · Linux
The Linux kernel i2c code can use an adapter structure after it has been freed. The input does not specify how an attacker could trigger the issue, whether authentication or user interaction is needed, or what an attacker could do with it.
Engineers running the Linux kernel should check their deployments; affected versions are not specified.