keys: Fix overwrite of key expiration on instantiation
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 39299bdd2546688d92ed9db4948f6219ca1b9542 · < cc219cb8afbc40ec100c0de941047bb29373126a| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel can overwrite a key’s expiration time during instantiation, making the key permanent. For DNS resolution, this can prevent further DNS updates. The input does not describe an attacker action or specify access or interaction requirements.
Engineers running the Linux kernel should check their deployments; affected versions were not provided.