[Bug 289120] A time-of-check to time-of-use race exists in gpioc_kqread() of GPIO subsystem

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 12 Sep 2025 17:43:39 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289120

--- Comment #3 from Ahmad Khalifa <vexeduxr@FreeBSD.org> ---
I can. Thank you for bringing it to my attention.

Qiu-ji:

kqueue(9) should be locking priv->mtx before calling gpioc_kqread, so this
shouldn't be a problem. Did you run into such a race? If so, do you have a way
of reproducing it?

-- 
You are receiving this mail because:
You are the assignee for the bug.