public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH v3 0/2] Reproducer for the landlock houdini bug
@ 2024-08-21 13:49 Andrea Cervesato
  2024-08-21 13:49 ` [LTP] [PATCH v3 1/2] Add SAFE_KEYCTL macro Andrea Cervesato
  2024-08-21 13:49 ` [LTP] [PATCH v3 2/2] Add landlock07 test Andrea Cervesato
  0 siblings, 2 replies; 6+ messages in thread
From: Andrea Cervesato @ 2024-08-21 13:49 UTC (permalink / raw)
  To: ltp

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 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

---
Andrea Cervesato (2):
      Add SAFE_KEYCTL macro
      Add landlock07 test

 include/lapi/keyctl.h                           |  49 +++++++++++
 runtest/syscalls                                |   1 +
 testcases/kernel/syscalls/landlock/.gitignore   |   1 +
 testcases/kernel/syscalls/landlock/landlock07.c | 109 ++++++++++++++++++++++++
 4 files changed, 160 insertions(+)
---
base-commit: edc79222abdcf32a344c806275a30a5c7cbf1ef3
change-id: 20240820-landlock_houdini-f244f52e87c3

Best regards,
-- 
Andrea Cervesato <andrea.cervesato@suse.com>


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-08-21 17:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-21 13:49 [LTP] [PATCH v3 0/2] Reproducer for the landlock houdini bug Andrea Cervesato
2024-08-21 13:49 ` [LTP] [PATCH v3 1/2] Add SAFE_KEYCTL macro Andrea Cervesato
2024-08-21 15:00   ` Cyril Hrubis
2024-08-21 13:49 ` [LTP] [PATCH v3 2/2] Add landlock07 test Andrea Cervesato
2024-08-21 15:05   ` Cyril Hrubis
2024-08-21 17:34     ` Andrea Cervesato via ltp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox