CVE Vulnerabilities

CVE-2021-22600

Double Free

Published: Jan 26, 2022 | Modified: Jun 26, 2023
CVSS 3.x
7
HIGH
Source:
NVD
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
7.2 HIGH
AV:L/AC:L/Au:N/C:C/I:C/A:C
RedHat/V2
RedHat/V3
Ubuntu

A double free bug in packet_set_ring() in net/packet/af_packet.c can be exploited by a local user through crafted syscalls to escalate privileges or deny service. We recommend upgrading kernel past the effected versions or rebuilding past ec6af094ea28f0f2dda1a6a33b14cd57e36a9755

Weakness

The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations.

Affected Software

Name Vendor Start Version End Version
Linux_kernel Linux 4.14.175 (including) 4.14.259 (excluding)
Linux_kernel Linux 4.19.114 (including) 4.19.222 (excluding)
Linux_kernel Linux 5.4.29 (including) 5.4.168 (excluding)
Linux_kernel Linux 5.5.14 (including) 5.10.88 (excluding)
Linux_kernel Linux 5.11 (including) 5.15.11 (excluding)

Potential Mitigations

References