Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1616417
| From | Kees Cook <keescook@chromium.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v2] bug: further enhance use of CHECK_DATA_CORRUPTION |
| Date | 2017-04-05 00:20 +0200 |
| Message-ID | <tsEXT-2s7-5@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
This continues in applying the CHECK_DATA_CORRUPTION tests where appropriate, and pulling similar CONFIGs under the same check. Most notably, this adds the checks to refcount_t so that system builders can Oops their kernels when encountering a potential refcounter attack. (And so now the LKDTM tests for refcount issues pass correctly.) The series depends on the changes in -next made to lib/refcount.c, so it might be easiest if this goes through the locking tree... v2 is a rebase to -next and adjusts to using WARN_ONCE() instead of WARN(). -Kees v1 was here: https://lkml.org/lkml/2017/3/6/720
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH v2] bug: further enhance use of CHECK_DATA_CORRUPTION Kees Cook <keescook@chromium.org> - 2017-04-05 00:20 +0200 [PATCH v2 5/7] bug: Enable DEBUG_SG under BUG_ON_DATA_CORRUPTION Kees Cook <keescook@chromium.org> - 2017-04-05 00:20 +0200 [PATCH v2 3/7] bug: Use WARN_ONCE() for CHECK_DATA_CORRUPTION() Kees Cook <keescook@chromium.org> - 2017-04-05 00:20 +0200 [PATCH v2 2/7] bug: Improve unlikely() in data corruption check Kees Cook <keescook@chromium.org> - 2017-04-05 00:20 +0200
csiph-web