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]
Metrics
CVSS 3.1 7.8/10
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6, < e6412ba3b6508bdf9c074d310bf4144afa6aec1a; >= 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6, < 23a191b132cd87f746c62f3dc27da33683d85829; >= 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6, < 871a1e94929a27bf6e2cd99523865c840bbc2d87; >= 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6, < 81cb31756888bb062e92d2dca21cd629d77a46a9; >= 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6, < 35927d7509ab9bf41896b7e44f639504eae08af7; >= 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6, < e8e1a046cf87c8b1363e5de835114f2779e2aaf4; >= 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6, < 12b0606000d0828630c033bf0c74c748464fe87d; >= 611e12ea0f121a31d9e9c4ce2a18a77abc2f28d6, < e4c72c06c367758a14f227c847f9d623f1994ecf |
| Linux | Linux | 4.3 |
References
- https://git.kernel.org/stable/c/12b0606000d0828630c033bf0c74c748464fe87dPatch
- https://git.kernel.org/stable/c/23a191b132cd87f746c62f3dc27da33683d85829Patch
- https://git.kernel.org/stable/c/35927d7509ab9bf41896b7e44f639504eae08af7Patch
- https://git.kernel.org/stable/c/81cb31756888bb062e92d2dca21cd629d77a46a9Patch
- https://git.kernel.org/stable/c/871a1e94929a27bf6e2cd99523865c840bbc2d87Patch
- https://git.kernel.org/stable/c/e4c72c06c367758a14f227c847f9d623f1994ecfPatch
- https://git.kernel.org/stable/c/e6412ba3b6508bdf9c074d310bf4144afa6aec1aPatch
- https://git.kernel.org/stable/c/e8e1a046cf87c8b1363e5de835114f2779e2aaf4Patch
- https://git.kernel.org/stable/c/12b0606000d0828630c033bf0c74c748464fe87dPatch
- https://git.kernel.org/stable/c/23a191b132cd87f746c62f3dc27da33683d85829Patch
- https://git.kernel.org/stable/c/35927d7509ab9bf41896b7e44f639504eae08af7Patch
- https://git.kernel.org/stable/c/81cb31756888bb062e92d2dca21cd629d77a46a9Patch
- https://git.kernel.org/stable/c/871a1e94929a27bf6e2cd99523865c840bbc2d87Patch
- https://git.kernel.org/stable/c/e4c72c06c367758a14f227c847f9d623f1994ecfPatch
- https://git.kernel.org/stable/c/e6412ba3b6508bdf9c074d310bf4144afa6aec1aPatch
- https://git.kernel.org/stable/c/e8e1a046cf87c8b1363e5de835114f2779e2aaf4Patch
Timeline
- Published
- Feb 26, 2024
- Last modified
- Aug 4, 2026
- NVD status
- Modified