CVE Vulnerabilities

CVE-2021-29627

Double Free

Published: Apr 07, 2021 | Modified: Nov 21, 2024
CVSS 3.x
7.8
HIGH
Source:
NVD
CVSS:3.1/AV:L/AC:L/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
root.io logo minimus.io logo echo.ai logo

In FreeBSD 13.0-STABLE before n245050, 12.2-STABLE before r369525, 13.0-RC4 before p0, and 12.2-RELEASE before p6, listening socket accept filters implementing the accf_create callback incorrectly freed a process supplied argument string. Additional operations on the socket can lead to a double free or use after free.

Weakness

The product calls free() twice on the same memory address.

Affected Software

NameVendorStart VersionEnd Version
FreebsdFreebsd12.0 (including)12.2 (excluding)
FreebsdFreebsd12.2 (including)12.2 (including)
FreebsdFreebsd12.2-p1 (including)12.2-p1 (including)
FreebsdFreebsd12.2-p2 (including)12.2-p2 (including)
FreebsdFreebsd13.0-beta1 (including)13.0-beta1 (including)
FreebsdFreebsd13.0-beta2 (including)13.0-beta2 (including)
FreebsdFreebsd13.0-beta3 (including)13.0-beta3 (including)
FreebsdFreebsd13.0-beta4 (including)13.0-beta4 (including)
FreebsdFreebsd13.0-rc1 (including)13.0-rc1 (including)
FreebsdFreebsd13.0-rc2 (including)13.0-rc2 (including)
FreebsdFreebsd13.0-rc3 (including)13.0-rc3 (including)

Potential Mitigations

References