CVE-2024-36031

Critical

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.

Package Linux Kernel
Published 2024-05-30
Last modified 2025-11-04
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

9.8

out of 10
Critical
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weakness type

CWE-324

CVE-2024-36031 is classified as CWE-324

See CWE-324 on MITRE CWE for full details on this weakness type.

Affected versions

Linux kernel versions 5.10.206, 5.15.146, 6.1.70, 6.6.9, 6.7 and later are affected. Fixed in 5.10.217, 5.15.159, 6.1.91, 6.6.31, 6.8.10, 6.9.1, 6.10 and their respective stable series.

Affected from
≥ 5.10.206 ≥ 5.15.146 ≥ 6.1.70 ≥ 6.6.9 ≥ 6.7
Fixed in
✓ 5.10.217 5.10.x ✓ 5.15.159 5.15.x ✓ 6.1.91 6.1.x ✓ 6.6.31 6.6.x ✓ 6.8.10 6.8.x ✓ 6.9.1 6.9.x ✓ 6.10

Frequently asked questions

  • What is CVE-2024-36031?

    CVE-2024-36031 is a Critical severity Linux kernel vulnerability with a CVSS score of 9.8 out of 10 . It affects Linux kernel versions from 5.10.206 onward and has been patched in 5.10.217, 5.15.159, 6.1.91 and others. CVE-2024-36031 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • What is the CVSS score for CVE-2024-36031?

    CVE-2024-36031 has a CVSS score of 9.8 out of 10, rated Critical severity (CVSS 3.1). The vector string is CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H .

  • Is there a patch available for CVE-2024-36031?

    Yes. CVE-2024-36031 has been patched. Fixed versions include 5.10.217, 5.15.159, 6.1.91 and others. If you are running Linux kernel 5.10.206 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2024-36031 actively exploited?

    No. CVE-2024-36031 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.