CVE-2021-46922 (GCVE-0-2021-46922)
Vulnerability from cvelistv5 – Published: 2024-02-27 09:36 – Updated: 2025-05-04 07:00
VLAI?
Title
KEYS: trusted: Fix TPM reservation for seal/unseal
Summary
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/20210128235621.127925-4-jarkko@kernel.org/
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()
Severity ?
No CVSS data available.
Assigner
References
Impacted products
| Vendor | Product | Version | ||
|---|---|---|---|---|
| Linux | Linux |
Affected:
67118bb78d72aab5b831f054a74ae856339a1974 , < bf84ef2dd2ccdcd8f2658476d34b51455f970ce4
(git)
Affected: 498b8fc1cdc13b57b02dd28544b18323900fae10 , < 39c8d760d44cb3fa0d67e8cd505df81cf4d80999 (git) Affected: 8c657a0590de585b1115847c17b34a58025f2f4b , < 9d5171eab462a63e2fbebfccf6026e92be018f20 (git) |
||
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2021-46922",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2024-07-25T16:00:18.491671Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2024-07-25T16:00:29.336Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
},
{
"providerMetadata": {
"dateUpdated": "2024-08-04T05:17:42.976Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/bf84ef2dd2ccdcd8f2658476d34b51455f970ce4"
},
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/39c8d760d44cb3fa0d67e8cd505df81cf4d80999"
},
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/9d5171eab462a63e2fbebfccf6026e92be018f20"
}
],
"title": "CVE Program Container"
}
],
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"security/keys/trusted-keys/trusted_tpm2.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "bf84ef2dd2ccdcd8f2658476d34b51455f970ce4",
"status": "affected",
"version": "67118bb78d72aab5b831f054a74ae856339a1974",
"versionType": "git"
},
{
"lessThan": "39c8d760d44cb3fa0d67e8cd505df81cf4d80999",
"status": "affected",
"version": "498b8fc1cdc13b57b02dd28544b18323900fae10",
"versionType": "git"
},
{
"lessThan": "9d5171eab462a63e2fbebfccf6026e92be018f20",
"status": "affected",
"version": "8c657a0590de585b1115847c17b34a58025f2f4b",
"versionType": "git"
}
]
},
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"security/keys/trusted-keys/trusted_tpm2.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "5.10.33",
"status": "affected",
"version": "5.10.20",
"versionType": "semver"
},
{
"lessThan": "5.11.17",
"status": "affected",
"version": "5.11.3",
"versionType": "semver"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.10.33",
"versionStartIncluding": "5.10.20",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.11.17",
"versionStartIncluding": "5.11.3",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nKEYS: trusted: Fix TPM reservation for seal/unseal\n\nThe original patch 8c657a0590de (\"KEYS: trusted: Reserve TPM for seal\nand unseal operations\") was correct on the mailing list:\n\nhttps://lore.kernel.org/linux-integrity/20210128235621.127925-4-jarkko@kernel.org/\n\nBut somehow got rebased so that the tpm_try_get_ops() in\ntpm2_seal_trusted() got lost. This causes an imbalanced put of the\nTPM ops and causes oopses on TIS based hardware.\n\nThis fix puts back the lost tpm_try_get_ops()"
}
],
"providerMetadata": {
"dateUpdated": "2025-05-04T07:00:24.893Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/bf84ef2dd2ccdcd8f2658476d34b51455f970ce4"
},
{
"url": "https://git.kernel.org/stable/c/39c8d760d44cb3fa0d67e8cd505df81cf4d80999"
},
{
"url": "https://git.kernel.org/stable/c/9d5171eab462a63e2fbebfccf6026e92be018f20"
}
],
"title": "KEYS: trusted: Fix TPM reservation for seal/unseal",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2021-46922",
"datePublished": "2024-02-27T09:36:27.145Z",
"dateReserved": "2024-02-25T13:45:52.719Z",
"dateUpdated": "2025-05-04T07:00:24.893Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1",
"vulnerability-lookup:meta": {
"vulnrichment": {
"containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://git.kernel.org/stable/c/bf84ef2dd2ccdcd8f2658476d34b51455f970ce4\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/39c8d760d44cb3fa0d67e8cd505df81cf4d80999\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/9d5171eab462a63e2fbebfccf6026e92be018f20\", \"tags\": [\"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-04T05:17:42.976Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2021-46922\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-07-25T16:00:18.491671Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-07-25T16:00:24.486Z\"}}], \"cna\": {\"title\": \"KEYS: trusted: Fix TPM reservation for seal/unseal\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"67118bb78d72aab5b831f054a74ae856339a1974\", \"lessThan\": \"bf84ef2dd2ccdcd8f2658476d34b51455f970ce4\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"498b8fc1cdc13b57b02dd28544b18323900fae10\", \"lessThan\": \"39c8d760d44cb3fa0d67e8cd505df81cf4d80999\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"8c657a0590de585b1115847c17b34a58025f2f4b\", \"lessThan\": \"9d5171eab462a63e2fbebfccf6026e92be018f20\", \"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\": \"semver\"}, {\"status\": \"affected\", \"version\": \"5.11.3\", \"lessThan\": \"5.11.17\", \"versionType\": \"semver\"}], \"programFiles\": [\"security/keys/trusted-keys/trusted_tpm2.c\"], \"defaultStatus\": \"unaffected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/bf84ef2dd2ccdcd8f2658476d34b51455f970ce4\"}, {\"url\": \"https://git.kernel.org/stable/c/39c8d760d44cb3fa0d67e8cd505df81cf4d80999\"}, {\"url\": \"https://git.kernel.org/stable/c/9d5171eab462a63e2fbebfccf6026e92be018f20\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nKEYS: trusted: Fix TPM reservation for seal/unseal\\n\\nThe original patch 8c657a0590de (\\\"KEYS: trusted: Reserve TPM for seal\\nand unseal operations\\\") was correct on the mailing list:\\n\\nhttps://lore.kernel.org/linux-integrity/20210128235621.127925-4-jarkko@kernel.org/\\n\\nBut somehow got rebased so that the tpm_try_get_ops() in\\ntpm2_seal_trusted() got lost. This causes an imbalanced put of the\\nTPM ops and causes oopses on TIS based hardware.\\n\\nThis fix puts back the lost tpm_try_get_ops()\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.10.33\", \"versionStartIncluding\": \"5.10.20\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.11.17\", \"versionStartIncluding\": \"5.11.3\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2025-05-04T07:00:24.893Z\"}}}",
"cveMetadata": "{\"cveId\": \"CVE-2021-46922\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2025-05-04T07:00:24.893Z\", \"dateReserved\": \"2024-02-25T13:45:52.719Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-02-27T09:36:27.145Z\", \"assignerShortName\": \"Linux\"}",
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…