[Bug 272092] The 'see_jail_proc' security policy still allows signaling and debugging sub-jails' processes

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 28 Sep 2023 15:11:20 UTC

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


commit 5817169bc4a06a35aa5ef7f5ed18f6cb35037e18
Author:     Olivier Certner <olce.freebsd@certner.fr>
AuthorDate: 2023-08-17 23:54:38 +0000
Commit:     Mitchell Horne <mhorne@FreeBSD.org>
CommitDate: 2023-09-28 14:59:08 +0000

    Fix 'security.bsd.see_jail_proc' by using cr_bsd_visible()

    As implemented, this security policy would only prevent seeing processes
    in sub-jails, but would not prevent sending signals to, changing
    priority of or debugging processes in these, enabling attacks where
    unprivileged users could tamper with random processes in sub-jails in
    particular circumstances (conflated UIDs) despite the policy being

    PR:                     272092
    Reviewed by:            mhorne
    MFC after:              2 weeks
    Sponsored by:           Kumacom SAS
    Differential Revision:  https://reviews.freebsd.org/D40628

 sys/kern/kern_prot.c  | 25 +++++++------------------
 sys/netinet/in_prot.c |  4 +---
 2 files changed, 8 insertions(+), 21 deletions(-)

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