Skip to contentSkip to conversation

kill13, CVE-2018-10124: Reproduce INT_MIN negation

PATCH New Richard Palethorpe 3 participants 4 messages Jul 7, 2021 – Jul 8, 2021

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 kill13, CVE-2018-10124: Reproduce INT_MIN negation

---

V2:
* Add more explanation
* Set signal to 0
* Require signed overflow detection in the kernel

 runtest/cve                               |  1 +
 runtest/syscalls                          |  1 +
 testcases/kernel/syscalls/kill/.gitignore |  1 +
 testcases/kernel/syscalls/kill/kill13.c   | 45 +++++++++++++++++++++++
 4 files changed, 48 insertions(+)
 create mode 100644 testcases/kernel/syscalls/kill/kill13.c
runtest/cve +1 -0
index 5a6ef966d..226b5ea44 100644
@@ -49,6 +49,7 @@ cve-2018-5803 sctp_big_chunk
 cve-2018-7566 snd_seq01
 cve-2018-8897 ptrace09
 cve-2018-9568 connect02
+cve-2018-10124 kill13
 cve-2018-1000001 realpath01
 cve-2018-1000199 ptrace08
 cve-2018-1000204 ioctl_sg01
runtest/syscalls +1 -0
index 98fe3c02e..0c1e16f9e 100644
@@ -644,6 +644,7 @@ kill09 kill09
 kill10 kill10
 kill11 kill11
 kill12 kill12
+kill13 kill13
 
 lchown01 lchown01
 lchown01_16 lchown01_16
testcases/kernel/syscalls/kill/.gitignore +1 -0
index 75fdaa561..810ed0200 100644
@@ -8,3 +8,4 @@
 /kill10
 /kill11
 /kill12
+/kill13
testcases/kernel/syscalls/kill/kill13.c new file +45 -0

45 lines not on this page · raw message

Signature · 1 line
2.31.1
#2 lore raw

PATCH v2 1/1 kill13, CVE-2018-10124: Reproduce INT_MIN negation

Hi Cyril, Richard

Quoted 3 lines

Hi!
Both pushed, thanks.

It seems wait403 doesn't use correct doc format.

It used the following style.
/*
* [Description]

Best Regards
Yang Xu

#3 lore raw

PATCH v2 1/1 kill13, CVE-2018-10124: Reproduce INT_MIN negation

Hi!

Quoted 7 lines
Quoted 2 lines

Both pushed, thanks.

It seems wait403 doesn't use correct doc format.

It used the following style.
/*
* [Description]

Good catch, I've missed that, will fix it ASAP.

Signature · 2 lines
Cyril Hrubis
[email protected]