CVE-2021-47580

Kernel-memory disclosure via signed-length expansion

Published Jun 19, 2024 · Updated Aug 5, 2026

Out-of-bounds read in Linux allows local users to disclose kernel memory or crash the host through crafted SCSI commands. In resp_readcap16, an int-typed min_t sign-extends the requested allocation length, selects an oversized copy length, and drives sg_copy_from_buffer past the response buffer. Exploitation requires scsi_debug to be loaded and access to its SCSI generic device; the resulting over-read exposes kernel memory or triggers a kernel panic.

CVSS severity6.6
Medium
EPSS probability0.24%
Next 30 days · Sep 16, 2026
Known exploitationUnconfirmed
Based on sourced intelligence
Hinoki checkNot available
Coverage for this vulnerability

See if you're affected

Explore vulnerability checks for your environment with Hinoki.

Book a demo

Summary

What happened

Out-of-bounds read in Linux allows local users to disclose kernel memory or crash the host through crafted SCSI commands. In resp_readcap16, an int-typed min_t sign-extends the requested allocation length, selects an oversized copy length, and drives sg_copy_from_buffer past the response buffer. Exploitation requires scsi_debug to be loaded and access to its SCSI generic device; the resulting over-read exposes kernel memory or triggers a kernel panic.

The record

CVE
CVE-2021-47580
Published
Jun 19, 2024
Updated
Aug 5, 2026
Vendor
The Linux Kernel Organization
Product
Linux
Classifications
CWE-787, T1499.004
Attack vector
local
Privileges
authenticated

Timeline

How it unfolded

  1. Jun 19, 2024CVE publishedPublication date reported by the CVE source.
  2. Aug 5, 2026Record updatedLatest update available in the CVE record.

Exploitability

Present is not the same as exploitable

Compare your product and version with the public record. A matching version still requires validation against your environment.

Is a vulnerable build present?

Compare these published version ranges with your installed build and any vendor patches.

  1. Affected versionversion=5.8
  2. Affected versionversion=87c715dcde633f4cc4690a24a240e838181e6a9d <3085147645938eb41f0bc0e25ef9791e71f5ee4b
  3. Affected versionversion=87c715dcde633f4cc4690a24a240e838181e6a9d <36e07d7ede88a1f1ef8f0f209af5b7612324ac2c
  4. Affected versionversion=87c715dcde633f4cc4690a24a240e838181e6a9d <bdb854f134b964528fa543e0351022eb45bd7346

What conditions does exploitation require?

Attack vectorlocal
Required privilegesauthenticated

What is affected?

The Linux Kernel Organization · Linuxversion=5.8; version=87c715dcde633f4cc4690a24a240e838181e6a9d <3085147645938eb41f0bc0e25ef9791e71f5ee4b; version=87c715dcde633f4cc4690a24a240e838181e6a9d <36e07d7ede88a1f1ef8f0f209af5b7612324ac2c; version=87c715dcde633f4cc4690a24a240e838181e6a9d <bdb854f134b964528fa543e0351022eb45bd7346

Published CVSS scores

6.6CISA-ADPCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L

CVSS describes severity. EPSS estimates exploitation probability.

Attacks

What attackers are doing with it

Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.

Daily unique IPsNo honeypot observations are available for this CVE in the selected window.

No observations available

Sep 10, 2026Sep 16, 2026
Latest reporting daySep 16, 2026
Latest daily unique IPsUnavailable
Prior 30-day averageUnavailable
SourceShadowserver honeypots (KEV)
Vectorlocal
Privilegesauthenticated
Known exploitationUnconfirmed
Public exploitUnconfirmed

Weakness, pattern, technique

CWE-787Out-of-bounds Write
T1499.004Application or System Exploitation

Public exploit references

No public exploit references are available in this record.

Labels summarize the accepted research assessment. They do not indicate a test against your environment.

Technologies

Your stack

See the directory against your own environment.

Your stack

Check the software in your environment

Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.

Book a demo