CVE
CVE-2019-25162
CVE-2019-25162HIGH 7.8EPSS 33%
CNA 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 versions
All Linux kernel vulnerabilities →
- ≥ 5.19.0, < 5.19.2Fixed in 5.19.2
- ≥ 5.16.0, < 5.18.18Fixed in 5.18.18
- ≥ 5.11.0, < 5.15.61Fixed in 5.15.61
- ≥ 5.5.0, < 5.10.137Fixed in 5.10.137
- ≥ 4.20.0, < 5.4.211Fixed in 5.4.211
- ≥ 4.15.0, < 4.19.256Fixed in 4.19.256
- ≥ 4.3.0, < 4.14.291Fixed in 4.14.291
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/stable/c/12b0606000d0828630c033bf0c74c748464fe87d · Patch
- git.kernel.org/stable/c/23a191b132cd87f746c62f3dc27da33683d85829 · Patch
- git.kernel.org/stable/c/35927d7509ab9bf41896b7e44f639504eae08af7 · Patch
- git.kernel.org/stable/c/81cb31756888bb062e92d2dca21cd629d77a46a9 · Patch
- git.kernel.org/stable/c/871a1e94929a27bf6e2cd99523865c840bbc2d87 · Patch
- git.kernel.org/stable/c/e4c72c06c367758a14f227c847f9d623f1994ecf · Patch
- git.kernel.org/stable/c/e6412ba3b6508bdf9c074d310bf4144afa6aec1a · Patch
- git.kernel.org/stable/c/e8e1a046cf87c8b1363e5de835114f2779e2aaf4 · Patch
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.