Kernel crash via unchecked metadata destination device
Published Jun 18, 2025 · Updated May 23, 2026
Null pointer dereference in affected Linux kernel versions allows local users to crash the kernel via xfrm packet transmission. xfrm_lookup_with_ifid() unconditionally dereferences dst_orig->dev while checking for a loopback device when an skb carrying metadata_dst has no device and no matching policy. Triggering the fault requires local low-privileged packet transmission through an xfrm interface and interrupts the host by crashing the kernel.
Summary
What happened
Null pointer dereference in affected Linux kernel versions allows local users to crash the kernel via xfrm packet transmission. xfrm_lookup_with_ifid() unconditionally dereferences dst_orig->dev while checking for a loopback device when an skb carrying metadata_dst has no device and no matching policy. Triggering the fault requires local low-privileged packet transmission through an xfrm interface and interrupts the host by crashing the kernel.
The record
- CVE
- CVE-2022-50004
- Published
- Jun 18, 2025
- Updated
- May 23, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-476, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jun 18, 2025CVE publishedPublication date reported by the CVE source.
- May 23, 2026Record 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=2d151d39073aff498358543801fca0f670fea981 <17ecd4a4db4783392edd4944f5e8268205083f70
- Affected versionversion=2d151d39073aff498358543801fca0f670fea981 <96f2758a6d028d1ac08616de9c3c7ff2a122ecf1
- Affected versionversion=2d151d39073aff498358543801fca0f670fea981 <e26d676c1f9f335510780b566a10475c47ce03d0
- Affected versionversion=5.10.118 <5.10.140
- Affected versionversion=5.15
- Affected versionversion=5b7f84b1f9f46327360a64c529433fa0d68cc3f4 <2761612bcde9776dd93ce60ce55ef0b7c7329153
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
No public exploit references are available in this record.
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