CVE-2022-50743
erofs: Fix pcluster memleak when its block address is zero
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= cecf864d3d76d50e3d9c58145e286a0b8c284e92, < ac54c1f7b288d83b6ba1e320efff24ecc21309cd; >= cecf864d3d76d50e3d9c58145e286a0b8c284e92, < 618e712b99c78d1004b70a1a9ab0a4830d0b2673; >= cecf864d3d76d50e3d9c58145e286a0b8c284e92, < c42c0ffe81176940bd5dead474216b7198d77675
- Anyone running Linux 5.17
Vulnerability facts
- Affected
- Linux >= cecf864d3d76d50e3d9c58145e286a0b8c284e92, < ac54c1f7b288d83b6ba1e320efff24ecc21309cd; >= cecf864d3d76d50e3d9c58145e286a0b8c284e92, < 618e712b99c78d1004b70a1a9ab0a4830d0b2673; >= cecf864d3d76d50e3d9c58145e286a0b8c284e92, < c42c0ffe81176940bd5dead474216b7198d77675; Linux 5.17
- Fixed in
- Linux 618e712b99c78d1004b70a1a9ab0a4830d0b2673
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.27% chance of exploitation in 30 days (percentile 13, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: erofs: Fix pcluster memleak when its block address is zero syzkaller reported a memleak: https://syzkaller.appspot.com/bug?id=62f37ff612f0021641eda5b17f056f1668aa9aed unreferenced object 0xffff88811009c7f8 (size 136): ... backtrace: [<ffffffff821db19b>] z_erofs_do_read_page+0x99b/0x1740 [<ffffffff821dee9e>] z_erofs_readahead+0x24e/0x580 [<ffffffff814bc0d6>] read_pages+0x86/0x3d0 ... syzkaller constructed a case: in z_erofs_register_pcluster(), ztailpacking = false and map->m_pa = zero. This makes pcl->obj.index be zero although pcl is not a inline pcluster. Then following path adds refcount for grp, but the refcount won't be put because pcl is inline. z_erofs_readahead() z_erofs_do_read_page() # for another page z_erofs_collector_begin() erofs_find_workgroup() erofs_workgroup_get() Since it's illegal for the block address of a non-inlined pcluster to be zero, add check here to avoid registering the pcluster which would be leaked.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= cecf864d3d76d50e3d9c58145e286a0b8c284e92, < ac54c1f7b288d83b6ba1e320efff24ecc21309cd; >= cecf864d3d76d50e3d9c58145e286a0b8c284e92, < 618e712b99c78d1004b70a1a9ab0a4830d0b2673; >= cecf864d3d76d50e3d9c58145e286a0b8c284e92, < c42c0ffe81176940bd5dead474216b7198d77675 | — | cvelist |
| Linux | 5.17 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-50743. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-50743.md Affected: Linux >= cecf864d3d76d50e3d9c58145e286a0b8c284e92, < ac54c1f7b288d83b6ba1e320efff24ecc21309cd; >= cecf864d3d76d50e3d9c58145e286a0b8c284e92, < 618e712b99c78d1004b70a1a9ab0a4830d0b2673; >= cecf864d3d76d50e3d9c58145e286a0b8c284e92, < c42c0ffe81176940bd5dead474216b7198d77675; Linux 5.17 Fixed in: Linux 618e712b99c78d1004b70a1a9ab0a4830d0b2673 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2022-50743 being exploited?
There is no confirmed exploitation: CVE-2022-50743 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-50743?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2022-50743?
Linux >= cecf864d3d76d50e3d9c58145e286a0b8c284e92, < ac54c1f7b288d83b6ba1e320efff24ecc21309cd; >= cecf864d3d76d50e3d9c58145e286a0b8c284e92, < 618e712b99c78d1004b70a1a9ab0a4830d0b2673; >= cecf864d3d76d50e3d9c58145e286a0b8c284e92, < c42c0ffe81176940bd5dead474216b7198d77675; Linux 5.17.
Is there a fix for CVE-2022-50743?
Yes. Fixed in Linux 618e712b99c78d1004b70a1a9ab0a4830d0b2673. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2022-50743?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.