In the Linux kernel before 5.3.11, sound/core/timer.c has a use-after-free caused by erroneous code refactoring, aka CID-e7af6307a8a5. This is related to snd_timer_open and snd_timer_close_locked. The timeri variable was originally intended to be for a newly created timer instance, but was used for a different purpose after refactoring.
https://usn.ubuntu.com/4227-2/
https://usn.ubuntu.com/4227-1/
https://usn.ubuntu.com/4225-1/
https://security.netapp.com/advisory/ntap-20200103-0001/
https://github.com/torvalds/linux/commit/e7af6307a8a54f0b873960b32b6a644f2d0fbd97
https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.3.11