comedi: fix race between polling and detaching (CVE-2025-38687) | HOL Guard CVE