[LTP] [PATCH v4 0/2] Reproducer for the landlock houdini bug
Andrea Cervesato
andrea.cervesato@suse.de
Thu Aug 22 12:17:13 CEST 2024
More information at:
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-42318
Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com>
---
Changes in v4:
- fix compilation errors
- Link to v3: https://patchwork.ozlabs.org/project/ltp/list/?series=420318
Changes in v3:
- verify return value of keyctl() according with manual
- Link to v2: https://lore.kernel.org/r/20240821-landlock_houdini-v2-0-b46211ca64f9@suse.com
Changes in v2:
- add SAFE_KEYCTL macro
- verify in setup that landlock is activated
- Link to v1: https://lore.kernel.org/r/20240820-landlock_houdini-v1-1-ff3bffc93eaa@suse.com
Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com>
---
Andrea Cervesato (2):
Add SAFE_KEYCTL macro
Add landlock07 test
include/lapi/keyctl.h | 73 ++++++++++++++++
runtest/syscalls | 1 +
testcases/kernel/syscalls/landlock/.gitignore | 1 +
testcases/kernel/syscalls/landlock/Makefile | 3 +
testcases/kernel/syscalls/landlock/landlock07.c | 108 ++++++++++++++++++++++++
5 files changed, 186 insertions(+)
---
base-commit: 3e8fd5de333bb437b35a00d7557bbf367f5da344
change-id: 20240822-landlock_houdini-7df576807e3f
Best regards,
--
Andrea Cervesato <andrea.cervesato@suse.com>
More information about the ltp
mailing list