{"id":"CVE-2022-50746","aliases":["CVE-2022-50746"],"related":[],"kind":"vulnerability","state":"published","title":"erofs: validate the extent length for uncompressed pclusters","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nerofs: validate the extent length for uncompressed pclusters\n\nsyzkaller reported a KASAN use-after-free:\nhttps://syzkaller.appspot.com/bug?extid=2ae90e873e97f1faf6f2\n\nThe referenced fuzzed image actually has two issues:\n - m_pa == 0 as a non-inlined pcluster;\n - The logical length is longer than its physical length.\n\nThe first issue has already been addressed.  This patch addresses\nthe second issue by checking the extent length validity.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nerofs: validate the extent length for uncompressed pclusters\n\nsyzkaller reported a KASAN use-after-free:\nhttps://syzkaller.appspot.com/bug?extid=2ae90e873e97f1faf6f2\n\nThe referenced fuzzed image actually has two issues:\n - m_pa == 0 as a non-inlined pcluster;\n - The logical length is longer than its physical length.\n\nThe first issue has already been addressed.  This patch addresses\nthe second issue by checking the extent length validity.","source":"cvelist"}],"published":"2025-12-24T13:05:42.628Z","modified":"2026-10-15T22:17:33.383Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.4,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.4,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"02827e1796b33f1794966f5c3101f8da2dfa9c1d","fixed":"dc8b6bd587b13b85aff6e9d36cdfcd3f955cac9e","status":"affected"},{"type":"git","introduced":"02827e1796b33f1794966f5c3101f8da2dfa9c1d","fixed":"40c73b2ea9611b5388807be406f30f5e4e1162da","status":"affected"},{"type":"git","introduced":"02827e1796b33f1794966f5c3101f8da2dfa9c1d","fixed":"c505feba4c0d76084e56ec498ce819f02a7043ae","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.19","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/dc8b6bd587b13b85aff6e9d36cdfcd3f955cac9e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/40c73b2ea9611b5388807be406f30f5e4e1162da","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c505feba4c0d76084e56ec498ce819f02a7043ae","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-15T21:32:20.485Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50746","url":"https://www.cve.org/CVERecord?id=CVE-2022-50746","licence":"CVE Terms of Use","modified":"2026-10-15T21:41:23.468Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50746","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50746","licence":"Public domain","modified":"2026-10-15T22:17:33.383Z"}],"updatedAt":"2026-11-25T22:58:21.344Z","epss":{"score":0.0025,"percentile":0.09821,"date":"2026-11-30T12:00:22.000Z"}}