NetBSD Problem Report #60233
From www@netbsd.org Thu May 7 05:56:06 2026
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (2048 bits)
client-signature RSA-PSS (2048 bits))
(Client CN "mail.netbsd.org", Issuer "R13" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 7D3D51A9239
for <gnats-bugs@gnats.NetBSD.org>; Thu, 7 May 2026 05:56:06 +0000 (UTC)
Message-Id: <20260507055605.7B70E1A923A@mollari.NetBSD.org>
Date: Thu, 7 May 2026 05:56:05 +0000 (UTC)
From: thorpej@me.com
Reply-To: thorpej@me.com
To: gnats-bugs@NetBSD.org
Subject: UVM does not seem to initialize mod/ref state for a freshly-allocated page
X-Send-Pr-Version: www-1.0
X-From4GNATS: "thorpej@me.com via gnats" <gnats-admin@NetBSD.org>
>Number: 60233
>Category: kern
>Synopsis: UVM does not seem to initialize mod/ref state for a freshly-allocated page
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu May 07 06:00:00 +0000 2026
>Originator: Jason Thorpe
>Release: NetBSD 11 and later
>Organization:
Society for Aspiring Unix Grey-beards
>Environment:
This is a generic problem
>Description:
UVM seems to not initialize the mod/ref state for a page freshly pulled from a page free list. Of course, this page was free, and so the mod/ref state should be pristine.
It stands to reason that such a page should start out with mod and ref being false. Perhaps this gets harmonized later once the page is part of a ZFOD or a page-in or something. But I thought I'd file this PR so that I don't forget to at least bring it up at some point.
>How-To-Repeat:
N/A
>Fix:
N/A
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.