Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-36031

CRITICAL 9.8EPSS 62%

keys: Fix overwrite of key expiration on instantiation

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 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; …
  • Anyone running Linux 6.7

Vulnerability facts

Affected
Linux >= 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; …; Linux 6.7
Fixed in
Linux 25777f3f4e1f371d16a594925f31e37ce07b6ec7, Linux 939a08bcd4334bad4b201e60bd0ae1f278d71d41, Linux 9da27fb65a14c18efd4473e2e82b76b53ba60252, Linux 5.10.217, Linux 5.15.159, Linux 6.1.91
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
9.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
1.01% chance of exploitation in 30 days (percentile 62, 2026-11-26)
CWE
CWE-324
Published
Modified

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 and fixed versions

Package / productAffectedFixedSource
Linux>= 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; …—cvelist
Linux6.7—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-36031. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-36031.md
Affected: Linux >= 97be1e865e70e5a0ad0a5b5f5dca5031ca0b53ac, < ad2011ea787928b2accb5134f1e423b11fe80a8a; >= 2552b32b0b349df160a509fe49f5f308cb922f2b, < ed79b93f725cd0da39a265dc23d77add1527b9be; >= 791d5409cdb974c31a1bc7a903ea729ddc7d83df, < e4519a016650e952ad9eb27937f8c447d5a4e06d; >= afc360e8a1256acb7579a6f…
Fixed in: Linux 25777f3f4e1f371d16a594925f31e37ce07b6ec7, Linux 939a08bcd4334bad4b201e60bd0ae1f278d71d41, Linux 9da27fb65a14c18efd4473e2e82b76b53ba60252, Linux 5.10.217, Linux 5.15.159, Linux 6.1.91

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-36031 being exploited?

There is no confirmed exploitation: CVE-2024-36031 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.01% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-36031?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2024-36031?

Linux >= 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; …; Linux 6.7.

Is there a fix for CVE-2024-36031?

Yes. Fixed in Linux 25777f3f4e1f371d16a594925f31e37ce07b6ec7, Linux 939a08bcd4334bad4b201e60bd0ae1f278d71d41, Linux 9da27fb65a14c18efd4473e2e82b76b53ba60252, Linux 5.10.217, Linux 5.15.159, Linux 6.1.91. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2024-36031?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors