Closed Yujie-Liu closed 1 year ago
Thanks for the heads up will take a look more closely.
Is the issue the missing "C" in "CONFIG..." in the message, leading to "ONFIG..."?
Hi @paulgazz, it is not exactly missing the "C" character, actually CONFIG_ARCH_MMAP_RND_BITS should be an integer value, but here it is assigned as a truncated string "ONFIG_ARCH_MMAP_RND_BITS_MI"
config ARCH_MMAP_RND_BITS
int "Number of bits to use for ASLR of mmap base address" if EXPERT
range ARCH_MMAP_RND_BITS_MIN ARCH_MMAP_RND_BITS_MAX
default ARCH_MMAP_RND_BITS_DEFAULT if ARCH_MMAP_RND_BITS_DEFAULT
default ARCH_MMAP_RND_BITS_MIN
depends on HAVE_ARCH_MMAP_RND_BITS
help
This value can be used to select the number of bits to use to
determine the random offset to the base address of vma regions
resulting from mmap allocations. This value will be bounded
by the architecture's minimum and maximum supported values.
This value can be changed after boot using the
/proc/sys/vm/mmap_rnd_bits tunable
Looks like I introduced a bug in v4.5 when using non-Boolean configuration option default values (to avoid the need for a user to set them). I will work on a patch and new release.
Thanks a lot for the quick fix. We've updated to v4.5.1 in the kernel test robot
$kismet --version
kmax 4.5.1
No problem @Yujie-Liu and thank you for reporting it!
Kernel developers reported that there are suspicious info in the reports from kernel test robot: https://lore.kernel.org/oe-kbuild-all/756c9659-5c7d-4e29-b5d1-76b26dd3e0c8@infradead.org/
This can be reproduced by the following steps:
We can see that the config file generated in kismet-test-cases dir has an invalid value for CONFIG_ARCH_MMAP_RND_BITS.