CVE-2019-25162 json
i2c: Fix a potential use after free
published 2y ago modified 3mo ago also EUVD-2019-11594
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 32%
- public exploits
- 0
- none known
Summary
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]
Patch / fix
- Linux Linux 4.14.291, 4.19.256, 5.4.211, 5.10.137, 5.15.61, 5.18.18, 5.19.2, 6.0
- linux Debian 14, Debian 13, Debian 12 5.19.6-1
debian advisories DEBIAN-CVE-2019-25162
- linux Ubuntu 18.04 LTS 4.15.0-197.208
- linux Ubuntu 20.04 LTS 5.4.0-132.148
- linux Ubuntu 22.04 LTS 5.15.0-53.59
- linux-aws Ubuntu 18.04 LTS 4.15.0-1143.155
- linux-aws Ubuntu 20.04 LTS 5.4.0-1089.97
- linux-aws Ubuntu 22.04 LTS 5.15.0-1023.27
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1093.102
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1022.29
ubuntu advisories UBUNTU-CVE-2019-25162
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel RHEL 9 5.14.0-503.11.1.el9_5
- rv RHEL 9 5.14.0-503.11.1.el9_5
- perf RHEL 9 5.14.0-503.11.1.el9_5
- rtla RHEL 9 5.14.0-503.11.1.el9_5
- bpftool RHEL 9 7.4.0-503.11.1.el9_5
- libperf RHEL 9 5.14.0-503.11.1.el9_5
- kernel-rt RHEL 9 5.14.0-503.11.1.el9_5
- kernel-64k RHEL 9 5.14.0-503.11.1.el9_5
red hat advisories RHSA-2025:2270RHSA-2024:9315RHSA-2024:3627RHSA-2024:3618
- kernel-rt SLE Micro 5.4, SLE Micro 5.3, openSUSE Leap Micro 5.4 +1 more 5.14.21-150400.15.71.1
- kernel-source-rt SLE Micro 5.4, SLE Micro 5.3 5.14.21-150400.15.71.1
- kernel-rt SLE Real Time 12 SP5 4.12.14-10.171.1
- kernel-syms-rt SLE Real Time 12 SP5 4.12.14-10.171.1
- kernel-rt_debug SLE Real Time 12 SP5 4.12.14-10.171.1
- kernel-source-rt SLE Real Time 12 SP5 4.12.14-10.171.1
- kernel-azure SLES for SAP 12 SP5, SLES 12 SP5 4.12.14-16.173.1
- kernel-syms-azure SLES for SAP 12 SP5, SLES 12 SP5 4.12.14-16.173.1
suse advisories SUSE-SU-2024:0977-1SUSE-SU-2024:0976-1SUSE-SU-2024:0975-1SUSE-SU-2024:0926-1SUSE-SU-2024:0925-1SUSE-SU-2024:0910-1
- kernel AlmaLinux 8 4.18.0-553.5.1.el8_10
- perf AlmaLinux 8 4.18.0-553.5.1.el8_10
- bpftool AlmaLinux 8 4.18.0-553.5.1.el8_10
- kernel-core AlmaLinux 8 4.18.0-553.5.1.el8_10
- kernel-tools AlmaLinux 8 4.18.0-553.5.1.el8_10
- python3-perf AlmaLinux 8 4.18.0-553.5.1.el8_10
- kernel-modules AlmaLinux 8 4.18.0-553.5.1.el8_10
- kernel-zfcpdump AlmaLinux 8 4.18.0-553.5.1.el8_10
almalinux advisories ALSA-2024:3618ALSA-2024:3627
- kernel-rt Rocky Linux 8 4.18.0-553.5.1.rt7.346.el8_10
- kernel Rocky Linux 8 4.18.0-553.5.1.el8_10
rocky linux advisories RLSA-2024:3627RLSA-2024:3618
- git.kernel.org/stable/c/e6412ba3b6508bdf9c074d310bf4144afa6aec1a commit
- git.kernel.org/stable/c/23a191b132cd87f746c62f3dc27da33683d85829 commit
- git.kernel.org/stable/c/871a1e94929a27bf6e2cd99523865c840bbc2d87 commit
- git.kernel.org/stable/c/81cb31756888bb062e92d2dca21cd629d77a46a9 commit
- git.kernel.org/stable/c/35927d7509ab9bf41896b7e44f639504eae08af7 commit
- git.kernel.org/stable/c/e8e1a046cf87c8b1363e5de835114f2779e2aaf4 commit
- git.kernel.org/stable/c/12b0606000d0828630c033bf0c74c748464fe87d commit
- git.kernel.org/stable/c/e4c72c06c367758a14f227c847f9d623f1994ecf commit
Is CVE-2019-25162 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2019-25162 updated cvss 7.8
kernel: use after free in i2c
-
Red Hat CodeReady Linux Builder (v. 9) libperf 5.14.0-503.11.1.el9_5, kernel-debuginfo-common-s390x 5.14.0-503.11.1.el9_5, kernel-debuginfo-common-x86_64 5.14.0-503.11.1.el9_5, kernel-debuginfo-common-aarch64 5.14.0-503.11.1.el9_5, kernel-debuginfo-common-ppc64le 5.14.0-503.11.1.el9_5fixed: vendor fix RHSA-2024:9315
-
Red Hat CodeReady Linux Builder EUS (v.9.4) libperf 5.14.0-427.57.1.el9_4, kernel-debuginfo-common-s390x 5.14.0-427.57.1.el9_4, kernel-debuginfo-common-x86_64 5.14.0-427.57.1.el9_4, kernel-debuginfo-common-aarch64 5.14.0-427.57.1.el9_4, kernel-debuginfo-common-ppc64le 5.14.0-427.57.1.el9_4fixed: vendor fix RHSA-2025:2270
-
Red Hat Enterprise Linux AppStream (v. 9) rv 5.14.0-503.11.1.el9_5, perf 5.14.0-503.11.1.el9_5, rtla 5.14.0-503.11.1.el9_5, kernel-devel-matched 5.14.0-503.11.1.el9_5, kernel-64k-devel-matched 5.14.0-503.11.1.el9_5, kernel-debug-devel-matched 5.14.0-503.11.1.el9_5, +6 morefixed: vendor fix RHSA-2024:9315
-
Red Hat Enterprise Linux AppStream EUS (v.9.4) rv 5.14.0-427.57.1.el9_4, perf 5.14.0-427.57.1.el9_4, rtla 5.14.0-427.57.1.el9_4, kernel-devel-matched 5.14.0-427.57.1.el9_4, kernel-64k-devel-matched 5.14.0-427.57.1.el9_4, kernel-debug-devel-matched 5.14.0-427.57.1.el9_4, +6 morefixed: vendor fix RHSA-2025:2270
-
Red Hat Enterprise Linux BaseOS (v. 8) perf 4.18.0-553.5.1.el8_10, kernel 4.18.0-553.5.1.el8_10, bpftool 4.18.0-553.5.1.el8_10, kernel-core 4.18.0-553.5.1.el8_10, kernel-tools 4.18.0-553.5.1.el8_10, python3-perf 4.18.0-553.5.1.el8_10, +15 morefixed: vendor fix RHSA-2024:3618
-
Red Hat Enterprise Linux BaseOS (v. 9) bpftool 7.4.0-503.11.1.el9_5, kernel 5.14.0-503.11.1.el9_5, kernel-64k 5.14.0-503.11.1.el9_5, kernel-core 5.14.0-503.11.1.el9_5, kernel-tools 5.14.0-503.11.1.el9_5, python3-perf 5.14.0-503.11.1.el9_5, +29 morefixed: vendor fix RHSA-2024:9315
-
Red Hat Enterprise Linux BaseOS EUS (v.9.4) bpftool 7.3.0-427.57.1.el9_4, kernel 5.14.0-427.57.1.el9_4, kernel-64k 5.14.0-427.57.1.el9_4, kernel-core 5.14.0-427.57.1.el9_4, kernel-tools 5.14.0-427.57.1.el9_4, python3-perf 5.14.0-427.57.1.el9_4, +28 morefixed: vendor fix RHSA-2025:2270
-
Red Hat Enterprise Linux CRB (v. 8) kernel-debuginfo-common-x86_64 4.18.0-553.5.1.el8_10, kernel-debuginfo-common-aarch64 4.18.0-553.5.1.el8_10, kernel-debuginfo-common-ppc64le 4.18.0-553.5.1.el8_10fixed: vendor fix RHSA-2024:3618
show 7 moreshow fewer
-
Red Hat Enterprise Linux NFV (v. 8) kernel-rt 4.18.0-553.5.1.rt7.346.el8_10, kernel-rt-kvm 4.18.0-553.5.1.rt7.346.el8_10, kernel-rt-core 4.18.0-553.5.1.rt7.346.el8_10, kernel-rt-modules 4.18.0-553.5.1.rt7.346.el8_10, kernel-rt-debug-kvm 4.18.0-553.5.1.rt7.346.el8_10, kernel-rt-debug-core 4.18.0-553.5.1.rt7.346.el8_10, +4 morefixed: vendor fix RHSA-2024:3627
-
Red Hat Enterprise Linux Real Time (v. 9) kernel-rt 5.14.0-503.11.1.el9_5, kernel-rt-core 5.14.0-503.11.1.el9_5, kernel-rt-modules 5.14.0-503.11.1.el9_5, kernel-rt-debug-core 5.14.0-503.11.1.el9_5, kernel-rt-modules-core 5.14.0-503.11.1.el9_5, kernel-rt-debug-modules 5.14.0-503.11.1.el9_5, +4 morefixed: vendor fix RHSA-2024:9315
-
Red Hat Enterprise Linux Real Time EUS (v.9.4) kernel-rt 5.14.0-427.57.1.el9_4, kernel-rt-core 5.14.0-427.57.1.el9_4, kernel-rt-modules 5.14.0-427.57.1.el9_4, kernel-rt-debug-core 5.14.0-427.57.1.el9_4, kernel-rt-modules-core 5.14.0-427.57.1.el9_4, kernel-rt-debug-modules 5.14.0-427.57.1.el9_4, +4 morefixed: vendor fix RHSA-2025:2270
-
Red Hat Enterprise Linux Real Time for NFV (v. 9) kernel-rt 5.14.0-503.11.1.el9_5, kernel-rt-kvm 5.14.0-503.11.1.el9_5, kernel-rt-core 5.14.0-503.11.1.el9_5, kernel-rt-modules 5.14.0-503.11.1.el9_5, kernel-rt-debug-kvm 5.14.0-503.11.1.el9_5, kernel-rt-debug-core 5.14.0-503.11.1.el9_5, +6 morefixed: vendor fix RHSA-2024:9315
-
Red Hat Enterprise Linux Real Time for NFV EUS (v.9.4) kernel-rt 5.14.0-427.57.1.el9_4, kernel-rt-kvm 5.14.0-427.57.1.el9_4, kernel-rt-core 5.14.0-427.57.1.el9_4, kernel-rt-modules 5.14.0-427.57.1.el9_4, kernel-rt-debug-kvm 5.14.0-427.57.1.el9_4, kernel-rt-debug-core 5.14.0-427.57.1.el9_4, +6 morefixed: vendor fix RHSA-2025:2270
-
Red Hat Enterprise Linux RT (v. 8) kernel-rt 4.18.0-553.5.1.rt7.346.el8_10, kernel-rt-core 4.18.0-553.5.1.rt7.346.el8_10, kernel-rt-modules 4.18.0-553.5.1.rt7.346.el8_10, kernel-rt-debug-core 4.18.0-553.5.1.rt7.346.el8_10, kernel-rt-debug-modules 4.18.0-553.5.1.rt7.346.el8_10, kernel-rt-modules-extra 4.18.0-553.5.1.rt7.346.el8_10, +2 morefixed: vendor fix RHSA-2024:3627
-
Red Hat CodeReady Linux Builder (v. 9) kernel-cross-headers 5.14.0-503.11.1.el9_5 Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux AppStream (v. 9) kernel-headers 5.14.0-503.11.1.el9_5not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2y ago
Exploit prediction
0.38% chance of exploitation in the next 30 days, higher than 32% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-416 Use After Free
- Technology feeds
References
-
git.kernel.org
/stable/c/e6412ba3b6508bdf9c074d310bf4144afa6aec1a
patch
-
git.kernel.org
/stable/c/23a191b132cd87f746c62f3dc27da33683d85829
patch
-
git.kernel.org
/stable/c/871a1e94929a27bf6e2cd99523865c840bbc2d87
patch
-
git.kernel.org
/stable/c/81cb31756888bb062e92d2dca21cd629d77a46a9
patch
-
git.kernel.org
/stable/c/35927d7509ab9bf41896b7e44f639504eae08af7
patch
-
git.kernel.org
/stable/c/e8e1a046cf87c8b1363e5de835114f2779e2aaf4
patch
-
git.kernel.org
/stable/c/12b0606000d0828630c033bf0c74c748464fe87d
patch
-
git.kernel.org
/stable/c/e4c72c06c367758a14f227c847f9d623f1994ecf
patch
Sources
- CVE List CVE-2019-25162
- NVD CVE-2019-25162
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.