Vulnerability · Published Aug 12, 2022 · Assigned by Google

CVE-2022-2503Linux Kernel LoadPin bypass via dm-verity table reload

Medium 6.9

In plain English

A medium-severity security flaw in Linux Kernel from Linux Kernel. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 37% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.9Medium
Exploit odds (30 days)0.4%top 63.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12linux5.18.2-1DEBIAN-CVE-2022-2503
Debian:13linux5.18.2-1DEBIAN-CVE-2022-2503
Debian:14linux5.18.2-1DEBIAN-CVE-2022-2503
Ubuntu:22.04:LTSlinux5.15.0-47.51USN-5594-1
Ubuntu:22.04:LTSlinux5.15.0-47.51UBUNTU-CVE-2022-2503
Ubuntu:22.04:LTSlinux-aws5.15.0-1019.23UBUNTU-CVE-2022-2503
Ubuntu:22.04:LTSlinux-aws5.15.0-1019.23USN-5594-1
Ubuntu:22.04:LTSlinux-azure5.15.0-1019.24UBUNTU-CVE-2022-2503
Ubuntu:22.04:LTSlinux-azure5.15.0-1019.24USN-5594-1
Ubuntu:22.04:LTSlinux-gcp5.15.0-1017.23UBUNTU-CVE-2022-2503
Ubuntu:22.04:LTSlinux-gcp5.15.0-1017.23USN-5594-1
Ubuntu:22.04:LTSlinux-gke5.15.0-1015.18UBUNTU-CVE-2022-2503
Ubuntu:22.04:LTSlinux-gke5.15.0-1015.18USN-5594-1
Ubuntu:22.04:LTSlinux-gkeop5.15.0-1002.4USN-5594-1
Ubuntu:22.04:LTSlinux-gkeop5.15.0-1002.4UBUNTU-CVE-2022-2503
Ubuntu:22.04:LTSlinux-ibm5.15.0-1013.15USN-5594-1
Ubuntu:22.04:LTSlinux-ibm5.15.0-1013.15UBUNTU-CVE-2022-2503
Ubuntu:22.04:LTSlinux-intel-iot-realtimeno fix listedUBUNTU-CVE-2022-2503
Ubuntu:22.04:LTSlinux-intel-iotg5.15.0-1015.20USN-5616-1
Ubuntu:22.04:LTSlinux-intel-iotg5.15.0-1015.20UBUNTU-CVE-2022-2503
Ubuntu:22.04:LTSlinux-kvm5.15.0-1017.21USN-5594-1
Ubuntu:22.04:LTSlinux-kvm5.15.0-1017.21UBUNTU-CVE-2022-2503
Ubuntu:22.04:LTSlinux-lowlatency5.15.0-47.53USN-5594-1
Ubuntu:22.04:LTSlinux-lowlatency5.15.0-47.53UBUNTU-CVE-2022-2503
Ubuntu:22.04:LTSlinux-nvidia5.15.0-1007.7UBUNTU-CVE-2022-2503
Ubuntu:22.04:LTSlinux-oem-5.175.17.0-1013.14UBUNTU-CVE-2022-2503
Ubuntu:22.04:LTSlinux-oracle5.15.0-1017.22USN-5599-1
Ubuntu:22.04:LTSlinux-oracle5.15.0-1017.22UBUNTU-CVE-2022-2503
Ubuntu:22.04:LTSlinux-raspi5.15.0-1014.16USN-5602-1
Ubuntu:22.04:LTSlinux-raspi5.15.0-1014.16UBUNTU-CVE-2022-2503
Ubuntu:24.04:LTSlinux-raspi-realtimeno fix listedUBUNTU-CVE-2022-2503
Ubuntu:22.04:LTSlinux-realtimeno fix listedUBUNTU-CVE-2022-2503
Ubuntu:22.04:LTSlinux-riscv5.15.0-1018.21UBUNTU-CVE-2022-2503

Affected products (as reported)

VendorProductVersions
Linux Kernel Linux Kernel unspecified – before 4caae58406f8ceb741603eee460d79bacca9b1b5

Weakness: CWE-302 · Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N

References