CVE-2024-36031
CRITICAL 9.8CVSS 3.1In 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
- 30 May 2024
- Last modified
- 17 Jun 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Modified
- Weakness
- CWE-324
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.10.206, < 5.10.217 | 5.10.217 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.15.146, < 5.15.159 | 5.15.159 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.1.70, < 6.1.91 | 6.1.91 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.6.9, < 6.6.31 | 6.6.31 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.7, < 6.8.10 | 6.8.10 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.9, < 6.9.1 | 6.9.1 |
References
- https://git.kernel.org/stable/c/25777f3f4e1f371d16a594925f31e37ce07b6ec7 · Patch
- https://git.kernel.org/stable/c/939a08bcd4334bad4b201e60bd0ae1f278d71d41 · Patch
- https://git.kernel.org/stable/c/9da27fb65a14c18efd4473e2e82b76b53ba60252 · Patch
- https://git.kernel.org/stable/c/ad2011ea787928b2accb5134f1e423b11fe80a8a · Patch
- https://git.kernel.org/stable/c/cc219cb8afbc40ec100c0de941047bb29373126a · Patch
- https://git.kernel.org/stable/c/e4519a016650e952ad9eb27937f8c447d5a4e06d · Patch
- https://git.kernel.org/stable/c/ed79b93f725cd0da39a265dc23d77add1527b9be · Patch
- https://lists.debian.org/debian-lts-announce/2024/06/msg00019.html
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 30 May 2024)