Page MenuHomeFreeBSD

netmap: Fix a race in kqueue registration
ClosedPublic

Authored by markj on Aug 5 2026, 5:37 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Sep 5, 5:27 AM
Unknown Object (File)
Sat, Sep 5, 3:01 AM
Unknown Object (File)
Wed, Sep 2, 2:11 AM
Unknown Object (File)
Wed, Sep 2, 1:55 AM
Unknown Object (File)
Tue, Sep 1, 11:13 PM
Unknown Object (File)
Mon, Aug 31, 9:13 AM
Unknown Object (File)
Sun, Aug 30, 7:53 AM
Unknown Object (File)
Tue, Aug 25, 3:13 AM

Details

Summary

We need to acquire the netmap global lock earlier, to avoid racing with
the NETMAP_REQ_REGISTER ioctl handler.

Reported by: syzkaller

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable