The mq_notify function in the GNU C Library (aka glibc) versions 2.32 and 2.33 has a use-after-free. It may use the notification thread attributes object (passed through its struct sigevent parameter) after it has been freed by the caller, leading to a denial of service (application crash) or possibly unspecified other impact.
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Glibc | Gnu | 2.32 (including) | 2.32 (including) |
Glibc | Gnu | 2.33 (including) | 2.33 (including) |
Red Hat Enterprise Linux 8 | RedHat | glibc-0:2.28-164.el8 | * |
Red Hat Enterprise Linux 8 | RedHat | glibc-0:2.28-164.el8 | * |
Eglibc | Ubuntu | esm-infra-legacy/trusty | * |
Eglibc | Ubuntu | trusty | * |
Eglibc | Ubuntu | trusty/esm | * |
Glibc | Ubuntu | bionic | * |
Glibc | Ubuntu | esm-infra/bionic | * |
Glibc | Ubuntu | esm-infra/focal | * |
Glibc | Ubuntu | esm-infra/xenial | * |
Glibc | Ubuntu | focal | * |
Glibc | Ubuntu | groovy | * |
Glibc | Ubuntu | hirsute | * |
Glibc | Ubuntu | upstream | * |
Glibc | Ubuntu | xenial | * |