CVE-2022-21546
scsi: target: Fix WRITE_SAME No Data Buffer crash
CVE-2022-21546 is a null-pointer deref in Linux (CVSS 7.5, High).
No known exploitation. EPSS puts it in the 40th percentile. Fixed versions are out.
No public exploit knownFix5 products4 fixed builds listed below
e.g. OID 1.3.6.1.4.1.25623.1.0.155892
What to do
Find your product and version, then upgrade to the build on the right.
- LinuxAffected: ≥ f6970ad31d42fceb38b5595cbad093a4d0bfcc43, < 54e57be2573cf0b8bf650375fd8752987b6c3d3bUpgrade to: 54e57be2573cf0b8bf650375fd8752987b6c3d3bAffected: ≥ f6970ad31d42fceb38b5595cbad093a4d0bfcc43, < d8e6a27e9238dd294d6f2f401655f300dca20899Upgrade to: d8e6a27e9238dd294d6f2f401655f300dca20899Affected: ≥ f6970ad31d42fceb38b5595cbad093a4d0bfcc43, < 4226622647e3e5ac06d3ebc1605b917446157510Upgrade to: 4226622647e3e5ac06d3ebc1605b917446157510Affected: ≥ f6970ad31d42fceb38b5595cbad093a4d0bfcc43, < ccd3f449052449a917a3e577d8ba0368f43b8f29Upgrade to: ccd3f449052449a917a3e577d8ba0368f43b8f29Stated by: CVE record
- Canonical Ltd. UbuntuAffected: 14.04 LTSUpgrade to: not statedStated by: BDU
- Open-source community Debian GNU/LinuxAffected: 11Upgrade to: not statedStated by: BDU
- Innovatsionnye Tekhnologii v Biznese EMIAS OSAffected: 1.0Upgrade to: not statedStated by: BDU
- Open-source community LinuxAffected: before 5.19Upgrade to: not statedStated by: BDU
Versions as the sources state them. Full version matrix after sign-in
What it is
From the CVE record
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.
In plain language
No plain-language summary for this CVE yet.
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
No public exploit or proof of concept found in the sources we track.
- EPSS
0.5% chance of exploitation activity in the next 30 days, which ranks it in the 40th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
8 events over 459 days, from the signal feeds we watch.
- Patch availablerecord updated
- OpenVAS check added
- Patch availablerecord updated
- Publishedweakness classified, att&ck mapped
Affected products
And 1 more affected product. See all after sign-in
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Scored 7.5 by NVD.
How it is reached
- Attack Vector NetworkExploitable remotely over the network without any special conditions
- Attack Complexity LowNo special conditions — the attack can be reliably reproduced
- Privileges Required NoneNo authentication required — anyone can exploit this
- User Interaction NoneNo user interaction needed — fully automated exploitation
Scope
- Scope UnchangedImpact is limited to the vulnerable component itself
Impact if exploited
- Confidentiality NoneNo confidentiality impact
- Integrity NoneNo integrity impact
- Availability HighTotal denial of service — the component is completely unavailable
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
Sources
Questions about CVE-2022-21546
- Is CVE-2022-21546 being exploited?
- No exploitation is confirmed and no public exploit is known. EPSS puts the chance of exploitation in the next 30 days at 0.5%.
- Which versions are affected by CVE-2022-21546?
- Linux: ≥ f6970ad31d42fceb38b5595cbad093a4d0bfcc43, < 54e57be2573cf0b8bf650375fd8752987b6c3d3b; ≥ f6970ad31d42fceb38b5595cbad093a4d0bfcc43, < d8e6a27e9238dd294d6f2f401655f300dca20899; ≥ f6970ad31d42fceb38b5595cbad093a4d0bfcc43, < 4226622647e3e5ac06d3ebc1605b917446157510. Ubuntu: 14.04 LTS. Debian GNU/Linux: 11. 2 more products are listed in the record.
- How do I fix or mitigate CVE-2022-21546?
- Upgrade to a fixed build for your product branch: 54e57be2573cf0b8bf650375fd8752987b6c3d3b, d8e6a27e9238dd294d6f2f401655f300dca20899, 4226622647e3e5ac06d3ebc1605b917446157510, ccd3f449052449a917a3e577d8ba0368f43b8f29. The advisory is on security-tracker.debian.org.
Last updated
Watch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Linux, not every advisory.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI