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 TIME64MAX, disabling further DNS updates. Fix this by restoring the condition that keyset_expiry is only called when the pre-parser sets a specific expiry.
[
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "security/keys/key.c"
},
"digest": {
"line_hashes": [
"70999738566349864358701528333539681836",
"12463220382068603052640400060896719903",
"166097772629778503769949273095446592747",
"301429821010209408577146139796736170317"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ed79b93f725cd0da39a265dc23d77add1527b9be",
"signature_version": "v1",
"id": "CVE-2024-36031-26ac5217"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "security/keys/key.c",
"function": "__key_instantiate_and_link"
},
"digest": {
"length": 901.0,
"function_hash": "318303615909168838032499862699215866474"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cc219cb8afbc40ec100c0de941047bb29373126a",
"signature_version": "v1",
"id": "CVE-2024-36031-38b943e3"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "security/keys/key.c",
"function": "__key_instantiate_and_link"
},
"digest": {
"length": 901.0,
"function_hash": "318303615909168838032499862699215866474"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@939a08bcd4334bad4b201e60bd0ae1f278d71d41",
"signature_version": "v1",
"id": "CVE-2024-36031-67412879"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "security/keys/key.c",
"function": "__key_instantiate_and_link"
},
"digest": {
"length": 901.0,
"function_hash": "318303615909168838032499862699215866474"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ed79b93f725cd0da39a265dc23d77add1527b9be",
"signature_version": "v1",
"id": "CVE-2024-36031-8edbf0a8"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "security/keys/key.c",
"function": "__key_instantiate_and_link"
},
"digest": {
"length": 901.0,
"function_hash": "318303615909168838032499862699215866474"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e4519a016650e952ad9eb27937f8c447d5a4e06d",
"signature_version": "v1",
"id": "CVE-2024-36031-8f5dd268"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "security/keys/key.c"
},
"digest": {
"line_hashes": [
"70999738566349864358701528333539681836",
"12463220382068603052640400060896719903",
"166097772629778503769949273095446592747",
"301429821010209408577146139796736170317"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e4519a016650e952ad9eb27937f8c447d5a4e06d",
"signature_version": "v1",
"id": "CVE-2024-36031-a68fe180"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "security/keys/key.c"
},
"digest": {
"line_hashes": [
"70999738566349864358701528333539681836",
"12463220382068603052640400060896719903",
"166097772629778503769949273095446592747",
"301429821010209408577146139796736170317"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cc219cb8afbc40ec100c0de941047bb29373126a",
"signature_version": "v1",
"id": "CVE-2024-36031-cc981de7"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "security/keys/key.c"
},
"digest": {
"line_hashes": [
"70999738566349864358701528333539681836",
"12463220382068603052640400060896719903",
"166097772629778503769949273095446592747",
"301429821010209408577146139796736170317"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@939a08bcd4334bad4b201e60bd0ae1f278d71d41",
"signature_version": "v1",
"id": "CVE-2024-36031-e85ae970"
}
]