{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-36031","id":"CVE-2024-36031","title":"keys: Fix overwrite of key expiration on instantiation","description":"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\n","descriptionLong":"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.","published":"2024-05-30T15:23:46.831Z","updated":"2026-11-17T07:00:46.222741843Z","reserved":"2024-05-17T13:50:33.160Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"CISA-ADP"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"CISA-ADP"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"}],"rating":"critical","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"97be1e865e70e5a0ad0a5b5f5dca5031ca0b53ac","lessThan":"ad2011ea787928b2accb5134f1e423b11fe80a8a","status":"affected","versionType":"git"},{"version":"2552b32b0b349df160a509fe49f5f308cb922f2b","lessThan":"ed79b93f725cd0da39a265dc23d77add1527b9be","status":"affected","versionType":"git"},{"version":"791d5409cdb974c31a1bc7a903ea729ddc7d83df","lessThan":"e4519a016650e952ad9eb27937f8c447d5a4e06d","status":"affected","versionType":"git"},{"version":"afc360e8a1256acb7579a6f5b6f2c30b85b39301","lessThan":"25777f3f4e1f371d16a594925f31e37ce07b6ec7","status":"affected","versionType":"git"},{"version":"39299bdd2546688d92ed9db4948f6219ca1b9542","lessThan":"939a08bcd4334bad4b201e60bd0ae1f278d71d41","status":"affected","versionType":"git"},{"version":"39299bdd2546688d92ed9db4948f6219ca1b9542","lessThan":"cc219cb8afbc40ec100c0de941047bb29373126a","status":"affected","versionType":"git"},{"version":"39299bdd2546688d92ed9db4948f6219ca1b9542","lessThan":"9da27fb65a14c18efd4473e2e82b76b53ba60252","status":"affected","versionType":"git"},{"version":"5.10.206","lessThan":"5.10.217","status":"affected","versionType":"semver"},{"version":"5.15.146","lessThan":"5.15.159","status":"affected","versionType":"semver"},{"version":"6.1.70","lessThan":"6.1.91","status":"affected","versionType":"semver"},{"version":"6.6.9","lessThan":"6.6.31","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.7","status":"affected"},{"version":"0","lessThan":"6.7","status":"unaffected","versionType":"semver"},{"version":"5.10.217","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.159","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.91","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.31","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.8.10","lessThanOrEqual":"6.8.*","status":"unaffected","versionType":"semver"},{"version":"6.9.1","lessThanOrEqual":"6.9.*","status":"unaffected","versionType":"semver"},{"version":"6.10","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-324"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/ad2011ea787928b2accb5134f1e423b11fe80a8a","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/ed79b93f725cd0da39a265dc23d77add1527b9be","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/e4519a016650e952ad9eb27937f8c447d5a4e06d","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/25777f3f4e1f371d16a594925f31e37ce07b6ec7","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/939a08bcd4334bad4b201e60bd0ae1f278d71d41","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/cc219cb8afbc40ec100c0de941047bb29373126a","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/9da27fb65a14c18efd4473e2e82b76b53ba60252","tags":["x_transferred","Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00019.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/36xxx/CVE-2024-36031.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-36031","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total"},"epss":0.00747,"epssPercentile":0.55627,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-36031","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-36031","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-36031","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-36031","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}