* [PATCH] docs: threat-model: fix /dev/kmsg reference
@ 2026-08-19 13:40 Johan Hovold
2026-08-19 13:52 ` Willy Tarreau
0 siblings, 1 reply; 2+ messages in thread
From: Johan Hovold @ 2026-08-19 13:40 UTC (permalink / raw)
To: Jonathan Corbet
Cc: Shuah Khan, Greg Kroah-Hartman, Willy Tarreau, workflows,
linux-doc, linux-kernel, Johan Hovold
Fix a '/dev/kmsg' reference which got replaced with '/proc/kmsg' (which
is not accessible to regular users).
Fixes: a03ef333fbd6 ("Documentation: security-bugs: explain what is and is not a security bug")
Signed-off-by: Johan Hovold <johan@kernel.org>
---
Documentation/process/threat-model.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/process/threat-model.rst b/Documentation/process/threat-model.rst
index a68be888ce8e..04e5df6a6f78 100644
--- a/Documentation/process/threat-model.rst
+++ b/Documentation/process/threat-model.rst
@@ -84,7 +84,7 @@ possibilities of user namespaces are not covered in this document.
The kernel also offers a lot of troubleshooting and debugging facilities, which
can constitute attack vectors when placed in wrong hands. While some of them
are designed to be accessible to regular local users with a low risk (e.g.
-kernel logs via ``/proc/kmsg``), some would expose enough information to
+kernel logs via ``/dev/kmsg``), some would expose enough information to
represent a risk in most places and the decision to expose them is under the
administrator's responsibility (perf events, traces), and others are not
designed to be accessed by non-privileged users (e.g. debugfs). Access to these
--
2.54.0
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] docs: threat-model: fix /dev/kmsg reference
2026-08-19 13:40 [PATCH] docs: threat-model: fix /dev/kmsg reference Johan Hovold
@ 2026-08-19 13:52 ` Willy Tarreau
0 siblings, 0 replies; 2+ messages in thread
From: Willy Tarreau @ 2026-08-19 13:52 UTC (permalink / raw)
To: Johan Hovold
Cc: Jonathan Corbet, Shuah Khan, Greg Kroah-Hartman, workflows,
linux-doc, linux-kernel
Hi Johan,
On Wed, Aug 19, 2026 at 03:40:39PM +0200, Johan Hovold wrote:
> Fix a '/dev/kmsg' reference which got replaced with '/proc/kmsg' (which
> is not accessible to regular users).
Actually it wasn't "replaced", it's because I didn't know about /dev/kmsg,
for having been used to /proc/kmsg for decades long before its /dev cousin
was born :-)
> Fixes: a03ef333fbd6 ("Documentation: security-bugs: explain what is and is not a security bug")
> Signed-off-by: Johan Hovold <johan@kernel.org>
Acked-by: Willy Tarreau <w@1wt.eu>
Thanks,
Willy
> ---
> Documentation/process/threat-model.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/process/threat-model.rst b/Documentation/process/threat-model.rst
> index a68be888ce8e..04e5df6a6f78 100644
> --- a/Documentation/process/threat-model.rst
> +++ b/Documentation/process/threat-model.rst
> @@ -84,7 +84,7 @@ possibilities of user namespaces are not covered in this document.
> The kernel also offers a lot of troubleshooting and debugging facilities, which
> can constitute attack vectors when placed in wrong hands. While some of them
> are designed to be accessible to regular local users with a low risk (e.g.
> -kernel logs via ``/proc/kmsg``), some would expose enough information to
> +kernel logs via ``/dev/kmsg``), some would expose enough information to
> represent a risk in most places and the decision to expose them is under the
> administrator's responsibility (perf events, traces), and others are not
> designed to be accessed by non-privileged users (e.g. debugfs). Access to these
> --
> 2.54.0
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-08-19 13:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-19 13:40 [PATCH] docs: threat-model: fix /dev/kmsg reference Johan Hovold
2026-08-19 13:52 ` Willy Tarreau
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox