CVE-2023-52508 nvme-fc: Prevent null pointer dereference in nvme_fc_io_getuuid()

Medium 5.5 Published Updated

A null pointer dereference in the Linux kernel NVMe FC driver allows local attackers to cause a system crash via crafted AEN operations.

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

CVE-2023-52508 is a medium-severity vulnerability in Linux kernel, published on 2 Mar 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:

nvme-fc: Prevent null pointer dereference in nvme_fc_io_getuuid()

The nvme_fc_fcp_op structure describing an AEN operation is initialized with a null request structure pointer. An FC LLDD may make a call to nvme_fc_io_getuuid passing a pointer to an nvmefc_fcp_req for an AEN operation.

Add validation of the request structure pointer before dereference.

Weakness: CWE-476

Which versions are affected by CVE-2023-52508?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2023-52508?

Apply the vendor's patch.

Is CVE-2023-52508 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2023-52508, DEBIAN-CVE-2023-52508, GHSA-9mvw-qw27-cc95, ROOT-OS-UBUNTU-2204-CVE-2023-52508, UBUNTU-CVE-2023-52508.

Is CVE-2023-52508 in your software?

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

Check your SBOMs for free