All reports
Low

kernel: of: overlay: fix null pointer dereferencing in find_dup_cset_node_entry() and find_dup_cset_prop()

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2022-50875

Probability of exploitation in the next 30 days: 0.21%

FIRST EPSS · 2026-11-23

Description

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.

A NULL pointer dereference was found in the Device Tree overlay code. When memory allocation fails in kasprintf(), the resulting NULL pointer is passed to strcmp() without validation, causing a kernel crash.