PT-2021-4066 · Linux+1 · Linux Kernel+1
Norbert Slusarek
·
Published
2021-05-11
·
Updated
2025-09-29
·
CVE-2021-32606
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel versions 5.11 through 5.12.2
Description
The issue is related to the
isotp setsockopt function in the net/can/isotp.c component of the Linux kernel, which involves the use of memory after it has been freed. This can allow an attacker to access confidential data, compromise its integrity, and cause a denial of service. The vulnerability can also be exploited for privilege escalation to root by leveraging the use-after-free, affecting the Linux kernel versions 5.11 through 5.12.2. Earlier versions that lack CAN ISOTP SF BROADCAST support are not affected.Recommendations
For Linux kernel versions 5.11 through 5.12.2, update to a version that includes the fix for the
isotp setsockopt use-after-free issue.
As a temporary workaround, consider restricting access to the isotp setsockopt function in the net/can/isotp.c component until a patch is available.Exploit
Fix
Use After Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Linux Kernel