Lucene search

K
cveLinuxCVE-2021-46922
HistoryFeb 27, 2024 - 10:15 a.m.

CVE-2021-46922

2024-02-2710:15:07
Linux
web.nvd.nist.gov
431
linux kernel
vulnerability
fix
imbalanced tpm reservation
cve-2021-46922
nvd

CVSS3

5.5

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

AI Score

6.6

Confidence

Low

EPSS

0

Percentile

5.1%

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()

Affected configurations

Nvd
Vulners
Node
linuxlinux_kernelRange5.10.205.10.33
OR
linuxlinux_kernelRange5.11.35.11.17
VendorProductVersionCPE
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "security/keys/trusted-keys/trusted_tpm2.c"
    ],
    "versions": [
      {
        "version": "67118bb78d72",
        "lessThan": "bf84ef2dd2cc",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "498b8fc1cdc1",
        "lessThan": "39c8d760d44c",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "8c657a0590de",
        "lessThan": "9d5171eab462",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "security/keys/trusted-keys/trusted_tpm2.c"
    ],
    "versions": [
      {
        "version": "5.10.20",
        "lessThan": "5.10.33",
        "status": "affected",
        "versionType": "custom"
      },
      {
        "version": "5.11.3",
        "lessThan": "5.11.17",
        "status": "affected",
        "versionType": "custom"
      }
    ]
  }
]

CVSS3

5.5

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

AI Score

6.6

Confidence

Low

EPSS

0

Percentile

5.1%