Arbitrary kernel execution via dm-verity target replacement
Published Aug 12, 2022 · Updated Apr 21, 2025
Protection bypass in the Linux Kernel allows local users with root access to execute arbitrary kernel code through a dm-verity reload. Device Mapper permits an active verity target to be replaced with an equivalent linear target, while LoadPin continues trusting the unchanged superblock and accepts unverified modules or firmware. The path requires a root shell or control of existing dmsetup invocations; filesystem changes survive only until reboot, while unsigned peripheral firmware can persist.
Summary
What happened
Protection bypass in the Linux Kernel allows local users with root access to execute arbitrary kernel code through a dm-verity reload. Device Mapper permits an active verity target to be replaced with an equivalent linear target, while LoadPin continues trusting the unchanged superblock and accepts unverified modules or firmware. The path requires a root shell or control of existing dmsetup invocations; filesystem changes survive only until reboot, while unsigned peripheral firmware can persist.
The record
- CVE
- CVE-2022-2503
- Published
- Aug 12, 2022
- Updated
- Apr 21, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux Kernel
- Classifications
- CWE-287, T1562.001
- Attack vector
- local
- Privileges
- admin
Timeline
How it unfolded
- Aug 12, 2022CVE publishedPublication date reported by the CVE source.
- Apr 21, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=unspecified <4caae58406f8ceb741603eee460d79bacca9b1b5
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Google Security Research dm-verity reload proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo