VulnerabilityCVE-2019-25162WID-SEC-W-2024-0478:CVE-2019-25162
i2c: Fix a potential use after free
Not on CISA KEV
Summary
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]
See the full record, free
- Every source, score and reference in one place
- Timeline and related records
- Watch an entry and get an alert when it changes
Sources and credits
- BSI CERT-Bund Source: BSI CERT-Bund
- CVE List Source: CVE Program (cve.org)
- PoC-in-GitHub Source: PoC-in-GitHub