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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | linux | 5.18.2-1 | DEBIAN-CVE-2022-2503 |
| Debian:13 | linux | 5.18.2-1 | DEBIAN-CVE-2022-2503 |
| Debian:14 | linux | 5.18.2-1 | DEBIAN-CVE-2022-2503 |
| Ubuntu:22.04:LTS | linux | 5.15.0-47.51 | USN-5594-1 |
| Ubuntu:22.04:LTS | linux | 5.15.0-47.51 | UBUNTU-CVE-2022-2503 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1019.23 | UBUNTU-CVE-2022-2503 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1019.23 | USN-5594-1 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1019.24 | UBUNTU-CVE-2022-2503 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1019.24 | USN-5594-1 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1017.23 | UBUNTU-CVE-2022-2503 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1017.23 | USN-5594-1 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1015.18 | UBUNTU-CVE-2022-2503 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1015.18 | USN-5594-1 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1002.4 | USN-5594-1 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1002.4 | UBUNTU-CVE-2022-2503 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1013.15 | USN-5594-1 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1013.15 | UBUNTU-CVE-2022-2503 |
| Ubuntu:22.04:LTS | linux-intel-iot-realtime | no fix listed | UBUNTU-CVE-2022-2503 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1015.20 | USN-5616-1 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1015.20 | UBUNTU-CVE-2022-2503 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1017.21 | USN-5594-1 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1017.21 | UBUNTU-CVE-2022-2503 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-47.53 | USN-5594-1 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-47.53 | UBUNTU-CVE-2022-2503 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1007.7 | UBUNTU-CVE-2022-2503 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | 5.17.0-1013.14 | UBUNTU-CVE-2022-2503 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1017.22 | USN-5599-1 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1017.22 | UBUNTU-CVE-2022-2503 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1014.16 | USN-5602-1 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1014.16 | UBUNTU-CVE-2022-2503 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2022-2503 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2022-2503 |
| Ubuntu:22.04:LTS | linux-riscv | 5.15.0-1018.21 | UBUNTU-CVE-2022-2503 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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