This is a note to let you know that I've just added the patch titled lkdtm/bugs: XFAIL UNALIGNED_LOAD_STORE_WRITE to the 5.12-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: lkdtm-bugs-xfail-unaligned_load_store_write.patch and it can be found in the queue-5.12 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From a15676ac8f24a9ac5fd881cf17be4be13fa0910a Mon Sep 17 00:00:00 2001 From: Kees Cook <keescook@xxxxxxxxxxxx> Date: Wed, 23 Jun 2021 13:39:31 -0700 Subject: lkdtm/bugs: XFAIL UNALIGNED_LOAD_STORE_WRITE From: Kees Cook <keescook@xxxxxxxxxxxx> commit a15676ac8f24a9ac5fd881cf17be4be13fa0910a upstream. When built under CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS, this test is expected to fail (i.e. not trip an exception). Fixes: 46d1a0f03d66 ("selftests/lkdtm: Add tests for LKDTM targets") Cc: stable@xxxxxxxxxxxxxxx Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx> Link: https://lore.kernel.org/r/20210623203936.3151093-5-keescook@xxxxxxxxxxxx Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- drivers/misc/lkdtm/bugs.c | 3 +++ 1 file changed, 3 insertions(+) --- a/drivers/misc/lkdtm/bugs.c +++ b/drivers/misc/lkdtm/bugs.c @@ -144,6 +144,9 @@ void lkdtm_UNALIGNED_LOAD_STORE_WRITE(vo if (*p == 0) val = 0x87654321; *p = val; + + if (IS_ENABLED(CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS)) + pr_err("XFAIL: arch has CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS\n"); } void lkdtm_SOFTLOCKUP(void) Patches currently in stable-queue which might be from keescook@xxxxxxxxxxxx are queue-5.12/selftests-lkdtm-fix-expected-text-for-cr4-pinning.patch queue-5.12/wireless-wext-spy-fix-out-of-bounds-warning.patch queue-5.12/drm-i915-display-do-not-zero-past-infoframes.vsc.patch queue-5.12/drm-amd-display-avoid-hdcp-over-read-and-corruption.patch queue-5.12/lkdtm-bugs-xfail-unaligned_load_store_write.patch queue-5.12/qemu_fw_cfg-make-fw_cfg_rev_attr-a-proper-kobj_attribute.patch queue-5.12/lkdtm-enable-double_fault-on-all-architectures.patch queue-5.12/docs-makefile-use-config_shell-not-shell.patch