---
id: CVE-2026-45997
title: |-
  In the Linux kernel, the following vulnerability has been resolved:

  scsi: sd: fix missing put_disk() when device_add(&disk_dev) fails

  If device_add(&sdkp->disk_dev) fails, put_device() runs
  scsi_disk_release(), which frees the scsi_dis…
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  scsi: sd: fix missing put_disk() when device_add(&disk_dev) fails

  If device_add(&sdkp->disk_dev) fails, put_device() runs
  scsi_disk_release(), which frees the scsi_dis…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 4.4.288, < 4.5'
  - 'linux_kernel >= 4.9.286, < 4.10'
  - 'linux_kernel >= 4.14.250, < 4.15'
  - 'linux_kernel >= 4.19.210, < 4.20'
  - 'linux_kernel >= 5.4.152, < 5.5'
  - 'linux_kernel >= 5.10.72, < 5.11'
  - 'linux_kernel >= 5.14.11, < 5.15'
  - 'linux_kernel >= 5.15.1, < 6.1.175'
  - 'linux_kernel >= 6.2, < 6.6.140'
  - 'linux_kernel >= 6.7, < 6.12.86'
  - 'linux_kernel >= 6.13, < 6.18.27'
  - 'linux_kernel >= 6.19, < 7.0.4'
  - linux_kernel = 5.15
patched:
  - linux_kernel 7.0.4
published: '2026-05-27'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T02:19:37.937'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-45997'
references:
  - url: 'https://git.kernel.org/stable/c/13e550fbfccdb311e76ec96892dfe35f0dba0657'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/1e111c4b3a726df1254670a5cc4868cedb946d37'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/262152ec37101f9dc524743ccdbd6c7641d14573'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/2c2c14b7dfccad8c5a28802849e40c21252e4c28'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/a95d38c5701431bfc826e7b18acc0785919d5c88'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/b64b4f499801b12d0e2785447e4df6c164c608a9'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-784472.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - cve.org
epss: 0.00162
epssPercentile: 0.05041
ingestedAt: '2026-10-15T03:30:12.880Z'
---

## Overview

In the Linux kernel, the following vulnerability has been resolved:

scsi: sd: fix missing put_disk() when device_add(&disk_dev) fails

If device_add(&sdkp->disk_dev) fails, put_device() runs
scsi_disk_release(), which frees the scsi_disk but leaves the gendisk
referenced. The device_add_disk() error path in sd_probe() calls
put_disk(gd); call put_disk(gd) here to mirror that cleanup.

## Affected

- `linux_kernel >= 4.4.288, < 4.5`
- `linux_kernel >= 4.9.286, < 4.10`
- `linux_kernel >= 4.14.250, < 4.15`
- `linux_kernel >= 4.19.210, < 4.20`
- `linux_kernel >= 5.4.152, < 5.5`
- `linux_kernel >= 5.10.72, < 5.11`
- `linux_kernel >= 5.14.11, < 5.15`
- `linux_kernel >= 5.15.1, < 6.1.175`
- `linux_kernel >= 6.2, < 6.6.140`
- `linux_kernel >= 6.7, < 6.12.86`
- `linux_kernel >= 6.13, < 6.18.27`
- `linux_kernel >= 6.19, < 7.0.4`
- `linux_kernel = 5.15`

## Remediation

Upgrade past the affected range:

- `linux_kernel 7.0.4`
