CVE-2024-53094 RDMA/siw: Add sendpage_ok() check to disable MSG_SPLICE_PAGES

Critical 9.8 Published Updated

A missing check in the Linux kernel RDMA/siw driver causes a kernel warning and potential instability when using MSG_SPLICE_PAGES, leading to denial of service.

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-53094?

CVE-2024-53094 is a critical denial of service vulnerability in Linux kernel, published on 21 Nov 2024. 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:

RDMA/siw: Add sendpage_ok() check to disable MSG_SPLICE_PAGES

While running ISER over SIW, the initiator machine encounters a warning from skb_splice_from_iter() indicating that a slab page is being used in send_page. To address this, it is better to add a sendpage_ok() check within the driver itself, and if it returns 0, then MSG_SPLICE_PAGES flag should be disabled before entering the network stack.

A similar issue has been discussed for NVMe in this thread: https://lore.kernel.org/all/[email protected]/

WARNING: CPU: 0 PID: 5342 at net/core/skbuff.c:7140 skb_splice_from_iter+0x173/0x320 Call Trace: tcp_sendmsg_locked+0x368/0xe40 siw_tx_hdt+0x695/0xa40 [siw] siw_qp_sq_process+0x102/0xb00 [siw] siw_sq_resume+0x39/0x110 [siw] siw_run_sq+0x74/0x160 [siw] kthread+0xd2/0x100 ret_from_fork+0x34/0x40 ret_from_fork_asm+0x1a/0x30

Which versions are affected by CVE-2024-53094?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-53094?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2024-53094 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as AZL-54598, AZL-54646, BELL-CVE-2024-53094, DEBIAN-CVE-2024-53094, GHSA-w7c6-4vwf-466q, ROOT-OS-DEBIAN-11-CVE-2024-53094 and 3 more.

Is CVE-2024-53094 in your software?

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

Check your SBOMs for free