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