A use-after-free exists in drivers/tee/tee_shm.c in the TEE subsystem in the Linux kernel through 5.15.11. This occurs because of a race condition in tee_shm_get_from_id during an attempt to free a shared memory object.
https://www.debian.org/security/2022/dsa-5096
https://security.netapp.com/advisory/ntap-20220114-0003/
https://lore.kernel.org/lkml/20211215092501.1861229-1-jens.wiklander%40linaro.org/
https://lists.debian.org/debian-lts-announce/2022/03/msg00012.html
https://github.com/pjlantz/optee-qemu/blob/main/README.md
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/drivers/tee/tee_shm.c