CVE-2019-25162
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2019-25162 is a use-after-free vulnerability discovered in the Linux kernel's i2c driver module. The vulnerability was disclosed on February 26, 2024, affecting multiple versions of the Linux kernel from 4.3.0 up to versions before 4.14.291, 4.19.256, 5.4.211, and 5.10.137. The issue occurs in the i2c_put_adapter function where the adapter structure is freed before all operations are completed (NVD).

Technical details

The vulnerability is classified as CWE-416 (Use After Free) with a CVSS v3.1 base score of 7.8 (High). The issue stems from incorrect ordering of operations in the i2c_put_adapter function, where put_device() was called before module_put(), potentially leading to use-after-free of the adapter structure. The fix involves reordering these operations to ensure the adapter structure is only freed after all operations are complete (NVD, Red Hat).

Impact

The vulnerability has been rated as High severity with a CVSS score of 7.8, potentially allowing an attacker with local access and low privileges to achieve high impacts on confidentiality, integrity, and availability of the system. The vulnerability requires local access and low privileges to exploit (Red Hat).

Mitigation and workarounds

The vulnerability has been patched in the Linux kernel by moving the put_device() call after module_put() in the i2c_put_adapter function. The fix has been implemented across multiple kernel versions and distributions. Users are advised to update their systems to the patched versions (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-71142N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-core
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • rv
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-zfcpdump
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-debug
NoYesJan 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management