CVEvulnerability

CVE-2022-2503

6.7 MEDIUM Published 2022-08-12 Modified 2026-10-14 Official page ↗
Status
Modified
Published
2022-08-12
Last modified
2026-10-14
Assigner
[email protected]
CVSS 3.1 ([email protected])
6.9 MEDIUM — CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N
CVSS 3.1 ([email protected])
6.7 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-287, CWE-302

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

Affected configurations

• linux linux kernel (< 5.19)

Related

Weakness · CWE (2)

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

References