[Bug 289917] PID leak in proc_id_reapmap
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 289917] PID leak in proc_id_reapmap"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 06 Oct 2025 16:49:10 UTC
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.