CVE-2024-36031 | keys: Fix overwrite of key expiration on instantiation

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.

Published: 2024-05-30 Last update: 2025-11-04 Assigner: 416baaa9-dc9f-4396-8d5f-8c081fb06d67 Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Conclusion & alert: CVE-2024-36031 is rated Moderate Risk (42.6/100): CVSS Critical severity, with low exploitation likelihood (EPSS 0.04%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2024-36031

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2025-11-21 0.49% 0.04% -0.45%
2 2025-11-18 0.02% 0.49% +0.47%
3 2025-07-08 0.02%

Full EPSS history (9 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2024-36031

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
9.8 3.1 CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 5.9 134c704f-9b21-4f2e-91b3-4a467353bcc0

Weakness enumeration for CVE-2024-36031

OS Trackers for CVE-2024-36031

vendor priority summary link
debian not yet assigned CVE-2024-36031 not yet assigned priority: Debian including 1 source packages (linux), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2024-36031
redhat low https://access.redhat.com/security/cve/CVE-2024-36031
suse medium CVE-2024-36031 severity moderate: SUSE including 392 source package names (2.1.3-4.35:kernel-default-6.4.0-24.1, 2.1.3-5.28:kernel-rt-6.4.0-22.1, …), 760 product×package rows across 139 product lines (Container suse/sl-micro/6.0/base-os-container, Container suse/sl-micro/6.0/rt-os-container, … (139 product lines)): Fixed 334, Known Affected 231, Known Not Affected 195. https://www.suse.com/security/cve/CVE-2024-36031/
ubuntu medium CVE-2024-36031 medium priority: Ubuntu including 128 source packages (linux, linux-allwinner-5.19, …), 1139 status rows across 9 suites (bionic, focal, jammy, mantic, noble, oracular, trusty, upstream, xenial): DNE 808, ignored 144, released 127, not-affected 60. https://ubuntu.com/security/CVE-2024-36031

Affected software / configurations for CVE-2024-36031

Vendor Product Version Raw CPE
linux linux_kernel >= 5.10.206, < 5.10.217 cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
linux linux_kernel >= 5.15.146, < 5.15.159 cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
linux linux_kernel >= 6.1.70, < 6.1.91 cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
linux linux_kernel >= 6.6.9, < 6.6.31 cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
linux linux_kernel >= 6.7, < 6.8.10 cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
linux linux_kernel >= 6.9, < 6.9.1 cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

References for CVE-2024-36031

cvelogic Threat Intelligence