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

Published Feb 26, 2024
·
Updated

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

12 affected componentsFixes available
Linux Linux kernel>=4.3.0<4.14.291
Linux Linux kernel>=4.15.0<4.19.256
Linux Linux kernel>=4.20.0<5.4.211
Linux Linux kernel>=5.5.0<5.10.137
Linux Linux kernel>=5.11.0<5.15.61
Linux Linux kernel>=5.16.0<5.18.18
Linux Linux kernel>=5.19.0<5.19.2
IBM Security Verify Governance<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Software Stack<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Virtual Appliance<=ISVG 10.0.2
IBM Security Verify Governance Identity Manager Container<=ISVG 10.0.2
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1

Event History

Feb 26, 2024
CVE Published
via MITRE·05:20 PM
Data Sourced
via MITRE·05:20 PM
Description
Feb 27, 2024
Data Sourced
via Red Hat·01:39 PM
DescriptionSeverityAffected Software
Apr 23, 2024
Data Sourced
via Launchpad·03:14 PM
Description
Apr 30, 2025
Data Sourced
via Ubuntu·11:47 PM
RemedyDescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203