What’s Vulnerable › Vulnerabilities
CVE-2022-50875: of: overlay: fix null pointer dereferencing in find_dup_cset_node_entry() and find_dup_cset_prop()
- Severity: unknown
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-12-30 · updated 2026-06-17
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.
Affected products
- Linux kernel: 5.0 — fixed in 6.2
How to fix
Upgrade to a fixed version: Linux kernel 6.2. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/2b4af99b44861646013821019dd13a4ac48c0219
- https://git.kernel.org/stable/c/71d88c7453ec3d2ceff98e18ce4d6354abd3b5b6
- https://git.kernel.org/stable/c/9ec5781879b4535ad59b5354b385825378e45618
- https://git.kernel.org/stable/c/ab5bb7bbacf531de8e32912cc2e21f906113cee8
- https://git.kernel.org/stable/c/ce1b3a41e7964cb8dd56a702a95dd90ad27f51cd
- https://git.kernel.org/stable/c/ee9d7a0e754568180a2f8ebc4aad226278a9116f
Get alerted when CVE-2022-50875 or the next vulnerability affects your stack