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

  spi: fix resource leaks on device setup failure

  Make sure to call controller cleanup() if spi_setup() fails while
  registering a device to avoid leaking any resources a…
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  spi: fix resource leaks on device setup failure

  Make sure to call controller cleanup() if spi_setup() fails while
  registering a device to avoid leaking any resources a…
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'
cwe:
  - CWE-401
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 5.4.126, < 5.5'
  - 'linux_kernel >= 5.10.44, < 5.11'
  - 'linux_kernel >= 5.12.11, < 5.13'
  - 'linux_kernel >= 5.13.1, < 6.1.176'
  - '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.13
patched:
  - linux_kernel 7.0.4
published: '2026-05-27'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T02:19:41.923'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-46083'
references:
  - url: 'https://git.kernel.org/stable/c/11baa8b24bcb07ae2048f2566a220021d766abe0'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/1e774294b2f944f59e03a04eb438768a4b93c3ce'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/a2c817c629430fbbd54273525b472dac96e2c8fd'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/db357034f7e0cf23f233f414a8508312dfe8fbbe'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/dbcead54b12468d9aa54c0e1f0042d838ec3b0ae'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/e0401de43dac00f3e4841ca2aeb98bc10a4c5f13'
    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.05033
ingestedAt: '2026-10-15T03:30:12.886Z'
---

## Overview

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

spi: fix resource leaks on device setup failure

Make sure to call controller cleanup() if spi_setup() fails while
registering a device to avoid leaking any resources allocated by
setup().

## Affected

- `linux_kernel >= 5.4.126, < 5.5`
- `linux_kernel >= 5.10.44, < 5.11`
- `linux_kernel >= 5.12.11, < 5.13`
- `linux_kernel >= 5.13.1, < 6.1.176`
- `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.13`

## Remediation

Upgrade past the affected range:

- `linux_kernel 7.0.4`
