CVE-2024-36031
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Linux | Linux | ed79b93f725cd0da39a265dc23d77add1527b9be, e4519a016650e952ad9eb27937f8c447d5a4e06d, cc219cb8afbc40ec100c0de941047bb29373126a, ad2011ea787928b2accb5134f1e423b11fe80a8a, 9da27fb65a14c18efd4473e2e82b76b53ba60252, 939a08bcd4334bad4b201e60bd0ae1f278d71d41, 6.7, 6.6.31, 6.1.91, 5.15.159, 5.10.217, 25777f3f4e1f371d16a594925f31e37ce07b6ec7 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 97be1e865e70e5a0ad0a5b5f5dca5031ca0b53ac, 2552b32b0b349df160a509fe49f5f308cb922f2b, 791d5409cdb974c31a1bc7a903ea729ddc7d83df |
| Linux | Linux | 6.7, 0, 5.10.217 |
| Linux | Linux | 39299bdd2546688d92ed9db4948f6219ca1b9542, 6.1.70, 97be1e865e70e5a0ad0a5b5f5dca5031ca0b53ac |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| linux | linux_kernel | 6.7, 5.10.206, 6.7 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| linux | linux_kernel | 791d5409cdb9, 97be1e865e70, 2552b32b0b34 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-livepatch-6.1.84-99.169 | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel | 0 |
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