Menu

Star on GitHub · 3.2k

CVE-2022-21546

7.5 · HIGH

In the Linux kernel, the following vulnerability has been resolved: scsi: target: Fix WRITE_SAME No Data Buffer crash In newer version of the SBC specs, we have a NDOB bit that indicates there is…

Published May 2, 2025CWE-476EPSS 0.45%

Overview

CVE-2022-21546 is a high-severity vulnerability. It was published on May 2, 2025 and has a CVSS 3.1 base score of 7.5 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical description

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

scsi: target: Fix WRITE_SAME No Data Buffer crash

In newer version of the SBC specs, we have a NDOB bit that indicates there

is no data buffer that gets written out. If this bit is set using commands

like "sg_write_same --ndob" we will crash in target_core_iblock/file's

execute_write_same handlers when we go to access the se_cmd->t_data_sg

because its NULL.

This patch adds a check for the NDOB bit in the common WRITE SAME code

because we don't support it. And, it adds a check for zero SG elements in

each handler in case the initiator tries to send a normal WRITE SAME with

no data buffer.

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2022-21546?

CVE-2022-21546 is a high-severity vulnerability. It was published on May 2, 2025 and has a CVSS 3.1 base score of 7.5 (HIGH).

How severe is CVE-2022-21546?

This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2022-21546?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2022-21546?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2022-21546 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2022

View all