CVE-2023-1078 Memory corruption in Linux kernel

High 7.8 Published Updated

A type confusion flaw in the Linux kernel RDS protocol allows local attackers to cause out-of-bounds access and lock corruption, potentially leading to privilege escalation or denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-1078?

CVE-2023-1078 is a high-severity memory corruption vulnerability in Linux kernel, published on 27 Mar 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A flaw was found in the Linux Kernel in RDS (Reliable Datagram Sockets) protocol. The rds_rm_zerocopy_callback() uses list_entry() on the head of a list causing a type confusion. Local user can trigger this with rds_message_put(). Type confusion leads to `struct rds_msg_zcopy_info *info` actually points to something else that is potentially controlled by local user. It is known how to trigger this, which causes an out of bounds access, and a lock corruption.

Weakness: CWE-843, CWE-787

Which versions are affected by CVE-2023-1078?

It affects 1 product.

Linux distribution packages (3)
kernel-livepatch-SLE15-SP2_Update_34 SUSE:Linux Enterprise Live Patching 15 SP2All versions2-150200.2.3
kernel-livepatch-SLE15-SP3_Update_30 SUSE:Linux Enterprise Live Patching 15 SP3All versions2-150300.2.3
kernel-source openSUSE:TumbleweedAll versions6.2.8-1.1

Products include Linux kernel.

How do I fix CVE-2023-1078?

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-2023-1078 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2023-1078, GHSA-r26p-gh73-qgq9, SUSE-SU-2023:1610-1, SUSE-SU-2023:1645-1, UBUNTU-CVE-2023-1078, openSUSE-SU-2024:12814-1.

Is CVE-2023-1078 in your software?

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

Check your SBOMs for free