* [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
* [LTP] [PATCH v1 2/2] syscalls/keyctl07: Use correct CVE tag
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 ` Souta Kawahara
2023-06-20 8:30 ` Li Wang
2023-06-20 8:30 ` [LTP] [PATCH v1 1/2] testcases/kernel: Add CVE tag to some existing tests Li Wang
1 sibling, 1 reply; 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/syscalls/keyctl/keyctl07.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testcases/kernel/syscalls/keyctl/keyctl07.c b/testcases/kernel/syscalls/keyctl/keyctl07.c
index 875ef0bb8..d9e20db5f 100644
--- a/testcases/kernel/syscalls/keyctl/keyctl07.c
+++ b/testcases/kernel/syscalls/keyctl/keyctl07.c
@@ -104,7 +104,7 @@ static struct tst_test test = {
.test_all = do_test,
.forks_child = 1,
.tags = (const struct tst_tag[]) {
- {"CVE", "2017-12912"},
+ {"CVE", "2017-12192"},
{"linux-git", "37863c43b2c6"},
{}
}
--
2.31.1
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [LTP] [PATCH v1 1/2] testcases/kernel: Add CVE tag to some existing tests.
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 8:37 ` Li Wang
1 sibling, 1 reply; 7+ messages in thread
From: Li Wang @ 2023-06-20 8:30 UTC (permalink / raw)
To: Souta Kawahara; +Cc: ltp
On Tue, Jun 20, 2023 at 4:17 PM Souta Kawahara <
souta.kawahara@miraclelinux.com> wrote:
> Signed-off-by: Souta Kawahara <souta.kawahara@miraclelinux.com>
>
Reviewed-by: Li Wang <liwang@redhat.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
>
>
--
Regards,
Li Wang
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [LTP] [PATCH v1 2/2] syscalls/keyctl07: Use correct CVE tag
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
0 siblings, 1 reply; 7+ messages in thread
From: Li Wang @ 2023-06-20 8:30 UTC (permalink / raw)
To: Souta Kawahara; +Cc: ltp
On Tue, Jun 20, 2023 at 4:17 PM Souta Kawahara <
souta.kawahara@miraclelinux.com> wrote:
> Signed-off-by: Souta Kawahara <souta.kawahara@miraclelinux.com>
>
Reviewed-by: Li Wang <liwang@redhat.com>
---
> testcases/kernel/syscalls/keyctl/keyctl07.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/testcases/kernel/syscalls/keyctl/keyctl07.c
> b/testcases/kernel/syscalls/keyctl/keyctl07.c
> index 875ef0bb8..d9e20db5f 100644
> --- a/testcases/kernel/syscalls/keyctl/keyctl07.c
> +++ b/testcases/kernel/syscalls/keyctl/keyctl07.c
> @@ -104,7 +104,7 @@ static struct tst_test test = {
> .test_all = do_test,
> .forks_child = 1,
> .tags = (const struct tst_tag[]) {
> - {"CVE", "2017-12912"},
> + {"CVE", "2017-12192"},
> {"linux-git", "37863c43b2c6"},
> {}
> }
> --
> 2.31.1
>
>
> --
> Mailing list info: https://lists.linux.it/listinfo/ltp
>
>
--
Regards,
Li Wang
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [LTP] [PATCH v1 1/2] testcases/kernel: Add CVE tag to some existing tests.
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
0 siblings, 1 reply; 7+ messages in thread
From: Li Wang @ 2023-06-20 8:37 UTC (permalink / raw)
To: Souta Kawahara; +Cc: ltp
Hi,
On Tue, Jun 20, 2023 at 4:30 PM Li Wang <liwang@redhat.com> wrote:
>
>
> On Tue, Jun 20, 2023 at 4:17 PM Souta Kawahara <
> souta.kawahara@miraclelinux.com> wrote:
>
>> Signed-off-by: Souta Kawahara <souta.kawahara@miraclelinux.com>
>>
>
>
> Reviewed-by: Li Wang <liwang@redhat.com>
>
> ---
>> testcases/kernel/mem/ksm/ksm05.c | 4 ++++
>> testcases/kernel/syscalls/ipc/shmat/shmat03.c | 1 +
>>
>
My 'Reviedwed-by' applies to all except this shmat03 change.
--
Regards,
Li Wang
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [LTP] [PATCH v1 1/2] testcases/kernel: Add CVE tag to some existing tests.
2023-06-20 8:37 ` Li Wang
@ 2023-06-20 20:31 ` Petr Vorel
0 siblings, 0 replies; 7+ messages in thread
From: Petr Vorel @ 2023-06-20 20:31 UTC (permalink / raw)
To: Li Wang; +Cc: ltp
Hi Li, Souta,
...
> > ---
> >> testcases/kernel/mem/ksm/ksm05.c | 4 ++++
> >> testcases/kernel/syscalls/ipc/shmat/shmat03.c | 1 +
> My 'Reviedwed-by' applies to all except this shmat03 change.
FYI I merged it with reverted shmat03.c change.
Thanks to both!
Kind regards,
Petr
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [LTP] [PATCH v1 2/2] syscalls/keyctl07: Use correct CVE tag
2023-06-20 8:30 ` Li Wang
@ 2023-06-20 21:05 ` Petr Vorel
0 siblings, 0 replies; 7+ messages in thread
From: Petr Vorel @ 2023-06-20 21:05 UTC (permalink / raw)
To: Li Wang; +Cc: ltp
Hi Souta, Li,
thanks, merged!
Kind regards,
Petr
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [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;
as well as URLs for NNTP newsgroup(s).