Skip to content
CVE PROGRAM SOURCE RECORD9.8 Critical

CVE-2024-36031

keys: Fix overwrite of key expiration on instantiation

Description

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 97be1e865e70e5a0ad0a5b5f5dca5031ca0b53ac to < ad2011ea787928b2accb5134f1e423b11fe80a8aaffected
  • 2552b32b0b349df160a509fe49f5f308cb922f2b to < ed79b93f725cd0da39a265dc23d77add1527b9beaffected
  • 791d5409cdb974c31a1bc7a903ea729ddc7d83df to < e4519a016650e952ad9eb27937f8c447d5a4e06daffected
  • afc360e8a1256acb7579a6f5b6f2c30b85b39301 to < 25777f3f4e1f371d16a594925f31e37ce07b6ec7affected
  • 39299bdd2546688d92ed9db4948f6219ca1b9542 to < 939a08bcd4334bad4b201e60bd0ae1f278d71d41affected
  • 39299bdd2546688d92ed9db4948f6219ca1b9542 to < cc219cb8afbc40ec100c0de941047bb29373126aaffected
  • 39299bdd2546688d92ed9db4948f6219ca1b9542 to < 9da27fb65a14c18efd4473e2e82b76b53ba60252affected
  • 5.10.206 to < 5.10.217affected
  • 5.15.146 to < 5.15.159affected
  • 6.1.70 to < 6.1.91affected
  • 6.6.9 to < 6.6.31affected

Linux Linux

Default version status: affected

  • 6.7affected
  • 0 to < 6.7unaffected
  • 5.10.217 to ≤ 5.10.*unaffected
  • 5.15.159 to ≤ 5.15.*unaffected
  • 6.1.91 to ≤ 6.1.*unaffected
  • 6.6.31 to ≤ 6.6.*unaffected
  • 6.8.10 to ≤ 6.8.*unaffected
  • 6.9.1 to ≤ 6.9.*unaffected
  • 6.10 to ≤ *unaffected

References