CVE-2022-2503

Linux Kernel LoadPin bypass via dm-verity table reload

MEDIUM 6.9

At a glance

Source
NVD
EPSS
EPSS 0.42 % · percentile 36 ()
State
PUBLISHED
Published
Updated
Assigner
Google
NVD status
Modified

Description

Dm-verity is used for extending root-of-trust to root filesystems. LoadPin builds on this property to restrict module/firmware loads to just the trusted root filesystem. Device-mapper table reloads currently allow users with root privileges to switch out the target with an equivalent dm-linear target and bypass verification till reboot. This allows root to bypass LoadPin and can be used to load untrusted and unverified kernel modules and firmware, which implies arbitrary kernel execution and persistence for peripherals that do not verify firmware updates. We recommend upgrading past commit 4caae58406f8ceb741603eee460d79bacca9b1b5

Weaknesses (CWE)

  • CWE-302 — Authentication Bypass by Assumed-Immutable Data
  • CWE-287 — Improper Authentication

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 6.9CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:NGoogle
CVSS 3.1MEDIUM 6.9CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:NNVD · cve-coordination@google.com (Secondary)
CVSS 3.1MEDIUM 6.7CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux Kernel · Linux Kernelaffected unspecified < 4caae58406f8ceb741603eee460d79bacca9b1b5

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD