CVE-2019-25162
i2c: Fix a potential use after free
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6, < e6412ba3b6508bdf9c074d310bf4144afa6aec1a; >= 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6, < 23a191b132cd87f746c62f3dc27da33683d85829; >= 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6, < 871a1e94929a27bf6e2cd99523865c840bbc2d87; >= 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6, < 81cb31756888bb062e92d2dca21cd629d77a46a9; >= 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6, < 35927d7509ab9bf41896b7e44f639504eae08af7; >= 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6, < e8e1a046cf87c8b1363e5de835114f2779e2aaf4; >= 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6, < 12b0606000d0828630c033bf0c74c748464fe87d; >= 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6, < e4c72c06c367758a14f227c847f9d623f1994ecf
- Anyone running Linux 4.3
Vulnerability facts
- Affected
- Linux >= 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6, < e6412ba3b6508bdf9c074d310bf4144afa6aec1a; >= 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6, < 23a191b132cd87f746c62f3dc27da33683d85829; >= 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6, < 871a1e94929a27bf6e2cd99523865c840bbc2d87; >= 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6, < 81cb31756888bb062e92d2dca21cd629d77a46a9; >= 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6, < 35927d7509ab9bf41896b7e44f639504eae08af7; >= 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6, < e8e1a046cf87c8b1363e5de835114f2779e2aaf4; >= 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6, < 12b0606000d0828630c033bf0c74c748464fe87d; >= 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6, < e4c72c06c367758a14f227c847f9d623f1994ecf; Linux 4.3
- Fixed in
- Linux 23a191b132cd87f746c62f3dc27da33683d85829, Linux 871a1e94929a27bf6e2cd99523865c840bbc2d87, Linux 81cb31756888bb062e92d2dca21cd629d77a46a9, Linux 35927d7509ab9bf41896b7e44f639504eae08af7, Linux 12b0606000d0828630c033bf0c74c748464fe87d
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.38% chance of exploitation in 30 days (percentile 24, 2026-11-26)
- CWE
- CWE-416
- Modified
Description
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]
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6, < e6412ba3b6508bdf9c074d310bf4144afa6aec1a; >= 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6, < 23a191b132cd87f746c62f3dc27da33683d85829; >= 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6, < 871a1e94929a27bf6e2cd99523865c840bbc2d87; >= 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6, < 81cb31756888bb062e92d2dca21cd629d77a46a9; >= 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6, < 35927d7509ab9bf41896b7e44f639504eae08af7; >= 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6, < e8e1a046cf87c8b1363e5de835114f2779e2aaf4; >= 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6, < 12b0606000d0828630c033bf0c74c748464fe87d; >= 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6, < e4c72c06c367758a14f227c847f9d623f1994ecf | — | cvelist |
| Linux | 4.3 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2019-25162. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2019-25162.md Affected: Linux >= 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6, < e6412ba3b6508bdf9c074d310bf4144afa6aec1a; >= 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6, < 23a191b132cd87f746c62f3dc27da33683d85829; >= 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6, < 871a1e94929a27bf6e2cd99523865c840bbc2d87; >= 611e12ea0f121a31d9e9c4c… Fixed in: Linux 23a191b132cd87f746c62f3dc27da33683d85829, Linux 871a1e94929a27bf6e2cd99523865c840bbc2d87, Linux 81cb31756888bb062e92d2dca21cd629d77a46a9, Linux 35927d7509ab9bf41896b7e44f639504eae08af7, Linux 12b0606000d0828630c033bf0c74c748464fe87d Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/e6412ba3b6508bdf9c074d310bf4144afa6aec1a
- https://git.kernel.org/stable/c/23a191b132cd87f746c62f3dc27da33683d85829
- https://git.kernel.org/stable/c/871a1e94929a27bf6e2cd99523865c840bbc2d87
- https://git.kernel.org/stable/c/81cb31756888bb062e92d2dca21cd629d77a46a9
- https://git.kernel.org/stable/c/35927d7509ab9bf41896b7e44f639504eae08af7
- https://git.kernel.org/stable/c/e8e1a046cf87c8b1363e5de835114f2779e2aaf4
- https://git.kernel.org/stable/c/12b0606000d0828630c033bf0c74c748464fe87d
- https://git.kernel.org/stable/c/e4c72c06c367758a14f227c847f9d623f1994ecf
FAQ
Is CVE-2019-25162 being exploited?
There is no confirmed exploitation: CVE-2019-25162 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.38% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2019-25162?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2019-25162?
Linux >= 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6, < e6412ba3b6508bdf9c074d310bf4144afa6aec1a; >= 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6, < 23a191b132cd87f746c62f3dc27da33683d85829; >= 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6, < 871a1e94929a27bf6e2cd99523865c840bbc2d87; >= 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6, < 81cb31756888bb062e92d2dca21cd629d77a46a9; >= 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6, < 35927d7509ab9bf41896b7e44f639504eae08af7; >= 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6, < e8e1a046cf87c8b1363e5de835114f2779e2aaf4; >= 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6, < 12b0606000d0828630c033bf0c74c748464fe87d; >= 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6, < e4c72c06c367758a14f227c847f9d623f1994ecf; Linux 4.3.
Is there a fix for CVE-2019-25162?
Yes. Fixed in Linux 23a191b132cd87f746c62f3dc27da33683d85829, Linux 871a1e94929a27bf6e2cd99523865c840bbc2d87, Linux 81cb31756888bb062e92d2dca21cd629d77a46a9, Linux 35927d7509ab9bf41896b7e44f639504eae08af7, Linux 12b0606000d0828630c033bf0c74c748464fe87d. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2019-25162?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.