Use-after-free in Linux kernel - CVE-2019-25162

 

Use-after-free in Linux kernel - CVE-2019-25162

Published: April 2, 2024 / Updated: May 14, 2025


Vulnerability identifier: #VU87986
CSH Severity: Low
CVSS v4 BT: 4.3 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear]
CVE-ID: CVE-2019-25162
CWE-ID: CWE-416
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to perform a denial of service (DoS) attack.

The vulnerability exists due to a use-after-free error within the i2c_put_adapter() function in drivers/i2c/i2c-core-base.c. A local user can trigger a use-after-free error and crash the kernel.


Affected software

Linux kernel
Anolis OS
Red Hat CodeReady Linux Builder for ARM 64
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat CodeReady Linux Builder for x86_64
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for Real Time for NFV
Red Hat Enterprise Linux for Real Time
Ubuntu
Dell Data Protection Central
PowerProtect DP Series Appliance (IDPA)
Technical Support Appliance
IBM Cloud Pak for Watson AIOps
Storage Resource Manager
EMC Cloud Tiering Appliance
Juniper Secure Analytics (JSA)
IBM Qradar SIEM
linux-image-4.4.0-1168-aws (Ubuntu package)
linux-image-4.4.0-1131-kvm (Ubuntu package)
linux-image-4.4.0-1130-aws (Ubuntu package)
linux-image-virtual-lts-xenial (Ubuntu package)
linux-image-virtual (Ubuntu package)
linux-image-lowlatency-lts-xenial (Ubuntu package)
linux-image-lowlatency (Ubuntu package)
linux-image-kvm (Ubuntu package)
linux-image-generic-lts-xenial (Ubuntu package)
linux-image-generic (Ubuntu package)
linux-image-aws (Ubuntu package)
linux-image-4.4.0-253-lowlatency (Ubuntu package)
linux-image-4.4.0-253-generic (Ubuntu package)
kernel (Red Hat package)
kernel-rt (Red Hat package)
kernel-doc
python3-perf
perf
kernel-tools-libs-devel
kernel-tools-libs
kernel-abi-stablelists
kernel-tools
kernel-modules-extra
kernel-modules
kernel-headers
kernel-devel
kernel-debug-modules-extra
kernel-debug-modules
kernel-debug-devel
kernel-debug-core
kernel-debug
kernel-cross-headers
kernel-core
kernel
bpftool
Dell EMC Storage Monitoring and Reporting (SMR)
Dell Secure Connect Gateway

How to mitigate CVE-2019-25162

Install updates from vendor's website.

Linux kernel - addressed in versions 4.14.291, 4.19.256, 5.4.211, 5.10.137, 5.15.61, 5.18.18, 5.19.2, 6.0
Juniper Secure Analytics (JSA) - update to 7.5.0 UP9 IF02
IBM Qradar SIEM - update to 7.5.0 Update Pack 9 IF01
linux-image-4.4.0-1168-aws (Ubuntu package) - update to Ubuntu Pro
linux-image-4.4.0-1131-kvm (Ubuntu package) - update to Ubuntu Pro
linux-image-4.4.0-1130-aws (Ubuntu package) - update to Ubuntu Pro
linux-image-virtual-lts-xenial (Ubuntu package) - update to Ubuntu Pro (Infra-only)
linux-image-virtual (Ubuntu package) - update to Ubuntu Pro (Infra-only)
linux-image-lowlatency-lts-xenial (Ubuntu package) - update to Ubuntu Pro (Infra-only)
linux-image-lowlatency (Ubuntu package) - update to Ubuntu Pro (Infra-only)
linux-image-kvm (Ubuntu package) - update to Ubuntu Pro (Infra-only)
linux-image-generic-lts-xenial (Ubuntu package) - update to Ubuntu Pro (Infra-only)
linux-image-generic (Ubuntu package) - update to Ubuntu Pro (Infra-only)
linux-image-aws (Ubuntu package) - update to Ubuntu Pro (Infra-only)
linux-image-4.4.0-253-lowlatency (Ubuntu package) - update to Ubuntu Pro
linux-image-4.4.0-253-generic (Ubuntu package) - update to Ubuntu Pro
Technical Support Appliance - update to 3.0.1
IBM Cloud Pak for Watson AIOps - update to 4.6.0
kernel (Red Hat package) - update to 4.18.0-553.5.1.el8_10
kernel-rt (Red Hat package) - update to 4.18.0-553.5.1.rt7.346.el8_10
kernel-doc - update to 4.18.0-553.5.1.0.1
python3-perf - update to 4.18.0-553.5.1.0.1
perf - update to 4.18.0-553.5.1.0.1
kernel-tools-libs-devel - update to 4.18.0-553.5.1.0.1
kernel-tools-libs - update to 4.18.0-553.5.1.0.1
kernel-abi-stablelists - update to 4.18.0-553.5.1.0.1
kernel-tools - update to 4.18.0-553.5.1.0.1
kernel-modules-extra - update to 4.18.0-553.5.1.0.1
kernel-modules - update to 4.18.0-553.5.1.0.1
kernel-headers - update to 4.18.0-553.5.1.0.1
kernel-devel - update to 4.18.0-553.5.1.0.1
kernel-debug-modules-extra - update to 4.18.0-553.5.1.0.1
kernel-debug-modules - update to 4.18.0-553.5.1.0.1
kernel-debug-devel - update to 4.18.0-553.5.1.0.1
kernel-debug-core - update to 4.18.0-553.5.1.0.1
kernel-debug - update to 4.18.0-553.5.1.0.1
kernel-cross-headers - update to 4.18.0-553.5.1.0.1
kernel-core - update to 4.18.0-553.5.1.0.1
kernel - update to 4.18.0-553.5.1.0.1
bpftool - update to 4.18.0-553.5.1.0.1
Dell EMC Storage Monitoring and Reporting (SMR) - update to 5.0.1.0
Storage Resource Manager - update to 5.0.1.0
Dell Secure Connect Gateway - update to 5.24.00.14
EMC Cloud Tiering Appliance - update to 13.2.0.2.29

External References

Related Security Bulletins