What’s Vulnerable › Vulnerabilities

CVE-2019-25162: i2c: Fix a potential use after free

Description

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]

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 4.14.291, 4.19.256, 5.10.137, 5.15.61. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2019-25162 or the next vulnerability affects your stack