CVE-2023-53464 scsi: iscsi_tcp: Check that sock is valid before iscsi_set_param()

Medium 5.5 Published Updated

A null pointer dereference in the Linux kernel iSCSI TCP module can cause a system crash when setting parameters.

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

CVE-2023-53464 is a medium-severity vulnerability in Linux kernel, published on 1 Oct 2025. 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:

scsi: iscsi_tcp: Check that sock is valid before iscsi_set_param()

The validity of sock should be checked before assignment to avoid incorrect values. Commit 57569c37f0ad ("scsi: iscsi: iscsi_tcp: Fix null-ptr-deref while calling getpeername()") introduced this change which may lead to inconsistent values of tcp_sw_conn->sendpage and conn->datadgst_en.

Fix the issue by moving the position of the assignment.

Weakness: CWE-476

Which versions are affected by CVE-2023-53464?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2023-53464?

Apply the vendor's patch.

Is CVE-2023-53464 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2023-53464, DEBIAN-CVE-2023-53464, GHSA-xwwx-gg4v-8gp7, UBUNTU-CVE-2023-53464.

Is CVE-2023-53464 in your software?

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

Check your SBOMs for free