An issue was discovered in the Linux kernel through 6.0.6. drivers/char/pcmcia/scr24x_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 scr24x_open() and scr24x_remove().
https://lore.kernel.org/lkml/20220919101825.GA313940%40ubuntu/
https://lore.kernel.org/lkml/20220916050333.GA188358%40ubuntu/