MCPcopy Create free account
hub / github.com/bsauce/kernel-exploit-factory / Add_key

Function Add_key

CVE-2025-21702/exploit/exploit.c:448–454  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

446}
447
448key_serial_t Add_key(const char *type, const char *description, const void *payload, size_t plen, key_serial_t ringid)
449{
450 key_serial_t key = add_key(type, description, payload, plen, ringid);
451 if (key < 0)
452 keyutils_error("add_key");
453 return key;
454}
455
456void Keyctl_unlink(key_serial_t id, key_serial_t ringid)
457{

Callers 1

user_key_payload_allocFunction · 0.85

Calls 2

keyutils_errorFunction · 0.85
add_keyFunction · 0.50

Tested by

no test coverage detected