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.
https://sourceware.org/bugzilla/show_bug.cgi?id=27896#c1
https://sourceware.org/bugzilla/show_bug.cgi?id=27896
https://security.netapp.com/advisory/ntap-20210629-0005/
https://security.gentoo.org/glsa/202107-07
https://lists.debian.org/debian-lts-announce/2022/10/msg00021.html