The ERROUT macro assumes that the rules lock is held, but some error
paths arise before that lock is acquired. Introduce ERROUT_UNLOCKED for
that case.
Reported by: syzkaller
Fixes: cc68decda316 ("pf: Reject rules with invalid port ranges")
Differential D51571
pf: Fix a lock leak in pf_ioctl_addrule() markj on Sun, Jul 27, 1:26 PM. Authored by Tags None Referenced Files
Details
The ERROUT macro assumes that the rules lock is held, but some error Reported by: syzkaller
Diff Detail
Event Timeline
|