Lines Matching full:negative
8 * negative key"). This is CVE-2017-12192.
28 * request_key() will result in the creation of a negative key provided in try_to_read_negative_key()
34 * instantiate random user keys). In either case a negative key should in try_to_read_negative_key()
35 * be created and we can continue on with the test. Negative keys last in try_to_read_negative_key()
48 /* Get the ID of the negative key by reading the keyring */ in try_to_read_negative_key()
59 * Now try to read the negative key. Unpatched kernels will oops trying in try_to_read_negative_key()
62 tst_res(TINFO, "trying to read from the negative key..."); in try_to_read_negative_key()
66 "KEYCTL_READ on negative key unexpectedly succeeded"); in try_to_read_negative_key()
70 "KEYCTL_READ on negative key failed with unexpected error"); in try_to_read_negative_key()
73 "KEYCTL_READ on negative key expectedly failed with ENOKEY"); in try_to_read_negative_key()
88 tst_res(TPASS, "didn't crash while reading from negative key"); in do_test()
93 tst_res(TFAIL, "reading from negative key caused kernel oops"); in do_test()