CVE-2022-50717 nvmet-tcp: add bounds check on Transfer Tag

Critical 9.8 Published Updated

An out-of-bounds access in the Linux kernel nvmet-tcp module allows attackers to cause denial of service or potentially execute code.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-50717?

CVE-2022-50717 is a critical memory corruption vulnerability in Linux, published on 24 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In the Linux kernel, the following vulnerability has been resolved:

nvmet-tcp: add bounds check on Transfer Tag

ttag is used as an index to get cmd in nvmet_tcp_handle_h2c_data_pdu(), add a bounds check to avoid out-of-bounds access.

Which versions are affected by CVE-2022-50717?

Linux distribution packages (1)
kgraft-patch-SLE12-SP5_Update_76 SUSE:Linux Enterprise Live Patching 12 SP5All versions2-2.1

How do I fix CVE-2022-50717?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2022-50717 being exploited?

There is no known exploitation of CVE-2022-50717 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2022-50717, GHSA-87xx-4gg4-q2mp, SUSE-SU-2026:0710-1, UBUNTU-CVE-2022-50717.

Is CVE-2022-50717 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free