CVE Published: 26/02/2024 |
CVE Updated: 04/11/2024 |
CVE Year: 2019 Source: Linux |
Vendor: Linux |
Product: Linux Status : PUBLISHED
CVE-2019-25162 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]