---
id: CVE-2026-46241
title: 'spi: mpc52xx: fix use-after-free on registration failure'
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  spi: mpc52xx: fix use-after-free on registration failure

  Make sure to disable and free the interrupts in case controller
  registration fails to avoid a potential use-af…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 42bbb70980f3720b0ae6da6af862af0e95a04351 <
    dd74a790818ebb9a2be3a94ac935a374755cd278
  - >-
    Linux >= 42bbb70980f3720b0ae6da6af862af0e95a04351 <
    8b49b6aadd0c622ca7d68b4a53ae10362e221cf3
  - >-
    Linux >= 42bbb70980f3720b0ae6da6af862af0e95a04351 <
    336d9ad7560b3baba17af06727a888040ee93390
  - >-
    Linux >= 42bbb70980f3720b0ae6da6af862af0e95a04351 <
    5c77f11b9b5f1ad5a704dad875260c44016ede10
  - >-
    Linux >= 42bbb70980f3720b0ae6da6af862af0e95a04351 <
    f62c060272b9d7423b1650b844e8e4e7b8f9f925
  - Linux 2.6.33
published: '2026-05-28'
updated: '2026-10-21'
sourceUpdated: '2026-10-21T12:41:28.697Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-46241'
references:
  - url: 'https://git.kernel.org/stable/c/dd74a790818ebb9a2be3a94ac935a374755cd278'
  - url: 'https://git.kernel.org/stable/c/8b49b6aadd0c622ca7d68b4a53ae10362e221cf3'
  - url: 'https://git.kernel.org/stable/c/336d9ad7560b3baba17af06727a888040ee93390'
  - url: 'https://git.kernel.org/stable/c/5c77f11b9b5f1ad5a704dad875260c44016ede10'
  - url: 'https://git.kernel.org/stable/c/f62c060272b9d7423b1650b844e8e4e7b8f9f925'
tags:
  - cve.org
epss: 0.0017
epssPercentile: 0.06016
ingestedAt: '2026-10-21T12:48:53.628Z'
---

## Overview

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

spi: mpc52xx: fix use-after-free on registration failure

Make sure to disable and free the interrupts in case controller
registration fails to avoid a potential use-after-free and resource
leak.

This issue was flagged by Sashiko when reviewing a controller
deregistration fix.

## Affected

- `Linux >= 42bbb70980f3720b0ae6da6af862af0e95a04351 < dd74a790818ebb9a2be3a94ac935a374755cd278`
- `Linux >= 42bbb70980f3720b0ae6da6af862af0e95a04351 < 8b49b6aadd0c622ca7d68b4a53ae10362e221cf3`
- `Linux >= 42bbb70980f3720b0ae6da6af862af0e95a04351 < 336d9ad7560b3baba17af06727a888040ee93390`
- `Linux >= 42bbb70980f3720b0ae6da6af862af0e95a04351 < 5c77f11b9b5f1ad5a704dad875260c44016ede10`
- `Linux >= 42bbb70980f3720b0ae6da6af862af0e95a04351 < f62c060272b9d7423b1650b844e8e4e7b8f9f925`
- `Linux 2.6.33`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
