]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
acct: block access to kernel internal filesystems
authorChristian Brauner <brauner@kernel.org>
Tue, 11 Feb 2025 17:16:00 +0000 (18:16 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Mar 2025 15:56:39 +0000 (16:56 +0100)
commit1ffa1bfc56a2cfe4a83f8a86a139c65397600304
tree129f5ed8c34d9f0bbffc7593ded3ac56ec6b799a
parent5ee8da9bea70dda492d61f075658939af33d8410
acct: block access to kernel internal filesystems

commit 890ed45bde808c422c3c27d3285fc45affa0f930 upstream.

There's no point in allowing anything kernel internal nor procfs or
sysfs.

Link: https://lore.kernel.org/r/20250127091811.3183623-1-quzicheng@huawei.com
Link: https://lore.kernel.org/r/20250211-work-acct-v1-2-1c16aecab8b3@kernel.org
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Reported-by: Zicheng Qu <quzicheng@huawei.com>
Cc: stable@vger.kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/acct.c