[PATCH 0/5] Add extra sanity checks on mmap'd physical memory
Colin King
colin.king at canonical.com
Wed Jul 12 12:53:29 UTC 2017
From: Colin Ian King <colin.king at canonical.com>
URGENT for July release
It has been reported that the BIOS32 test generates a SIGBUS when reading
a memory mapped physical region on aarch64 platforms. To catch
non-readable mappings like this I've added some precautionary memory read
checks. There are some other mappings like this in fwts, but these are
the ones I'm primarily mostly concerned about for the current July release
of fwts.
Colin Ian King (5):
dmi: dmicheck: ensure mmap'd SMBIOS data is readable before accessing
it
bios32: ensure mmap'd memory is readable before accessing it
bios: ebdadump: ensure mmap'd memory is readable before accessing it
bios: romdump: ensure mmap'd memory is readable before accessing it
lib: fwts_smbios: ensure mmap'd memory is readable before accessing it
src/bios/bios32/bios32.c | 5 +++++
src/bios/ebdadump/ebdadump.c | 5 ++++-
src/bios/romdump/romdump.c | 4 ++++
src/dmi/dmicheck/dmicheck.c | 12 ++++++++++++
src/lib/src/fwts_smbios.c | 36 +++++++++++++++++++++++++-----------
5 files changed, 50 insertions(+), 12 deletions(-)
--
2.11.0
More information about the fwts-devel
mailing list