Lucene search
K

CVE-2021-46951 tpm: efi: Use local variable for calculating final log size

🗓️ 27 Feb 2024 18:40:34Reported by LinuxType 
cvelist
 cvelist
🔗 www.cve.org👁 23 Views

CVE-2021-46951 tpm: efi: Avoid integer underflow in tpm_read_log_ef

Related
Affected
Refs
[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/char/tpm/eventlog/efi.c"
    ],
    "versions": [
      {
        "version": "166a2809d65b282272c474835ec22c882a39ca1b",
        "lessThan": "2f12258b5224cfaa808c54fd29345f3c1cbfca76",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "166a2809d65b282272c474835ec22c882a39ca1b",
        "lessThan": "60a01ecc9f68067e4314a0b55148e39e5d58a51b",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "166a2809d65b282272c474835ec22c882a39ca1b",
        "lessThan": "3818b753277f5ca0c170bf5b98e0a5a225542fcb",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "166a2809d65b282272c474835ec22c882a39ca1b",
        "lessThan": "ac07c557ca12ec9276c0375517bac7ae5be4e50c",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "166a2809d65b282272c474835ec22c882a39ca1b",
        "lessThan": "48cff270b037022e37835d93361646205ca25101",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/char/tpm/eventlog/efi.c"
    ],
    "versions": [
      {
        "version": "5.3",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.3",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "5.4.118",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "5.10.36",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "5.11.20",
        "lessThanOrEqual": "5.11.*",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "5.12.3",
        "lessThanOrEqual": "5.12.*",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "5.13",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

11 May 2026 13:45Current
5.8Medium risk
Vulners AI Score5.8
EPSS0.00235
23