In the Linux kernel, the following vulnerability has been resolved:
KEYS: trusted: Fix TPM reservation for seal/unseal
The original patch 8c657a0590de (“KEYS: trusted: Reserve TPM for seal
and unseal operations”) was correct on the mailing list:
https://lore.kernel.org/linux-integrity/[email protected]/
But somehow got rebased so that the tpm_try_get_ops() in
tpm2_seal_trusted() got lost. This causes an imbalanced put of the
TPM ops and causes oopses on TIS based hardware.
This fix puts back the lost tpm_try_get_ops()
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "67118bb78d72",
"lessThan": "bf84ef2dd2cc",
"versionType": "git"
},
{
"status": "affected",
"version": "498b8fc1cdc1",
"lessThan": "39c8d760d44c",
"versionType": "git"
},
{
"status": "affected",
"version": "8c657a0590de",
"lessThan": "9d5171eab462",
"versionType": "git"
}
],
"programFiles": [
"security/keys/trusted-keys/trusted_tpm2.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "5.10.20",
"lessThan": "5.10.33",
"versionType": "custom"
},
{
"status": "affected",
"version": "5.11.3",
"lessThan": "5.11.17",
"versionType": "custom"
}
],
"programFiles": [
"security/keys/trusted-keys/trusted_tpm2.c"
],
"defaultStatus": "unaffected"
}
]