CVE record · CVE-2024-56631

scsi: sg: Fix slab-use-after-free read in sg_release()

CVSS 7.8 HighEPSS 0.0029 · 21st percentile

Published by the CVE Program (CNA: Linux) at 27 Dec 2024, 15:02 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

Affected products, as the CNA wrote them
VendorProductVersions
Linux Linux
  • affected cc833acbee9db5ca8c6162b015b4c93863c6f821 to before e19acb1926c4a1f30ee1ec84d8afba2d975bd534 git
  • affected cc833acbee9db5ca8c6162b015b4c93863c6f821 to before 285ce1f89f8d414e7eecab5ef5118cd512596318 git
  • affected cc833acbee9db5ca8c6162b015b4c93863c6f821 to before 198b89dd5a595ee3f96e5ce5c448b0484cd0e53c git
  • affected cc833acbee9db5ca8c6162b015b4c93863c6f821 to before 275b8347e21ab8193e93223a8394a806e4ba8918 git
  • affected cc833acbee9db5ca8c6162b015b4c93863c6f821 to before 59b30afa578637169e2819536bb66459fdddc39d git
  • affected cc833acbee9db5ca8c6162b015b4c93863c6f821 to before 1f5e2f1ca5875728fcf62bc1a054707444ab4960 git
  • affected cc833acbee9db5ca8c6162b015b4c93863c6f821 to before f10593ad9bc36921f623361c9e3dd96bd52d85ee git
  • affected 3a27c0defb0315760100f8b1adc7c4acbe04c884 git
  • affected 3.16.85 to before 3.17 semver
Other versions: unaffected
Linux Linux
  • affected 3.17
  • unaffected before 3.17 semver
  • unaffected 5.4.290 to 5.4.*, inclusive semver
  • unaffected 5.10.234 to 5.10.*, inclusive semver
  • unaffected 5.15.177 to 5.15.*, inclusive semver
  • unaffected 6.1.127 to 6.1.*, inclusive semver
  • unaffected 6.6.66 to 6.6.*, inclusive semver
  • unaffected 6.12.5 to 6.12.*, inclusive semver
  • unaffected 6.13 to *, inclusive original_commit_for_fix
Other versions: affected
Identifiers
CVE-2024-56631
CNA
Linux
Weakness (CWE)
CWE-416
Published
27 Dec 2024
Updated
10 Nov 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The Linux kernel SCSI generic (sg) driver, from version 3.17, has a use-after-free read in sg_release(). The source gives few details on attack requirements or impact. Upgrade to 5.4.290, 5.10.234, 5.15.177, 6.1.127, or a later release in those series.

Written 19 Nov 2026.

Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.8 High 3.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CNA (Linux)Used for this record
7.8 High 3.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H ADP (CISA-ADP)
  • CISA KEV Not listed.
  • EPSS 0.0029, the 21st percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 27 Dec 2024, 15:02 UTC Confirmed by the CVE List
  2. 27 Dec 2024, 15:15 UTC Confirmed by NVD

Sources

References from the CNA

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.