CVE-2022-50875Published Dec 30, 2025 · Dec 30Updated Oct 28
of: overlay: fix null pointer dereferencing in find_dup_cset_node_entry() and find_dup_cset_prop()
Linux
Unrated
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 2fe0e8769df9fed5098daea7db933bc414c329d7 · < ee9d7a0e754568180a2f8ebc4aad226278a9116f| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s overlay code can dereference a null pointer in find_dup_cset_node_entry() or find_dup_cset_prop() if memory allocation in kasprintf() fails. This could cause a crash; the input does not specify how an attacker could trigger it or whether access or user interaction is required.
Engineers running the Linux kernel should check their installations; affected versions are not specified.