CVE-2024-49568 net/smc: check v2_ext_offset/eid_cnt/ism_gid_cnt when receiving proposal msg

Critical 9.8 Published Updated

A remote attacker can cause a kernel crash by sending a malicious SMC proposal message with invalid offset values, requiring a kernel patch.

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

What is CVE-2024-49568?

CVE-2024-49568 is a critical memory corruption vulnerability in Linux kernel, published on 11 Jan 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:

net/smc: check v2_ext_offset/eid_cnt/ism_gid_cnt when receiving proposal msg

When receiving proposal msg in server, the fields v2_ext_offset/ eid_cnt/ism_gid_cnt in proposal msg are from the remote client and can not be fully trusted. Especially the field v2_ext_offset, once exceed the max value, there has the chance to access wrong address, and crash may happen.

This patch checks the fields v2_ext_offset/eid_cnt/ism_gid_cnt before using them.

Which versions are affected by CVE-2024-49568?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-49568?

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-2024-49568 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as AZL-68541, BELL-CVE-2024-49568, DEBIAN-CVE-2024-49568, GHSA-rgx8-6674-j479, ROOT-OS-DEBIAN-11-CVE-2024-49568, ROOT-OS-DEBIAN-12-CVE-2024-49568 and 2 more.

Is CVE-2024-49568 in your software?

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

Check your SBOMs for free