{"id":"CVE-2022-50875","aliases":["CVE-2022-50875"],"related":[],"kind":"vulnerability","state":"published","title":"of: overlay: fix null pointer dereferencing in find_dup_cset_node_entry() and find_dup_cset_prop()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nof: overlay: fix null pointer dereferencing in find_dup_cset_node_entry() and find_dup_cset_prop()\n\nWhen kmalloc() fail to allocate memory in kasprintf(), fn_1 or fn_2 will\nbe NULL, and strcmp() will cause null pointer dereference.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nof: overlay: fix null pointer dereferencing in find_dup_cset_node_entry() and find_dup_cset_prop()\n\nWhen kmalloc() fail to allocate memory in kasprintf(), fn_1 or fn_2 will\nbe NULL, and strcmp() will cause null pointer dereference.","source":"cvelist"}],"published":"2025-12-30T12:23:16.108Z","modified":"2026-06-17T05:24:20.107Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"2fe0e8769df9fed5098daea7db933bc414c329d7","fixed":"9ec5781879b4535ad59b5354b385825378e45618","status":"affected"},{"type":"git","introduced":"2fe0e8769df9fed5098daea7db933bc414c329d7","fixed":"2b4af99b44861646013821019dd13a4ac48c0219","status":"affected"},{"type":"git","introduced":"2fe0e8769df9fed5098daea7db933bc414c329d7","fixed":"ce1b3a41e7964cb8dd56a702a95dd90ad27f51cd","status":"affected"},{"type":"git","introduced":"2fe0e8769df9fed5098daea7db933bc414c329d7","fixed":"ab5bb7bbacf531de8e32912cc2e21f906113cee8","status":"affected"},{"type":"git","introduced":"2fe0e8769df9fed5098daea7db933bc414c329d7","fixed":"71d88c7453ec3d2ceff98e18ce4d6354abd3b5b6","status":"affected"},{"type":"git","introduced":"2fe0e8769df9fed5098daea7db933bc414c329d7","fixed":"ee9d7a0e754568180a2f8ebc4aad226278a9116f","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.0","status":"unaffected"},{"type":"semver","introduced":"5.4.229","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.163","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.86","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.0.16","lastAffected":"6.0.*","status":"unaffected"},{"type":"semver","introduced":"6.1.2","lastAffected":"6.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/9ec5781879b4535ad59b5354b385825378e45618","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2b4af99b44861646013821019dd13a4ac48c0219","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ce1b3a41e7964cb8dd56a702a95dd90ad27f51cd","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ab5bb7bbacf531de8e32912cc2e21f906113cee8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/71d88c7453ec3d2ceff98e18ce4d6354abd3b5b6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ee9d7a0e754568180a2f8ebc4aad226278a9116f","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50875","url":"https://www.cve.org/CVERecord?id=CVE-2022-50875","licence":"CVE Terms of Use","modified":"2026-05-11T19:26:49.069Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50875","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50875","licence":"Public domain","modified":"2026-06-17T05:24:20.107Z"}],"updatedAt":"2026-11-25T22:58:21.388Z","epss":{"score":0.0022,"percentile":0.13296,"date":"2026-12-01T12:00:22.000Z"}}