Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2022-50643

UNSCOREDEPSS 13%

cifs: Fix xid leak in cifs_copy_file_range()

Mitigation

  • Upgrade Linux to 9a97df404a402fe1174d2d1119f87ff2a0ca2fe9 or later.

Who should check

  • Anyone running Linux >= 4e8aea30f7751ce7c4b158aa0c04e7744d281cc3, < bf49d4fe4ab7b8d812927a2c7b514864d5fc1bb2; >= 4e8aea30f7751ce7c4b158aa0c04e7744d281cc3, < 27cfd3afaab000a455194338db3b7f2031fde9d0; >= 4e8aea30f7751ce7c4b158aa0c04e7744d281cc3, < dc283313d1ca378d787cb55c1e580dc3de852680; >= 4e8aea30f7751ce7c4b158aa0c04e7744d281cc3, < 9a97df404a402fe1174d2d1119f87ff2a0ca2fe9
  • Anyone running Linux 5.7

Vulnerability facts

Affected
Linux >= 4e8aea30f7751ce7c4b158aa0c04e7744d281cc3, < bf49d4fe4ab7b8d812927a2c7b514864d5fc1bb2; >= 4e8aea30f7751ce7c4b158aa0c04e7744d281cc3, < 27cfd3afaab000a455194338db3b7f2031fde9d0; >= 4e8aea30f7751ce7c4b158aa0c04e7744d281cc3, < dc283313d1ca378d787cb55c1e580dc3de852680; >= 4e8aea30f7751ce7c4b158aa0c04e7744d281cc3, < 9a97df404a402fe1174d2d1119f87ff2a0ca2fe9; Linux 5.7
Fixed in
Linux 27cfd3afaab000a455194338db3b7f2031fde9d0, Linux 9a97df404a402fe1174d2d1119f87ff2a0ca2fe9
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
EPSS
0.28% chance of exploitation in 30 days (percentile 13, 2026-11-26)
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: cifs: Fix xid leak in cifs_copy_file_range() If the file is used by swap, before return -EOPNOTSUPP, should free the xid, otherwise, the xid will be leaked.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 4e8aea30f7751ce7c4b158aa0c04e7744d281cc3, < bf49d4fe4ab7b8d812927a2c7b514864d5fc1bb2; >= 4e8aea30f7751ce7c4b158aa0c04e7744d281cc3, < 27cfd3afaab000a455194338db3b7f2031fde9d0; >= 4e8aea30f7751ce7c4b158aa0c04e7744d281cc3, < dc283313d1ca378d787cb55c1e580dc3de852680; >= 4e8aea30f7751ce7c4b158aa0c04e7744d281cc3, < 9a97df404a402fe1174d2d1119f87ff2a0ca2fe9—cvelist
Linux5.7—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-50643. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50643.md
Affected: Linux >= 4e8aea30f7751ce7c4b158aa0c04e7744d281cc3, < bf49d4fe4ab7b8d812927a2c7b514864d5fc1bb2; >= 4e8aea30f7751ce7c4b158aa0c04e7744d281cc3, < 27cfd3afaab000a455194338db3b7f2031fde9d0; >= 4e8aea30f7751ce7c4b158aa0c04e7744d281cc3, < dc283313d1ca378d787cb55c1e580dc3de852680; >= 4e8aea30f7751ce7c4b158a…
Fixed in: Linux 27cfd3afaab000a455194338db3b7f2031fde9d0, Linux 9a97df404a402fe1174d2d1119f87ff2a0ca2fe9

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-50643 being exploited?

There is no confirmed exploitation: CVE-2022-50643 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2022-50643?

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2022-50643?

Linux >= 4e8aea30f7751ce7c4b158aa0c04e7744d281cc3, < bf49d4fe4ab7b8d812927a2c7b514864d5fc1bb2; >= 4e8aea30f7751ce7c4b158aa0c04e7744d281cc3, < 27cfd3afaab000a455194338db3b7f2031fde9d0; >= 4e8aea30f7751ce7c4b158aa0c04e7744d281cc3, < dc283313d1ca378d787cb55c1e580dc3de852680; >= 4e8aea30f7751ce7c4b158aa0c04e7744d281cc3, < 9a97df404a402fe1174d2d1119f87ff2a0ca2fe9; Linux 5.7.

Is there a fix for CVE-2022-50643?

Yes. Fixed in Linux 27cfd3afaab000a455194338db3b7f2031fde9d0, Linux 9a97df404a402fe1174d2d1119f87ff2a0ca2fe9. Upgrade Linux to 9a97df404a402fe1174d2d1119f87ff2a0ca2fe9 or later.

How do I check if I'm affected by CVE-2022-50643?

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.

Sponsors