Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-21546

published high CVSS 3.1 · 7.5

scsi: target: Fix WRITE_SAME No Data Buffer crash

Published
02 May 2025, 21:52:09 UTC
Updated
05 Aug 2026, 08:51:31 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxf6970ad31d42fceb38b5595cbad093a4d0bfcc43 to < 54e57be2573cf0b8bf650375fd8752987b6c3d3b · f6970ad31d42fceb38b5595cbad093a4d0bfcc43 to < d8e6a27e9238dd294d6f2f401655f300dca20899 · f6970ad31d42fceb38b5595cbad093a4d0bfcc43 to < 4226622647e3e5ac06d3ebc1605b917446157510 · f6970ad31d42fceb38b5595cbad093a4d0bfcc43 to < ccd3f449052449a917a3e577d8ba0368f43b8f29 · Other versions: unaffected Affected Not stated Linux
Linux — Linux3.8 (affected) · 0 to < 3.8 (unaffected · semver) · 5.4.294 through 5.4.* (unaffected · semver) · 5.10.238 through 5.10.* (unaffected · semver) · 5.15.182 through 5.15.* (unaffected · semver) · 5.19 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation No Fix Planned Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2025-095 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2025-073 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.4-2025-103 Fixed Not stated Amazon Linux assessment
Debian bullseye linux Advisory build 5.10.244-1 DLA-4327-1
Oracle Linux 6 kernel-uekx86_64 Advisory build 0:4.1.12-124.66.3.el6uek ELSA-2022-9761
Show 99 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Oracle Linux 6 kernel-uek-debugx86_64 Advisory build 0:4.1.12-124.66.3.el6uek ELSA-2022-9761
Oracle Linux 6 kernel-uek-debug-develx86_64 Advisory build 0:4.1.12-124.66.3.el6uek ELSA-2022-9761
Oracle Linux 6 kernel-uek-develx86_64 Advisory build 0:4.1.12-124.66.3.el6uek ELSA-2022-9761
Oracle Linux 6 kernel-uek-docx86_64 Advisory build 0:4.1.12-124.66.3.el6uek ELSA-2022-9761
Oracle Linux 6 kernel-uek-firmwarex86_64 Advisory build 0:4.1.12-124.66.3.el6uek ELSA-2022-9761
Oracle Linux 7 kernel-uekaarch64 Advisory build 0:4.14.35-2047.517.3.el7uek ELSA-2022-9787
Oracle Linux 7 kernel-uekaarch64 Advisory build 0:5.4.17-2136.311.6.el7uek ELSA-2022-9828
Oracle Linux 7 kernel-uekx86_64 Advisory build 0:4.1.12-124.66.3.el7uek ELSA-2022-9761
Oracle Linux 7 kernel-uekx86_64 Advisory build 0:4.14.35-2047.517.3.el7uek ELSA-2022-9787
Oracle Linux 7 kernel-uekx86_64 Advisory build 0:5.4.17-2136.311.6.el7uek ELSA-2022-9828
Oracle Linux 7 kernel-uek-containerx86_64 Advisory build 0:4.14.35-2047.517.3.el7 ELSA-2022-9788
Oracle Linux 7 kernel-uek-containerx86_64 Advisory build 0:5.4.17-2136.311.6.el7 ELSA-2022-9829
Oracle Linux 7 kernel-uek-container-debugx86_64 Advisory build 0:5.4.17-2136.311.6.el7 ELSA-2022-9829
Oracle Linux 7 kernel-uek-debugaarch64 Advisory build 0:4.14.35-2047.517.3.el7uek ELSA-2022-9787
Oracle Linux 7 kernel-uek-debugaarch64 Advisory build 0:5.4.17-2136.311.6.el7uek ELSA-2022-9828
Oracle Linux 7 kernel-uek-debugx86_64 Advisory build 0:4.1.12-124.66.3.el7uek ELSA-2022-9761
Oracle Linux 7 kernel-uek-debugx86_64 Advisory build 0:4.14.35-2047.517.3.el7uek ELSA-2022-9787
Oracle Linux 7 kernel-uek-debugx86_64 Advisory build 0:5.4.17-2136.311.6.el7uek ELSA-2022-9828
Oracle Linux 7 kernel-uek-debug-develaarch64 Advisory build 0:4.14.35-2047.517.3.el7uek ELSA-2022-9787
Oracle Linux 7 kernel-uek-debug-develaarch64 Advisory build 0:5.4.17-2136.311.6.el7uek ELSA-2022-9828
Oracle Linux 7 kernel-uek-debug-develx86_64 Advisory build 0:4.1.12-124.66.3.el7uek ELSA-2022-9761
Oracle Linux 7 kernel-uek-debug-develx86_64 Advisory build 0:4.14.35-2047.517.3.el7uek ELSA-2022-9787
Oracle Linux 7 kernel-uek-debug-develx86_64 Advisory build 0:5.4.17-2136.311.6.el7uek ELSA-2022-9828
Oracle Linux 7 kernel-uek-develaarch64 Advisory build 0:4.14.35-2047.517.3.el7uek ELSA-2022-9787
Oracle Linux 7 kernel-uek-develaarch64 Advisory build 0:5.4.17-2136.311.6.el7uek ELSA-2022-9828
Oracle Linux 7 kernel-uek-develx86_64 Advisory build 0:4.1.12-124.66.3.el7uek ELSA-2022-9761
Oracle Linux 7 kernel-uek-develx86_64 Advisory build 0:4.14.35-2047.517.3.el7uek ELSA-2022-9787
Oracle Linux 7 kernel-uek-develx86_64 Advisory build 0:5.4.17-2136.311.6.el7uek ELSA-2022-9828
Oracle Linux 7 kernel-uek-docaarch64 Advisory build 0:5.4.17-2136.311.6.el7uek ELSA-2022-9828
Oracle Linux 7 kernel-uek-docx86_64 Advisory build 0:4.1.12-124.66.3.el7uek ELSA-2022-9761
Oracle Linux 7 kernel-uek-docx86_64 Advisory build 0:4.14.35-2047.517.3.el7uek ELSA-2022-9787
Oracle Linux 7 kernel-uek-docx86_64 Advisory build 0:5.4.17-2136.311.6.el7uek ELSA-2022-9828
Oracle Linux 7 kernel-uek-firmwarex86_64 Advisory build 0:4.1.12-124.66.3.el7uek ELSA-2022-9761
Oracle Linux 7 kernel-uek-headersaarch64 Advisory build 0:4.14.35-2047.517.3.el7uek ELSA-2022-9787
Oracle Linux 7 kernel-uek-toolsaarch64 Advisory build 0:4.14.35-2047.517.3.el7uek ELSA-2022-9787
Oracle Linux 7 kernel-uek-toolsaarch64 Advisory build 0:5.4.17-2136.311.6.el7uek ELSA-2022-9828
Oracle Linux 7 kernel-uek-toolsx86_64 Advisory build 0:4.14.35-2047.517.3.el7uek ELSA-2022-9787
Oracle Linux 7 kernel-uek-toolsx86_64 Advisory build 0:5.4.17-2136.311.6.el7uek ELSA-2022-9828
Oracle Linux 7 kernel-uek-tools-libsaarch64 Advisory build 0:4.14.35-2047.517.3.el7uek ELSA-2022-9787
Oracle Linux 7 kernel-uek-tools-libsaarch64 Advisory build 0:5.4.17-2136.311.6.el7uek ELSA-2022-9828
Oracle Linux 7 kernel-uek-tools-libs-develaarch64 Advisory build 0:4.14.35-2047.517.3.el7uek ELSA-2022-9787
Oracle Linux 7 perfaarch64 Advisory build 0:4.14.35-2047.517.3.el7uek ELSA-2022-9787
Oracle Linux 7 perfaarch64 Advisory build 0:5.4.17-2136.311.6.el7uek ELSA-2022-9828
Oracle Linux 7 python-perfaarch64 Advisory build 0:4.14.35-2047.517.3.el7uek ELSA-2022-9787
Oracle Linux 7 python-perfaarch64 Advisory build 0:5.4.17-2136.311.6.el7uek ELSA-2022-9828
Oracle Linux 8 bpftoolaarch64 Advisory build 0:5.15.0-2.52.3.el8uek ELSA-2022-9827
Oracle Linux 8 bpftoolx86_64 Advisory build 0:5.15.0-2.52.3.el8uek ELSA-2022-9827
Oracle Linux 8 kernel-uekaarch64 Advisory build 0:5.15.0-2.52.3.el8uek ELSA-2022-9827
Oracle Linux 8 kernel-uekaarch64 Advisory build 0:5.4.17-2136.311.6.el8uek ELSA-2022-9828
Oracle Linux 8 kernel-uekx86_64 Advisory build 0:5.15.0-2.52.3.el8uek ELSA-2022-9827
Oracle Linux 8 kernel-uekx86_64 Advisory build 0:5.4.17-2136.311.6.el8uek ELSA-2022-9828
Oracle Linux 8 kernel-uek-containerx86_64 Advisory build 0:5.15.0-2.52.3.el8 ELSA-2022-9830
Oracle Linux 8 kernel-uek-containerx86_64 Advisory build 0:5.4.17-2136.311.6.el8 ELSA-2022-9829
Oracle Linux 8 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-2.52.3.el8 ELSA-2022-9830
Oracle Linux 8 kernel-uek-container-debugx86_64 Advisory build 0:5.4.17-2136.311.6.el8 ELSA-2022-9829
Oracle Linux 8 kernel-uek-coreaarch64 Advisory build 0:5.15.0-2.52.3.el8uek ELSA-2022-9827
Oracle Linux 8 kernel-uek-corex86_64 Advisory build 0:5.15.0-2.52.3.el8uek ELSA-2022-9827
Oracle Linux 8 kernel-uek-debugaarch64 Advisory build 0:5.15.0-2.52.3.el8uek ELSA-2022-9827
Oracle Linux 8 kernel-uek-debugaarch64 Advisory build 0:5.4.17-2136.311.6.el8uek ELSA-2022-9828
Oracle Linux 8 kernel-uek-debugx86_64 Advisory build 0:5.15.0-2.52.3.el8uek ELSA-2022-9827
Oracle Linux 8 kernel-uek-debugx86_64 Advisory build 0:5.4.17-2136.311.6.el8uek ELSA-2022-9828
Oracle Linux 8 kernel-uek-debug-coreaarch64 Advisory build 0:5.15.0-2.52.3.el8uek ELSA-2022-9827
Oracle Linux 8 kernel-uek-debug-corex86_64 Advisory build 0:5.15.0-2.52.3.el8uek ELSA-2022-9827
Oracle Linux 8 kernel-uek-debug-develaarch64 Advisory build 0:5.15.0-2.52.3.el8uek ELSA-2022-9827
Oracle Linux 8 kernel-uek-debug-develaarch64 Advisory build 0:5.4.17-2136.311.6.el8uek ELSA-2022-9828
Oracle Linux 8 kernel-uek-debug-develx86_64 Advisory build 0:5.15.0-2.52.3.el8uek ELSA-2022-9827
Oracle Linux 8 kernel-uek-debug-develx86_64 Advisory build 0:5.4.17-2136.311.6.el8uek ELSA-2022-9828
Oracle Linux 8 kernel-uek-debug-modulesaarch64 Advisory build 0:5.15.0-2.52.3.el8uek ELSA-2022-9827
Oracle Linux 8 kernel-uek-debug-modulesx86_64 Advisory build 0:5.15.0-2.52.3.el8uek ELSA-2022-9827
Oracle Linux 8 kernel-uek-debug-modules-extraaarch64 Advisory build 0:5.15.0-2.52.3.el8uek ELSA-2022-9827
Oracle Linux 8 kernel-uek-debug-modules-extrax86_64 Advisory build 0:5.15.0-2.52.3.el8uek ELSA-2022-9827
Oracle Linux 8 kernel-uek-develaarch64 Advisory build 0:5.15.0-2.52.3.el8uek ELSA-2022-9827
Oracle Linux 8 kernel-uek-develaarch64 Advisory build 0:5.4.17-2136.311.6.el8uek ELSA-2022-9828
Oracle Linux 8 kernel-uek-develx86_64 Advisory build 0:5.15.0-2.52.3.el8uek ELSA-2022-9827
Oracle Linux 8 kernel-uek-develx86_64 Advisory build 0:5.4.17-2136.311.6.el8uek ELSA-2022-9828
Oracle Linux 8 kernel-uek-docaarch64 Advisory build 0:5.15.0-2.52.3.el8uek ELSA-2022-9827
Oracle Linux 8 kernel-uek-docaarch64 Advisory build 0:5.4.17-2136.311.6.el8uek ELSA-2022-9828
Oracle Linux 8 kernel-uek-docx86_64 Advisory build 0:5.15.0-2.52.3.el8uek ELSA-2022-9827
Oracle Linux 8 kernel-uek-docx86_64 Advisory build 0:5.4.17-2136.311.6.el8uek ELSA-2022-9828
Oracle Linux 8 kernel-uek-modulesaarch64 Advisory build 0:5.15.0-2.52.3.el8uek ELSA-2022-9827
Oracle Linux 8 kernel-uek-modulesx86_64 Advisory build 0:5.15.0-2.52.3.el8uek ELSA-2022-9827
Oracle Linux 8 kernel-uek-modules-extraaarch64 Advisory build 0:5.15.0-2.52.3.el8uek ELSA-2022-9827
Oracle Linux 8 kernel-uek-modules-extrax86_64 Advisory build 0:5.15.0-2.52.3.el8uek ELSA-2022-9827
Oracle Linux 9 bpftoolaarch64 Advisory build 0:5.15.0-2.52.3.el9uek ELSA-2022-9827
Oracle Linux 9 bpftoolx86_64 Advisory build 0:5.15.0-2.52.3.el9uek ELSA-2022-9827
Oracle Linux 9 kernel-uekaarch64 Advisory build 0:5.15.0-2.52.3.el9uek ELSA-2022-9827
Oracle Linux 9 kernel-uekx86_64 Advisory build 0:5.15.0-2.52.3.el9uek ELSA-2022-9827
Oracle Linux 9 kernel-uek-coreaarch64 Advisory build 0:5.15.0-2.52.3.el9uek ELSA-2022-9827
Oracle Linux 9 kernel-uek-corex86_64 Advisory build 0:5.15.0-2.52.3.el9uek ELSA-2022-9827
Oracle Linux 9 kernel-uek-debugaarch64 Advisory build 0:5.15.0-2.52.3.el9uek ELSA-2022-9827
Oracle Linux 9 kernel-uek-debugx86_64 Advisory build 0:5.15.0-2.52.3.el9uek ELSA-2022-9827
Oracle Linux 9 kernel-uek-debug-coreaarch64 Advisory build 0:5.15.0-2.52.3.el9uek ELSA-2022-9827
Oracle Linux 9 kernel-uek-debug-corex86_64 Advisory build 0:5.15.0-2.52.3.el9uek ELSA-2022-9827
Oracle Linux 9 kernel-uek-debug-develaarch64 Advisory build 0:5.15.0-2.52.3.el9uek ELSA-2022-9827
Oracle Linux 9 kernel-uek-debug-develx86_64 Advisory build 0:5.15.0-2.52.3.el9uek ELSA-2022-9827
Oracle Linux 9 kernel-uek-debug-modulesaarch64 Advisory build 0:5.15.0-2.52.3.el9uek ELSA-2022-9827
Oracle Linux 9 kernel-uek-debug-modulesx86_64 Advisory build 0:5.15.0-2.52.3.el9uek ELSA-2022-9827
Oracle Linux 9 kernel-uek-debug-modules-extraaarch64 Advisory build 0:5.15.0-2.52.3.el9uek ELSA-2022-9827

Package entries are limited to the first 100 builds and 100 linked advisories.

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

27

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.5 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Scenarios
en: AV:N - The vulnerable WRITE_SAME handlers live in fabric-independent LIO target core and are reached by SCSI CDBs delivered over network fabrics, principally iscsi_target on TCP/3260 (also isert/cxgbit), so a remote initiator can trigger the crash. AC:L - Sending a single WRITE_SAME(16/32) with the NDOB bit (or zero data-out length) deterministically leaves t_data_sg NULL and hits the NULL dereference; the attacker controls the CDB/flags and needs no race or special memory layout. PR:N - LIO iSCSI portals are routinely deployed with authentication=0 and generate_node_acls=1, and NDOB/zero-xfer yields DMA_NONE which bypasses lun_access_ro write-protect checks, so an unauthenticated network peer can obtain a nexus and issue the command. UI:N - Exploitation is solely attacker-driven iSCSI/SCSI traffic; no local user or administrator action is required once the target portal is listening. S:U - The NULL dereference oopses the same host kernel that implements the target; impact stays within that kernel’s security authority with no VM/IOMMU/sandbox boundary crossed. C:N - This is a pure NULL pointer dereference of se_cmd->t_data_sg with no attacker-controlled offset, OOB read, or data returned to the initiator, so nothing is disclosed. I:N - No memory is written and no corrupted object is reused; the fault occurs on a read of sg->length / t_data_sg[0] before any store or control-flow hijack primitive exists. A:H - The NULL dereference produces a kernel oops/panic (especially with panic_on_oops) in the target command path and can be re-triggered at will by a remote initiator, taking down the storage host.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux f6970ad31d42fceb38b5595cbad093a4d0bfcc43 to < 54e57be2573cf0b8bf650375fd8752987b6c3d3b (affected · git)f6970ad31d42fceb38b5595cbad093a4d0bfcc43 to < d8e6a27e9238dd294d6f2f401655f300dca20899 (affected · git)f6970ad31d42fceb38b5595cbad093a4d0bfcc43 to < 4226622647e3e5ac06d3ebc1605b917446157510 (affected · git)f6970ad31d42fceb38b5595cbad093a4d0bfcc43 to < ccd3f449052449a917a3e577d8ba0368f43b8f29 (affected · git)Default: unaffected Linux · cna
Linux Linux 3.8 (affected)0 to < 3.8 (unaffected · semver)5.4.294 through 5.4.* (unaffected · semver)5.10.238 through 5.10.* (unaffected · semver)5.15.182 through 5.15.* (unaffected · semver)5.19 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

1
  • CWE-476 CWE-476 NULL Pointer Dereference (CISA-ADP · adp)

References

5

Provider assertions

3

Linux · cna

scsi: target: Fix WRITE_SAME No Data Buffer crash

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
4bf7ccc747ae4956749b404ef9314594d534f04b1d06d02b2f206f60567310a3
Ingested
23 Sep 2026, 07:58:10 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected