CVE-2024-50264 vsock/virtio: Initialization of the dangling pointer occurring in vsk->trans

High 7.8 Published Updated

A dangling pointer in the Linux kernel vsock/virtio module can lead to a use-after-free, potentially allowing code execution or privilege escalation.

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-2024-50264?

CVE-2024-50264 is a high-severity use after free vulnerability in Linux kernel, published on 19 Nov 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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

vsock/virtio: Initialization of the dangling pointer occurring in vsk->trans

During loopback communication, a dangling pointer can be created in vsk->trans, potentially leading to a Use-After-Free condition. This issue is resolved by initializing vsk->trans to NULL.

Weakness: CWE-416

Which versions are affected by CVE-2024-50264?

It affects 1 product.

Linux distribution packages (6)
kgraft-patch-SLE12-SP5_Update_62 SUSE:Linux Enterprise Live Patching 12 SP5All versions2-8.6.1
kernel-livepatch-SLE15-SP3_Update_50 SUSE:Linux Enterprise Live Patching 15 SP3All versions2-150300.7.6.1
kernel-livepatch-SLE15-SP4_Update_33 SUSE:Linux Enterprise Live Patching 15 SP4All versions2-150400.9.8.1
kernel-livepatch-SLE15-SP6-RT_Update_0 SUSE:Linux Enterprise Live Patching 15 SP6All versions7-150600.3.1
kernel-livepatch-SLE15-SP6_Update_0 SUSE:Linux Enterprise Live Patching 15 SP6All versions8-150600.4.16.1
kernel-livepatch-SLE15-SP6_Update_5 SUSE:Linux Enterprise Live Patching 15 SP6All versions2-150600.13.6.1

Products include Linux kernel.

How do I fix CVE-2024-50264?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2024-50264 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as A-378870958, ASB-A-378870958, AZL-53507, AZL-53672, BELL-CVE-2024-50264, DEBIAN-CVE-2024-50264 and 5 more.

Is CVE-2024-50264 in your software?

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

Check your SBOMs for free