Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2022-21546

HIGH 7.5EPSS 51%

scsi: target: Fix WRITE_SAME No Data Buffer crash

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= f6970ad31d42fceb38b5595cbad093a4d0bfcc43, < 54e57be2573cf0b8bf650375fd8752987b6c3d3b; >= f6970ad31d42fceb38b5595cbad093a4d0bfcc43, < d8e6a27e9238dd294d6f2f401655f300dca20899; >= f6970ad31d42fceb38b5595cbad093a4d0bfcc43, < 4226622647e3e5ac06d3ebc1605b917446157510; >= f6970ad31d42fceb38b5595cbad093a4d0bfcc43, < ccd3f449052449a917a3e577d8ba0368f43b8f29
  • Anyone running Linux 3.8

Vulnerability facts

Affected
Linux >= f6970ad31d42fceb38b5595cbad093a4d0bfcc43, < 54e57be2573cf0b8bf650375fd8752987b6c3d3b; >= f6970ad31d42fceb38b5595cbad093a4d0bfcc43, < d8e6a27e9238dd294d6f2f401655f300dca20899; >= f6970ad31d42fceb38b5595cbad093a4d0bfcc43, < 4226622647e3e5ac06d3ebc1605b917446157510; >= f6970ad31d42fceb38b5595cbad093a4d0bfcc43, < ccd3f449052449a917a3e577d8ba0368f43b8f29; Linux 3.8
Fixed in
Linux 54e57be2573cf0b8bf650375fd8752987b6c3d3b, Linux 4226622647e3e5ac06d3ebc1605b917446157510
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.76% chance of exploitation in 30 days (percentile 51, 2026-11-26)
CWE
CWE-476
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= f6970ad31d42fceb38b5595cbad093a4d0bfcc43, < 54e57be2573cf0b8bf650375fd8752987b6c3d3b; >= f6970ad31d42fceb38b5595cbad093a4d0bfcc43, < d8e6a27e9238dd294d6f2f401655f300dca20899; >= f6970ad31d42fceb38b5595cbad093a4d0bfcc43, < 4226622647e3e5ac06d3ebc1605b917446157510; >= f6970ad31d42fceb38b5595cbad093a4d0bfcc43, < ccd3f449052449a917a3e577d8ba0368f43b8f29—cvelist
Linux3.8—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2022-21546. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-21546.md
Affected: Linux >= f6970ad31d42fceb38b5595cbad093a4d0bfcc43, < 54e57be2573cf0b8bf650375fd8752987b6c3d3b; >= f6970ad31d42fceb38b5595cbad093a4d0bfcc43, < d8e6a27e9238dd294d6f2f401655f300dca20899; >= f6970ad31d42fceb38b5595cbad093a4d0bfcc43, < 4226622647e3e5ac06d3ebc1605b917446157510; >= f6970ad31d42fceb38b5595…
Fixed in: Linux 54e57be2573cf0b8bf650375fd8752987b6c3d3b, Linux 4226622647e3e5ac06d3ebc1605b917446157510

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2022-21546 being exploited?

There is no confirmed exploitation: CVE-2022-21546 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.76% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2022-21546?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2022-21546?

Linux >= f6970ad31d42fceb38b5595cbad093a4d0bfcc43, < 54e57be2573cf0b8bf650375fd8752987b6c3d3b; >= f6970ad31d42fceb38b5595cbad093a4d0bfcc43, < d8e6a27e9238dd294d6f2f401655f300dca20899; >= f6970ad31d42fceb38b5595cbad093a4d0bfcc43, < 4226622647e3e5ac06d3ebc1605b917446157510; >= f6970ad31d42fceb38b5595cbad093a4d0bfcc43, < ccd3f449052449a917a3e577d8ba0368f43b8f29; Linux 3.8.

Is there a fix for CVE-2022-21546?

Yes. Fixed in Linux 54e57be2573cf0b8bf650375fd8752987b6c3d3b, Linux 4226622647e3e5ac06d3ebc1605b917446157510. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2022-21546?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors