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]
Platform | Package | Release Date | Advisory |
---|---|---|---|
Amazon Linux 2 - Core | kernel | 2022-09-01 21:09 | ALAS2-2022-1838 |
Amazon Linux 2 - Kernel-5.10 Extra | kernel | 2022-09-30 07:10 | ALAS2KERNEL-5.10-2022-020 |
Amazon Linux 2 - Kernel-5.15 Extra | kernel | 2022-09-30 07:10 | ALAS2KERNEL-5.15-2022-008 |
Amazon Linux 2 - Kernel-5.4 Extra | kernel | 2022-09-30 07:10 | ALAS2KERNEL-5.4-2022-036 |
Score Type | Score | Vector | |
---|---|---|---|
Amazon Linux | CVSSv3 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
NVD | CVSSv3 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |