{"id":"CVE-2024-36031","published":"2024-05-30T15:23:46Z","modified":"2026-05-23T15:46:34Z","title":"keys: Fix overwrite of key expiration on instantiation","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nkeys: Fix overwrite of key expiration on instantiation\n\nThe expiry time of a key is unconditionally overwritten during\ninstantiation, defaulting to turn it permanent. This causes a problem\nfor DNS resolution as the expiration set by user-space is overwritten to\nTIME64_MAX, disabling further DNS updates. Fix this by restoring the\ncondition that key_set_expiry is only called when the pre-parser sets a\nspecific expiry.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00747,"percentile":0.5576,"provenance":"source"},"cwes":[{"id":"CWE-324","name":"Use of a Key Past its Expiration Date"}],"references":[{"url":"https://git.kernel.org/stable/c/ad2011ea787928b2accb5134f1e423b11fe80a8a","tags":[]},{"url":"https://git.kernel.org/stable/c/ed79b93f725cd0da39a265dc23d77add1527b9be","tags":[]},{"url":"https://git.kernel.org/stable/c/e4519a016650e952ad9eb27937f8c447d5a4e06d","tags":[]},{"url":"https://git.kernel.org/stable/c/25777f3f4e1f371d16a594925f31e37ce07b6ec7","tags":[]},{"url":"https://git.kernel.org/stable/c/939a08bcd4334bad4b201e60bd0ae1f278d71d41","tags":[]},{"url":"https://git.kernel.org/stable/c/cc219cb8afbc40ec100c0de941047bb29373126a","tags":[]},{"url":"https://git.kernel.org/stable/c/9da27fb65a14c18efd4473e2e82b76b53ba60252","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00019.html","tags":[]}],"priority":{"score":18.0,"factors":[{"name":"EPSS percentile","points":11.15},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 97be1e865e70e5a0ad0a5b5f5dca5031ca0b53ac, < ad2011ea787928b2accb5134f1e423b11fe80a8a",">= 2552b32b0b349df160a509fe49f5f308cb922f2b, < ed79b93f725cd0da39a265dc23d77add1527b9be",">= 791d5409cdb974c31a1bc7a903ea729ddc7d83df, < e4519a016650e952ad9eb27937f8c447d5a4e06d",">= afc360e8a1256acb7579a6f5b6f2c30b85b39301, < 25777f3f4e1f371d16a594925f31e37ce07b6ec7",">= 39299bdd2546688d92ed9db4948f6219ca1b9542, < 939a08bcd4334bad4b201e60bd0ae1f278d71d41",">= 39299bdd2546688d92ed9db4948f6219ca1b9542, < cc219cb8afbc40ec100c0de941047bb29373126a",">= 39299bdd2546688d92ed9db4948f6219ca1b9542, < 9da27fb65a14c18efd4473e2e82b76b53ba60252",">= 5.10.206, < 5.10.217",">= 5.15.146, < 5.15.159",">= 6.1.70, < 6.1.91"]},{"vendor":"Linux","product":"Linux","versions":["6.7"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2024-06-05T14:16:33.695503Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-35841","exploited":false,"provenance":"source"}}