public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH v1 1/2] testcases/kernel: Add CVE tag to some existing tests.
@ 2023-06-20  8:08 Souta Kawahara
  2023-06-20  8:08 ` [LTP] [PATCH v1 2/2] syscalls/keyctl07: Use correct CVE tag Souta Kawahara
  2023-06-20  8:30 ` [LTP] [PATCH v1 1/2] testcases/kernel: Add CVE tag to some existing tests Li Wang
  0 siblings, 2 replies; 7+ messages in thread
From: Souta Kawahara @ 2023-06-20  8:08 UTC (permalink / raw)
  To: ltp

Signed-off-by: Souta Kawahara <souta.kawahara@miraclelinux.com>
---
 testcases/kernel/mem/ksm/ksm05.c                    | 4 ++++
 testcases/kernel/syscalls/ipc/shmat/shmat03.c       | 1 +
 testcases/kernel/syscalls/keyctl/keyctl02.c         | 1 +
 testcases/kernel/syscalls/setsockopt/setsockopt02.c | 4 ++++
 testcases/kernel/syscalls/uname/uname04.c           | 4 ++++
 5 files changed, 14 insertions(+)

diff --git a/testcases/kernel/mem/ksm/ksm05.c b/testcases/kernel/mem/ksm/ksm05.c
index 25f3435b2..1f58c8325 100644
--- a/testcases/kernel/mem/ksm/ksm05.c
+++ b/testcases/kernel/mem/ksm/ksm05.c
@@ -95,6 +95,10 @@ static struct tst_test test = {
 		"CONFIG_KSM=y",
 		NULL
 	},
+	.tags = (const struct tst_tag[]) {
+		{"CVE", "2011-2183"},
+		{}
+	}
 };
 
 #else
diff --git a/testcases/kernel/syscalls/ipc/shmat/shmat03.c b/testcases/kernel/syscalls/ipc/shmat/shmat03.c
index dfa427a56..16bf01009 100644
--- a/testcases/kernel/syscalls/ipc/shmat/shmat03.c
+++ b/testcases/kernel/syscalls/ipc/shmat/shmat03.c
@@ -104,6 +104,7 @@ static struct tst_test test = {
 		{"linux-git", "95e91b831f87"},
 		{"linux-git", "a73ab244f0da"},
 		{"linux-git", "8f89c007b6de"},
+		{"CVE", "2017-5669"},
 		{}
 	}
 };
diff --git a/testcases/kernel/syscalls/keyctl/keyctl02.c b/testcases/kernel/syscalls/keyctl/keyctl02.c
index 572f34b16..35cc2838d 100644
--- a/testcases/kernel/syscalls/keyctl/keyctl02.c
+++ b/testcases/kernel/syscalls/keyctl/keyctl02.c
@@ -144,6 +144,7 @@ static struct tst_test test = {
 	.test_all = do_test,
 	.tags = (const struct tst_tag[]) {
 		{"linux-git", "b4a1b4f5047e"},
+		{"CVE", "2015-7550"},
 		{}
 	}
 };
diff --git a/testcases/kernel/syscalls/setsockopt/setsockopt02.c b/testcases/kernel/syscalls/setsockopt/setsockopt02.c
index e7621538b..3349c9970 100644
--- a/testcases/kernel/syscalls/setsockopt/setsockopt02.c
+++ b/testcases/kernel/syscalls/setsockopt/setsockopt02.c
@@ -96,4 +96,8 @@ static struct tst_test test = {
 	.needs_root = 1,
 	.setup = setup,
 	.cleanup = cleanup,
+	.tags = (const struct tst_tag[]) {
+		{"CVE", "2017-7308"},
+		{}
+	}
 };
diff --git a/testcases/kernel/syscalls/uname/uname04.c b/testcases/kernel/syscalls/uname/uname04.c
index 2d0851c8b..885368c24 100644
--- a/testcases/kernel/syscalls/uname/uname04.c
+++ b/testcases/kernel/syscalls/uname/uname04.c
@@ -79,4 +79,8 @@ static void run(unsigned int test_nr)
 static struct tst_test test = {
 	.test = run,
 	.tcnt = 2,
+	.tags = (const struct tst_tag[]) {
+		{"CVE", "2012-0957"},
+		{}
+	}
 };
-- 
2.31.1


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

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

end of thread, other threads:[~2023-06-20 21:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-20  8:08 [LTP] [PATCH v1 1/2] testcases/kernel: Add CVE tag to some existing tests Souta Kawahara
2023-06-20  8:08 ` [LTP] [PATCH v1 2/2] syscalls/keyctl07: Use correct CVE tag Souta Kawahara
2023-06-20  8:30   ` Li Wang
2023-06-20 21:05     ` Petr Vorel
2023-06-20  8:30 ` [LTP] [PATCH v1 1/2] testcases/kernel: Add CVE tag to some existing tests Li Wang
2023-06-20  8:37   ` Li Wang
2023-06-20 20:31     ` Petr Vorel

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