Index | Thread | Search

From:
Martin Pieuchot <mpi@grenadille.net>
Subject:
Re: Detect `wired_count' wraparound earlier
To:
tech@openbsd.org
Date:
Wed, 18 Feb 2026 08:57:06 +0100

Download raw body.

Thread
On 17/02/26(Tue) 21:01, Claudio Jeker wrote:
> On Tue, Feb 17, 2026 at 09:31:02AM +0100, Martin Pieuchot wrote:
> > The wraparound bug is still alive and hit by syzkaller:
> >   https://syzkaller.appspot.com/bug?extid=db99726653fba0697bd8
> > 
> > I'd like to be sure that the amap_copy() in uvm_map_pageable_wire() is not
> > responsible for inserting a new entry with a `wired_count' of 0.
> > 
> > ok?
>  
> Actually isn't this all because of your commit:
> https://github.com/openbsd/src/commit/834e1ba023872bfbdd8033c621ccc95fcd7617b7

It is because I added an assert which wasn't there before.  I can revert
the assert and the bug will go away.