Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Oct 2025 16:49:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 289917] PID leak in proc_id_reapmap
Message-ID:  <bug-289917-227-A7Pa5znxZE@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-289917-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289917

--- Comment #5 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=f19ef352ec63f9fcc10076a263b8ce402ba31379

commit f19ef352ec63f9fcc10076a263b8ce402ba31379
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2025-10-01 03:17:31 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2025-10-06 16:48:26 +0000

    kern_exit.c: do not leak reaper bitmap busy bits

    When re-assigning p_reapsubtree value, we must check if the result of
    obliterating the old value would free the corresponding pid in the
    proc_id_reap bitmap, and indeed free it when needed.

    PR:     289917
    Reported by:    avg
    Reviewed by:    avg, markj
    Tested by:      pho
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
    Differential revision:  https://reviews.freebsd.org/D52814

 sys/kern/kern_exit.c | 46 +++++++++++++++++++++++-----------------------
 1 file changed, 23 insertions(+), 23 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.

help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-289917-227-A7Pa5znxZE>