In the Linux kernel, the following vulnerability has been resolved:
KEYS: trusted: Fix memory leak on object td
Two error return paths are neglecting to free allocated object td, causing a memory leak. Fix this by returning via the error return path that securely kfree's td.
Fixes clang scan-build warning: security/keys/trusted-keys/trusted_tpm1.c:496:10: warning: Potential memory leak [unix.Malloc]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-47009.json"
[
{
"events": [
{
"introduced": "5.10.20"
},
{
"fixed": "5.10.38"
}
]
},
{
"events": [
{
"introduced": "5.11.3"
},
{
"fixed": "5.11.22"
}
]
},
{
"events": [
{
"introduced": "5.12"
},
{
"fixed": "5.12.5"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "5.12-rc1"
}
]
}
]