CVE-2022-50875
NoneCVSS
—
EPSS
0.2%
Published
Dec 30, 2025
CISA due date
—
Cloudanix analysis
A flaw in the Linux kernel can cause the entire system to crash when certain low-level memory operations fail during device configuration.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- OS kernel
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Null pointer dereference occurs in Linux kernel device tree overlay code when kasprintf() allocation fails, leaving fn_1 or fn_2 NULL before strcmp() is called in find_dup_cset_node_entry() or find_dup_cset_prop().
Why it matters to the business
Kernel panic or denial of service on systems performing device tree overlay operations, potentially disrupting boot or runtime device configuration on affected Linux deployments.
How an attack unfolds
An attacker triggers the vulnerable code path during device tree overlay application while simultaneously inducing memory pressure to cause kasprintf() failure, resulting in the null dereference and system crash.
How to fix it
Apply the upstream fix by updating the Linux kernel to include commit 9ec5781879b4535ad59b5354b385825378e45618 or later; rebuild and deploy the patched kernel image across affected systems.
How to confirm the fix worked
Confirm the presence of commit 9ec5781879b4535ad59b5354b385825378e45618 in the kernel source tree or verify the fixed versions of find_dup_cset_node_entry and find_dup_cset_prop contain explicit NULL checks after kasprintf.
Typical attack path
- Identify a target system using device tree overlays
- Trigger overlay application via dtbo load or equivalent mechanism
- Induce memory allocation failure at the kasprintf call site
- Cause strcmp on NULL pointer leading to kernel oops or panic
How to detect it
Review kernel logs and crash dumps for oops or panic messages containing find_dup_cset_node_entry, find_dup_cset_prop, or kasprintf failure paths; correlate with device tree overlay load events.
- find_dup_cset_node_entry
- find_dup_cset_prop
- kasprintf.*NULL
- strcmp.*NULL pointer dereference
What your security team should do
- Prioritize kernel upgrade to the fixed commit on all production systems using device tree overlays
- Monitor for kernel oops logs referencing the affected overlay functions
- Test patched kernels in staging environments before broad deployment
The record
In the Linux kernel, the following vulnerability has been resolved: of: overlay: fix null pointer dereferencing in find_dup_cset_node_entry() and find_dup_cset_prop() When kmalloc() fail to allocate memory in kasprintf(), fn_1 or fn_2 will be NULL, and strcmp() will cause null pointer dereference.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Linux | Kernel | 5.0.0 | 5.4.229 |
Related vulnerabilities
- CVE-2026-23226 In the Linux kernel, the following vulnerability has been resolved: ksmbd: add chann_lock… Also affects Kernel
- CVE-2026-23225 In the Linux kernel, the following vulnerability has been resolved: sched/mmcid: Don't… Also affects Kernel
- CVE-2026-23230 In the Linux kernel, the following vulnerability has been resolved: smb: client: split… Also affects Kernel
- CVE-2026-23224 In the Linux kernel, the following vulnerability has been resolved: erofs: fix UAF issue… Also affects Kernel
- CVE-2026-23227 In the Linux kernel, the following vulnerability has been resolved: drm/exynos: vidi: use… Also affects Kernel
- CVE-2026-23223 In the Linux kernel, the following vulnerability has been resolved: xfs: fix UAF in… Also affects Kernel
- CVE-2026-23228 In the Linux kernel, the following vulnerability has been resolved: smb: server: fix leak… Also affects Kernel
- CVE-2026-23229 In the Linux kernel, the following vulnerability has been resolved: crypto: virtio - Add… Also affects Kernel