CVE-2022-21546
Last modified
CVE-2022-21546 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 0.20% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | < 5.4.294 | — |
| Linux | Linux Kernel | >= 5.5, < 5.10.238 | — |
| Linux | Linux Kernel | >= 5.11, < 5.15.182 | — |
| Linux | Linux Kernel | >= 5.16, < 5.19 | — |
| Linux | Linux Kernel | 5.19 | Rc1 |
| Debian | Debian Linux | 11.0 | — |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-21546?
How severe is CVE-2022-21546?
How do I fix CVE-2022-21546?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-21540Vulnerability in the Oracle Java SE, Oracle GraalVM Enterpri…5.3
- CVE-2022-21541Vulnerability in the Oracle Java SE, Oracle GraalVM Enterpri…5.9
- CVE-2022-21542Vulnerability in the JD Edwards EnterpriseOne Tools product …7.4
- CVE-2022-21543Vulnerability in the PeopleSoft Enterprise PeopleTools produ…9.8
- CVE-2022-21544Vulnerability in the Oracle FLEXCUBE Universal Banking produ…7.1
- CVE-2022-21545Vulnerability in the Oracle iRecruitment product of Oracle E…5.3
- CVE-2022-21547Vulnerability in the MySQL Server product of Oracle MySQL (c…4.9
- CVE-2022-21548Vulnerability in the Oracle WebLogic Server product of Oracl…6.5
- CVE-2022-21549Vulnerability in the Oracle Java SE, Oracle GraalVM Enterpri…5.3
- CVE-2022-2155 A vulnerability exists in the affected versions of Lumada A…7.1
- CVE-2022-21550Vulnerability in the MySQL Cluster product of Oracle MySQL (…6.3
- CVE-2022-21551Vulnerability in Oracle GoldenGate (component: Oracle Golden…6.8
Are you affected by CVE-2022-21546?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
