Re: pf: DIOCXCOMMIT and copyin

2022-07-22 Thread Alexander Bluhm
On Thu, Jul 21, 2022 at 11:13:28AM +0200, Moritz Buhl wrote: > Hi tech, > > for the other two DIOCX ioctls syzkaller showed that it is possible > to grab netlock while doing copyin. > > The same problem should exist for DIOCXCOMMIT but syzkaller didn't > find it yet. > > In case anybody can repr

Re: pf: DIOCXCOMMIT and copyin

2022-07-21 Thread Alexandr Nedvedicky
Hello, On Thu, Jul 21, 2022 at 11:13:28AM +0200, Moritz Buhl wrote: > Hi tech, > > for the other two DIOCX ioctls syzkaller showed that it is possible > to grab netlock while doing copyin. > > The same problem should exist for DIOCXCOMMIT but syzkaller didn't > find it yet. > > In case anybody

pf: DIOCXCOMMIT and copyin

2022-07-21 Thread Moritz Buhl
Hi tech, for the other two DIOCX ioctls syzkaller showed that it is possible to grab netlock while doing copyin. The same problem should exist for DIOCXCOMMIT but syzkaller didn't find it yet. In case anybody can reproduce the witness lock order reversals the syzkaller can produce, the diff belo