CVE-2019-25162
published high CVSS 3.1 · 7.8i2c: Fix a potential use after free
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6 to < e6412ba3b6508bdf9c074d310bf4144afa6aec1a · 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6 to < 23a191b132cd87f746c62f3dc27da33683d85829 · 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6 to < 871a1e94929a27bf6e2cd99523865c840bbc2d87 · 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6 to < 81cb31756888bb062e92d2dca21cd629d77a46a9 · 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6 to < 35927d7509ab9bf41896b7e44f639504eae08af7 · 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6 to < e8e1a046cf87c8b1363e5de835114f2779e2aaf4 · 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6 to < 12b0606000d0828630c033bf0c74c748464fe87d · 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6 to < e4c72c06c367758a14f227c847f9d623f1994ecf · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.3 (affected) · 0 to < 4.3 (unaffected · semver) · 4.14.291 through 4.14.* (unaffected · semver) · 4.19.256 through 4.19.* (unaffected · semver) · 5.4.211 through 5.4.* (unaffected · semver) · 5.10.137 through 5.10.* (unaffected · semver) · 5.15.61 through 5.15.* (unaffected · semver) · 5.18.18 through 5.18.* (unaffected · semver) · 5.19.2 through 5.19.* (unaffected · semver) · 6.0 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluationALAS2-2022-1838 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2022-020 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2022-008 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2022-036 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | bpftool | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
Show 99 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| AlmaLinux | 8 | kernel | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-abi-stablelists | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-core | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-cross-headers | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-debug | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-debug-core | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-debug-devel | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-debug-modules | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-debug-modules-extra | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-devel | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-doc | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-headers | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-modules | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-modules-extra | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-rt | Advisory build | 4.18.0-553.5.1.rt7.346.el8_10 | ALSA-2024:3627 |
| AlmaLinux | 8 | kernel-rt-core | Advisory build | 4.18.0-553.5.1.rt7.346.el8_10 | ALSA-2024:3627 |
| AlmaLinux | 8 | kernel-rt-debug | Advisory build | 4.18.0-553.5.1.rt7.346.el8_10 | ALSA-2024:3627 |
| AlmaLinux | 8 | kernel-rt-debug-core | Advisory build | 4.18.0-553.5.1.rt7.346.el8_10 | ALSA-2024:3627 |
| AlmaLinux | 8 | kernel-rt-debug-devel | Advisory build | 4.18.0-553.5.1.rt7.346.el8_10 | ALSA-2024:3627 |
| AlmaLinux | 8 | kernel-rt-debug-kvm | Advisory build | 4.18.0-553.5.1.rt7.346.el8_10 | ALSA-2024:3627 |
| AlmaLinux | 8 | kernel-rt-debug-modules | Advisory build | 4.18.0-553.5.1.rt7.346.el8_10 | ALSA-2024:3627 |
| AlmaLinux | 8 | kernel-rt-debug-modules-extra | Advisory build | 4.18.0-553.5.1.rt7.346.el8_10 | ALSA-2024:3627 |
| AlmaLinux | 8 | kernel-rt-devel | Advisory build | 4.18.0-553.5.1.rt7.346.el8_10 | ALSA-2024:3627 |
| AlmaLinux | 8 | kernel-rt-kvm | Advisory build | 4.18.0-553.5.1.rt7.346.el8_10 | ALSA-2024:3627 |
| AlmaLinux | 8 | kernel-rt-modules | Advisory build | 4.18.0-553.5.1.rt7.346.el8_10 | ALSA-2024:3627 |
| AlmaLinux | 8 | kernel-rt-modules-extra | Advisory build | 4.18.0-553.5.1.rt7.346.el8_10 | ALSA-2024:3627 |
| AlmaLinux | 8 | kernel-tools | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-tools-libs | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-tools-libs-devel | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-zfcpdump | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-zfcpdump-core | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-zfcpdump-devel | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-zfcpdump-modules | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-zfcpdump-modules-extra | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | perf | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | python3-perf | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernelx86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-abi-stablelistsx86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-corex86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-cross-headersaarch64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-cross-headersx86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-debugx86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-debug-corex86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-debug-develx86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-debug-modulesx86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-debug-modules-extrax86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-develx86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-docx86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-headersaarch64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-headersx86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-modulesx86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-modules-extrax86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-toolsaarch64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-toolsx86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-tools-libsaarch64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-tools-libsx86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-tools-libs-develaarch64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-tools-libs-develx86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | perfaarch64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | perfx86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | python3-perfaarch64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | python3-perfx86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:7.4.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:7.4.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernelx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-abi-stablelistsx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-corex86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-cross-headersaarch64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-cross-headersx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-debugx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-debug-corex86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-debug-develx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-debug-devel-matchedx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-debug-modulesx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-debug-modules-corex86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-debug-modules-extrax86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-debug-uki-virtx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-develx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-devel-matchedx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-docx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-headersaarch64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-headersx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-modulesx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-modules-corex86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-modules-extrax86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-toolsaarch64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-toolsx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-tools-libsaarch64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-tools-libsx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-tools-libs-develaarch64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-tools-libs-develx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-uki-virtx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-uki-virt-addonsx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | libperfaarch64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | libperfx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | perfaarch64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | perfx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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]
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerable i2c_put_adapter path is reached locally via i2c-dev (/dev/i2c-* open/release) or other in-kernel get/put holders; it is not reachable from the network stack or unauthenticated remote protocols. AC:L - An attacker who can open the i2c device and induce adapter teardown (e.g., USB-I2C hot-unplug on a kiosk/shared system, or concurrent close while deletion awaits the final ref) controls both sides of the race, so success does not depend on unpredictable victim state. PR:L - Exploitation requires access to /dev/i2c-*, which in the most severe realistic deployments (embedded, Raspberry Pi, industrial/Android HALs) is granted to an unprivileged i2c-group user rather than full root; no init-namespace admin capability is required for the open/close side. UI:N - No separate victim action is required; the attacker performs the open/close and can trigger or participate in adapter removal themselves. S:U - This is a standard kernel memory-corruption/privilege-escalation issue within the host kernel's security authority; it does not cross VM, IOMMU, or other security boundaries. C:H - Use-after-free of the i2c_adapter object enables heap reuse and attacker-controlled object contents, which can be leveraged for arbitrary kernel memory disclosure. I:H - The same UAF primitive supports heap spraying and corruption of reused kernel objects, enabling arbitrary write and control-flow hijacking / code execution in kernel context. A:H - Dereferencing the freed adapter (and subsequent corrupted state) can cause kernel oops/panic or otherwise crash the system, fully impacting availability.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6 to < e6412ba3b6508bdf9c074d310bf4144afa6aec1a (affected · git)611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6 to < 23a191b132cd87f746c62f3dc27da33683d85829 (affected · git)611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6 to < 871a1e94929a27bf6e2cd99523865c840bbc2d87 (affected · git)611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6 to < 81cb31756888bb062e92d2dca21cd629d77a46a9 (affected · git)611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6 to < 35927d7509ab9bf41896b7e44f639504eae08af7 (affected · git)611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6 to < e8e1a046cf87c8b1363e5de835114f2779e2aaf4 (affected · git)611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6 to < 12b0606000d0828630c033bf0c74c748464fe87d (affected · git)611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6 to < e4c72c06c367758a14f227c847f9d623f1994ecf (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.3 (affected)0 to < 4.3 (unaffected · semver)4.14.291 through 4.14.* (unaffected · semver)4.19.256 through 4.19.* (unaffected · semver)5.4.211 through 5.4.* (unaffected · semver)5.10.137 through 5.10.* (unaffected · semver)5.15.61 through 5.15.* (unaffected · semver)5.18.18 through 5.18.* (unaffected · semver)5.19.2 through 5.19.* (unaffected · semver)6.0 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/12b0606000d0828630c033bf0c74c748464fe87d
- https://git.kernel.org/stable/c/23a191b132cd87f746c62f3dc27da33683d85829
- https://git.kernel.org/stable/c/35927d7509ab9bf41896b7e44f639504eae08af7
- https://git.kernel.org/stable/c/81cb31756888bb062e92d2dca21cd629d77a46a9
- https://git.kernel.org/stable/c/871a1e94929a27bf6e2cd99523865c840bbc2d87
- https://git.kernel.org/stable/c/e4c72c06c367758a14f227c847f9d623f1994ecf
- https://git.kernel.org/stable/c/e6412ba3b6508bdf9c074d310bf4144afa6aec1a
- https://git.kernel.org/stable/c/e8e1a046cf87c8b1363e5de835114f2779e2aaf4
Provider assertions
3Linux · cna
i2c: Fix a potential use after free
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 971e3b08362e7199232a5b59db1f3fb4c1715833034a6e466ac0d3a2c064d534
- Ingested
- 23 Sep 2026, 07:46:49 UTC
- Source record
- Official CVE record