The branch stable/15 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=53a78e582a6f4c74ff9f8a49c942bf4a675d4403
commit 53a78e582a6f4c74ff9f8a49c942bf4a675d4403 Author: Mark Johnston <[email protected]> AuthorDate: 2026-05-19 00:09:54 +0000 Commit: Mark Johnston <[email protected]> CommitDate: 2026-05-20 19:36:00 +0000 netmap: Drain selinfo sleepers in nm_os_selinfo_uninit() Approved by: so Security: FreeBSD-SA-26:19.file Security: CVE-2026-45251 --- sys/dev/netmap/netmap_freebsd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/netmap/netmap_freebsd.c b/sys/dev/netmap/netmap_freebsd.c index 9fb4370129f3..2241bfc970a6 100644 --- a/sys/dev/netmap/netmap_freebsd.c +++ b/sys/dev/netmap/netmap_freebsd.c @@ -119,6 +119,7 @@ nm_os_selinfo_uninit(NM_SELINFO_T *si) taskqueue_drain(si->ntfytq, &si->ntfytask); taskqueue_free(si->ntfytq); si->ntfytq = NULL; + seldrain(&si->si); knlist_delete(&si->si.si_note, curthread, /*islocked=*/0); knlist_destroy(&si->si.si_note); /* now we don't need the mutex anymore */
