summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorJaidev Shastri <jaidevshastri@vt.edu>2026-09-21 21:16:54 -0400
committerKees Cook <kees@kernel.org>2026-09-21 20:55:04 -0700
commit7c756181175d50200be487affa905e973f6cbaf5 (patch)
treef70128673ab471e18326de3230975834c59f9722 /tools/lib/python
parent1b30df8662ac85a6759be4332f3bec7e3cb28efc (diff)
downloadlinux-next-7c756181175d50200be487affa905e973f6cbaf5.tar.gz
linux-next-7c756181175d50200be487affa905e973f6cbaf5.zip
pstore: publish big_oops_buf after max_compressed_size
allocate_buf_for_compression() stores big_oops_buf and then max_compressed_size, both with plain stores. pstore_dump() runs from kmsg_dump on any CPU, tests big_oops_buf without psinfo_lock and then reads max_compressed_size. Store the size first and publish the buffer with smp_store_release(), paired with smp_load_acquire() in pstore_dump(). Found with MBCheck, a static herd7-based memory consistency checker. Signed-off-by: Jaidev Shastri <jaidevshastri@vt.edu> Link: https://patch.msgid.link/20260921-mb-pstore-v1-1-46f9a6129d58@vt.edu Signed-off-by: Kees Cook <kees@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions