VDB

CVE-2024-36031

CVE-2024-36031 PUBLISHED CVSS 9.8 CRITICAL

keys: Fix overwrite of key expiration on instantiation

Reported by linux · Published May 30, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
LinuxLinuxed79b93f725cd0da39a265dc23d77add1527b9be, e4519a016650e952ad9eb27937f8c447d5a4e06d, cc219cb8afbc40ec100c0de941047bb29373126a, ad2011ea787928b2accb5134f1e423b11fe80a8a, 9da27fb65a14c18efd4473e2e82b76b53ba60252, 939a08bcd4334bad4b201e60bd0ae1f278d71d41, 6.7, 6.6.31, 6.1.91, 5.15.159, 5.10.217, 25777f3f4e1f371d16a594925f31e37ce07b6ec7

Risk scores

CVSS 3.1
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux97be1e865e70e5a0ad0a5b5f5dca5031ca0b53ac, 2552b32b0b349df160a509fe49f5f308cb922f2b, 791d5409cdb974c31a1bc7a903ea729ddc7d83df
LinuxLinux6.7, 0, 5.10.217
LinuxLinux39299bdd2546688d92ed9db4948f6219ca1b9542, 6.1.70, 97be1e865e70e5a0ad0a5b5f5dca5031ca0b53ac
amazon:2023perf0
amazon:2023kernel-modules-extra-common0
linuxlinux_kernel6.7, 5.10.206, 6.7
amazon:2023python3-perf0
amazon:2023kernel-libbpf-static0
amazon:2023kernel-modules-extra0
linuxlinux_kernel791d5409cdb9, 97be1e865e70, 2552b32b0b34
amazon:2023kernel-devel0
amazon:2023kernel-tools-devel0
amazon:2023kernel-livepatch-6.1.84-99.1690
amazon:2023kernel-libbpf0
amazon:2023kernel-headers0
amazon:2023kernel-tools0
amazon:2023bpftool0
amazon:2023kernel-libbpf-devel0
amazon:2023kernel0

Timeline

  • May 30, 2024 CVE Published
  • May 31, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (10 in total, the first dated here)
  • Nov 4, 2025 CVE Updated
  • Jan 10, 2026 Security Advisory (336 in total, the first dated here)
  • Mar 30, 2026 Distribution Patch (240 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-36031
vulnetix vdb fixes CVE-2024-36031

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-36031/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›