diff options
| author | Alexander Potapenko <glider@google.com> | 2020-05-27 22:20:52 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2021-02-26 02:23:56 -0800 |
| commit | 35717130ea025cc33395d7e3976b6a315038532d (patch) | |
| tree | 0410a803747ede1bed77de14a6ce3ee1f576261e /net/tipc/socket.c | |
| parent | 66b4b5d53454291e6f81baf5d0d4f03d680d492e (diff) | |
fs/binfmt_elf.c: allocate initialized memory in fill_thread_core_info()
KMSAN reported uninitialized data being written to disk when dumping
core. As a result, several kilobytes of kmalloc memory may be written
to the core file and then read by a non-privileged user.
Reported-by: sam <sunhaoyl@outlook.com>
Signed-off-by: Alexander Potapenko <glider@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Kees Cook <keescook@chromium.org>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Cc: <stable@vger.kernel.org>
Link: http://lkml.kernel.org/r/20200419100848.63472-1-glider@google.com
Link: https://github.com/google/kmsan/issues/76
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Change-Id: I520891209b7c6668ed8595fee508d63c6f12827b
Git-commit: 1d605416fb7175e1adf094251466caa52093b413
Git-repo: https://android.googlesource.com/kernel/msm
Signed-off-by: urevanth <urevanth@codeaurora.org>
Diffstat (limited to 'net/tipc/socket.c')
0 files changed, 0 insertions, 0 deletions
