From: Greg KH <gregkh@linuxfoundation.org>
To: Vic B <linux@vicb.net>
Cc: linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org,
Kees Cook <keescook@chromium.org>
Subject: Re: [PATCH] security: Restrict unprivileged access to /proc/config.gz
Date: Mon, 9 Nov 2026 15:38:16 -0500 [thread overview]
Message-ID: <2026110958-outlying-dreamy-b249@gregkh> (raw)
In-Reply-To: <avCF9zEHV48EHjgG@vicb.net>
On Sun, Nov 08, 2026 at 03:23:51PM +0100, Vic B wrote:
> When using CONFIG_IKCONFIG_PROC, the built-in configuration is
> world-readable through /proc/config.gz, which somewhat weakens existing
> address hiding defences, as it allows an unprivileged user to simply
> read built-in config from the running kernel and build their own copy
> with identical System.map.
>
> This patch adds a configuration option to restrict access to
> /proc/config.gz to superuser only.
>
> Signed-off-by: Vic B <linux@vicb.net>
Full name please.
But really, a .config file is not a secret, this isn't needed, sorry.
greg k-h
prev parent reply other threads:[~2026-11-09 20:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-08 14:23 Vic B
2026-11-09 20:38 ` Greg KH [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2026110958-outlying-dreamy-b249@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=keescook@chromium.org \
--cc=linux-hardening@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@vicb.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®