CVE-2019-25162
i2c: Fix a potential use after free
Reported by linux · Published February 26, 2024
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]
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel | Amazon Linux | 4.14.291-218.527.amzn2 |
| kernel-tools-devel | Amazon Linux | 4.14.291-218.527.amzn2 |
| linux-ibm | Ubuntu:22.04:LTS | 5.15.0-1018.21 |
| linux-gcp-4.15 | Ubuntu:18.04:LTS | 4.15.0-1138.154 |
| linux-kvm | Ubuntu:18.04:LTS | 4.15.0-1129.134 |
| linux | Ubuntu:20.04:LTS | 5.4.0-132.148 |
| linux-aws | Ubuntu:20.04:LTS | 5.4.0-1089.97 |
| linux-aws-fips | Ubuntu:Pro:FIPS-updates:20.04:LTS | 5.4.0-1089.97+fips1 |
| linux-gcp | Ubuntu:20.04:LTS | 5.4.0-1093.102 |
| linux-azure | Ubuntu:Pro:16.04:LTS | 4.15.0-1159.174~16.04.1 |
| linux-lts-xenial | Ubuntu:Pro:14.04:LTS | 4.4.0-253.287~14.04.1 |
| linux-fips | Ubuntu:Pro:FIPS-updates:18.04:LTS | 4.15.0-1100.111 |
28 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6, 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6, 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6 |
| Linux | Linux | 4.3, 0, 4.14.291 |
| amazon:2 | kernel | 0 |
| amazon:2 | kernel-tools-devel | 0 |
| linux | linux_kernel | 4.3, 4.3, 4.3 |
| amazon:2 | python-perf | 0 |
| amazon:2 | perf | 0 |
| amazon:2 | kernel-tools | 0 |
| amazon:2 | kernel-devel | 0 |
| Linux | Linux | 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6, 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6, 5.4.211 |
| amazon:2 | kernel-livepatch-4.14.291-218.527 | 0 |
| amazon:2 | kernel-headers | 0 |
Timeline
- Feb 26, 2024 CVE Published
- Feb 27, 2024 EPSS Score (30 in total, the first dated here)
- Mar 6, 2026 Distribution Patch (25 in total, the first dated here)
- Mar 6, 2026 Security Advisory (26 in total, the first dated here)
- Sep 11, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2019-25162
vulnetix vdb fixes CVE-2019-25162
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-25162/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart