Re: [RFC PATCH 1/6] security/fbfam: Add a Kconfig to enable the fbfam feature

From
John Wood <hidden>
Date
2020-09-17 17:43:02
Also in
linux-doc, linux-fsdevel, lkml
Reply to
Jann Horn, 2020-09-10
On Thu, Sep 10, 2020 at 11:21:58PM +0200, Jann Horn wrote:
On Thu, Sep 10, 2020 at 10:21 PM Kees Cook [off-list ref] wrote:
quoted
From: John Wood <redacted>

Add a menu entry under "Security options" to enable the "Fork brute
force attack mitigation" feature.
[...]
quoted
+config FBFAM
Please give this a more descriptive name than FBFAM. Some name where,
if a random kernel developer sees an "#ifdef" with that name in some
random piece of kernel code, they immediately have a rough idea for
what kind of feature this is.

Perhaps something like THROTTLE_FORK_CRASHES. Or something else that
is equally descriptive.
Ok, understood. This will be fixed for the next version. Thanks.
quoted
+       bool "Fork brute force attack mitigation"
+       default n
"default n" is superfluous and should AFAIK be omitted.
Ok. I will remove it. Thanks.
quoted
+       help
+         This is a user defense that detects any fork brute force attack
+         based on the application's crashing rate. When this measure is
+         triggered the fork system call is blocked.
This help text claims that the mitigation will block fork(), but patch
6/6 actually kills the process hierarchy.
Sorry, it's a mistake. It was the first idea but finally the implementation
changed and this description not was modified. Apologies. It will be fixed
for the next version.

Thanks,
John Wood
Thread (47 messages) 47 messages, 7 authors, last reply 2020-10-03
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help