An issue was discovered in the Linux kernel through 6.0.6. drivers/char/pcmcia/cm4000_cs.c has a race condition and resultant use-after-free if a physically proximate attacker removes a PCMCIA device while calling open(), aka a race condition between cmm_open() and cm4000_detach().
https://lore.kernel.org/lkml/20220919040701.GA302806%40ubuntu/
https://lore.kernel.org/lkml/20220915020834.GA110086%40ubuntu/