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
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=dfd0743f1d9ea76931510ed150334d571fbab49d
Source: Mitre, NVD
Published: 2021-12-22
Updated: 2026-08-05
Base Score: 4.4
Vector: CVSS2#AV:L/AC:M/Au:N/C:P/I:P/A:P
Severity: Medium
Base Score: 7
Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Severity: High
EPSS: 0.00208