commit | 896e32b4149efb31bf4cdaa9cfebcbaab1d5f61a | [log] [tgz] |
---|---|---|
author | Andrew Boie <andrew.p.boie@intel.com> | Thu Feb 20 17:28:56 2020 -0800 |
committer | Andrew Boie <andrewboie@gmail.com> | Fri Feb 21 08:57:07 2020 -0800 |
tree | 885d670a19b9913577903ea664aa9615272e5970 | |
parent | 2be22c047366edcbed5c2f59da176dc47c37b036 [diff] |
kernel: remove problematic pend() assertion This assertion, if built in, allows users threads to crash the kernel in a critical section by passing a negative timeout value, creating a DoS attack vector. Remove this assertion, immediately below it there's a check which just resets it to 0 anyway. Fixes: #22999 Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>