CVE Catalog

CVE-2019-25162

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.38%

30th percentile - higher than 30% of all known CVEs

Summary

In the Linux kernel, the i2c subsystem has a potential use-after-free. The adap structure is freed before it is done being used, which can lead to accessing freed memory.

Risk Assessment

Use-after-free can lead to system crashes, malfunctioning i2c drivers, or potentially privilege escalation if an attacker can exploit the bug.

Recommendation

It is recommended to update the Linux kernel to a version with the fix that moves the put_device() call after the adap structure is no longer used.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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]

Vulnerability data from NVD (NIST) · CISA KEV · EPSS