Add test for CVE 2021-3653
PATCH v2 1/1 Add test for CVE 2021-3653
GCC 13 prints out-of-bounds warnings for statements dereferencing avic_ptr. According to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105523
this is a GCC bug.
Signed-off-by Martin Doucha <[email protected]>
---
Changes since v1:
- Added missing runfile and .gitignore entries
- Updated commit message
runtest/kvm | 1 + testcases/kernel/kvm/.gitignore | 1 + testcases/kernel/kvm/kvm_svm01.c | 123 +++++++++++++++++++++++++++++++ 3 files changed, 125 insertions(+) create mode 100644 testcases/kernel/kvm/kvm_svm01.c
runtest/kvm +1 -0
@@ -1 +1,2 @@ kvm_pagefault01 kvm_pagefault01 +kvm_svm01 kvm_svm01
testcases/kernel/kvm/.gitignore +1 -0
@@ -1 +1,2 @@ /kvm_pagefault01 +/kvm_svm01
testcases/kernel/kvm/kvm_svm01.c new file +123 -0
123 lines not on this page · raw message
Signature · 5 lines
2.40.0 -- Mailing list info: https://lists.linux.it/listinfo/ltp
Hi Martin,
Quoted 3 lines
GCC 13 prints out-of-bounds warnings for statements dereferencing
avic_ptr. According to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105523
this is a GCC bug.
Fair enough. Thanks a lot for searching and fixes, merged.
Kind regards,
Petr
Quoted 3 lines
Changes since v1:
- Added missing runfile and .gitignore entries
- Updated commit message
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp