Paper/Archive/CVE-2024-36031

CVE-2024-36031

Linux Linux — keys: Fix overwrite of key expiration on instantiation

Description · from the CVE record

In the Linux kernel, the following vulnerability has been resolved: keys: Fix overwrite of key expiration on instantiation The expiry time of a key is unconditionally overwritten during instantiation, defaulting to turn it permanent. This causes a problem for DNS resolution as the expiration set by user-space is overwritten to TIME64_MAX, disabling further DNS updates. Fix this by restoring the condition that key_set_expiry is only called when the pre-parser sets a specific expiry.

Affected

ProductAffectedFixed inSource
Linux97be1e865e70e5a0ad0a5b5f5dca5031ca0b53ac – < ad2011ea787928b2accb5134f1e423b11fe80a8aad2011ea787928b2accb5134f1e423b11fe80a8aCNA
Linux2552b32b0b349df160a509fe49f5f308cb922f2b – < ed79b93f725cd0da39a265dc23d77add1527b9beed79b93f725cd0da39a265dc23d77add1527b9beCNA
Linux791d5409cdb974c31a1bc7a903ea729ddc7d83df – < e4519a016650e952ad9eb27937f8c447d5a4e06de4519a016650e952ad9eb27937f8c447d5a4e06dCNA
Linuxafc360e8a1256acb7579a6f5b6f2c30b85b39301 – < 25777f3f4e1f371d16a594925f31e37ce07b6ec725777f3f4e1f371d16a594925f31e37ce07b6ec7CNA
Linux39299bdd2546688d92ed9db4948f6219ca1b9542 – < 939a08bcd4334bad4b201e60bd0ae1f278d71d41939a08bcd4334bad4b201e60bd0ae1f278d71d41CNA
Linux39299bdd2546688d92ed9db4948f6219ca1b9542 – < cc219cb8afbc40ec100c0de941047bb29373126acc219cb8afbc40ec100c0de941047bb29373126aCNA
Linux39299bdd2546688d92ed9db4948f6219ca1b9542 – < 9da27fb65a14c18efd4473e2e82b76b53ba602529da27fb65a14c18efd4473e2e82b76b53ba60252CNA
Linux5.10.206 – < 5.10.2175.10.217CNA
Linux5.15.146 – < 5.15.1595.15.159CNA
Linux6.1.70 – < 6.1.916.1.91CNA
Linux6.6.9 – < 6.6.316.6.31CNA
Linux6.76.1.91CNA

Scores by source

CISA ADP9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: none · Automatable: yes · Technical impact: total

References

refgit.kernel.org/stable/c/ad2011ea787928b2accb5134f1e423b11fe80a8arefgit.kernel.org/stable/c/ed79b93f725cd0da39a265dc23d77add1527b9berefgit.kernel.org/stable/c/e4519a016650e952ad9eb27937f8c447d5a4e06drefgit.kernel.org/stable/c/25777f3f4e1f371d16a594925f31e37ce07b6ec7refgit.kernel.org/stable/c/939a08bcd4334bad4b201e60bd0ae1f278d71d41refgit.kernel.org/stable/c/cc219cb8afbc40ec100c0de941047bb29373126arefgit.kernel.org/stable/c/9da27fb65a14c18efd4473e2e82b76b53ba60252reflists.debian.org/debian-lts-announce/2024/06/msg00019.html