# CVE-2022-50875: of: overlay: fix null pointer dereferencing in find_dup_cset_node_entry() and find_dup_cset_prop()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2025-12-30T12:23:16.108Z
- Modified: 2026-06-17T05:24:20.107Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 2fe0e8769df9fed5098daea7db933bc414c329d7 before 9ec5781879b4535ad59b5354b385825378e45618; from 2fe0e8769df9fed5098daea7db933bc414c329d7 before 2b4af99b44861646013821019dd13a4ac48c0219; from 2fe0e8769df9fed5098daea7db933bc414c329d7 before ce1b3a41e7964cb8dd56a702a95dd90ad27f51cd; from 2fe0e8769df9fed5098daea7db933bc414c329d7 before ab5bb7bbacf531de8e32912cc2e21f906113cee8; from 2fe0e8769df9fed5098daea7db933bc414c329d7 before 71d88c7453ec3d2ceff98e18ce4d6354abd3b5b6; from 2fe0e8769df9fed5098daea7db933bc414c329d7 before ee9d7a0e754568180a2f8ebc4aad226278a9116f; 5.0 (not affected: before 5.0; from 5.4.229 up to 5.4.*; from 5.10.163 up to 5.10.*; from 5.15.86 up to 5.15.*; from 6.0.16 up to 6.0.*; from 6.1.2 up to 6.1.*; from 6.2 up to *)

## References

- <https://git.kernel.org/stable/c/9ec5781879b4535ad59b5354b385825378e45618>
- <https://git.kernel.org/stable/c/2b4af99b44861646013821019dd13a4ac48c0219>
- <https://git.kernel.org/stable/c/ce1b3a41e7964cb8dd56a702a95dd90ad27f51cd>
- <https://git.kernel.org/stable/c/ab5bb7bbacf531de8e32912cc2e21f906113cee8>
- <https://git.kernel.org/stable/c/71d88c7453ec3d2ceff98e18ce4d6354abd3b5b6>
- <https://git.kernel.org/stable/c/ee9d7a0e754568180a2f8ebc4aad226278a9116f>

## Sources

- CVE List: [CVE-2022-50875](https://www.cve.org/CVERecord?id=CVE-2022-50875), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-50875](https://nvd.nist.gov/vuln/detail/CVE-2022-50875), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-50875 · Whole record: https://cve.day/CVE-2022-50875.json · Rebuilt by cve.day 2026-11-25T22:58:21.388Z
