CVE-2019-25162: i2c: Fix a potential use after free
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 putdevice() down a bit to avoid the use after free.
[wsa: added comment to the code, added Fixes tag]
Other sources
Linux Kernel s vulnerable to a denial of service, caused by a use-after-free flaw in the i2c driver module. By sending a specially crafted request, a local attacker could exploit this vulnerability to cause a denial of service condition.
— IBM
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2019-25162?
CVE-2019-25162 has been classified with a medium severity level due to potential use after free vulnerabilities in the Linux kernel.
How do I fix CVE-2019-25162?
To fix CVE-2019-25162, update your Linux kernel to a version that includes the patch, such as 5.10.223-1 or later.
What versions of the Linux kernel are affected by CVE-2019-25162?
CVE-2019-25162 affects multiple versions of the Linux kernel, specifically between 4.3.0 and 5.19.0.
Is CVE-2019-25162 specific to a particular Linux distribution?
CVE-2019-25162 is not specific to a single distribution; it affects the Linux kernel used by various distributions.
What are the potential risks associated with CVE-2019-25162?
The risks associated with CVE-2019-25162 include possible system crashes or unauthorized access due to improper memory handling.