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

  powerpc/lib: Validate size for vector operations

  Some of the fp/vmx code in sstep.c assume a certain maximum size for the
  instructions being emulated
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  powerpc/lib: Validate size for vector operations

  Some of the fp/vmx code in sstep.c assume a certain maximum size for the
  instructions being emulated. The size of thos…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-770
vendor: linux
product: linux_kernel
affected:
  - linux_kernel < 4.19.307
  - 'linux_kernel >= 4.20, < 5.4.269'
  - 'linux_kernel >= 5.5, < 5.10.210'
  - 'linux_kernel >= 5.11, < 5.15.149'
  - 'linux_kernel >= 5.16, < 6.1.77'
  - 'linux_kernel >= 6.2, < 6.6.16'
  - 'linux_kernel >= 6.7, < 6.7.4'
patched:
  - linux_kernel 6.7.4
published: '2024-03-06'
updated: '2026-08-04'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2023-52606'
references:
  - url: 'https://git.kernel.org/stable/c/0580f4403ad33f379eef865c2a6fe94de37febdf'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/28b8ba8eebf26f66d9f2df4ba550b6b3b136082c'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/42084a428a139f1a429f597d44621e3a18f3e414'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/848e1d7fd710900397e1d0e7584680c1c04e3afd'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/8f9abaa6d7de0a70fc68acaedce290c1f96e2e59'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/abd26515d4b767ba48241eea77b28ce0872aef3e'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/beee482cc4c9a6b1dcffb2e190b4fd8782258678'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/de4f5ed63b8a199704d8cdcbf810309d7eb4b36b'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/0580f4403ad33f379eef865c2a6fe94de37febdf'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/28b8ba8eebf26f66d9f2df4ba550b6b3b136082c'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/42084a428a139f1a429f597d44621e3a18f3e414'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/848e1d7fd710900397e1d0e7584680c1c04e3afd'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/8f9abaa6d7de0a70fc68acaedce290c1f96e2e59'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/abd26515d4b767ba48241eea77b28ce0872aef3e'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/beee482cc4c9a6b1dcffb2e190b4fd8782258678'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/de4f5ed63b8a199704d8cdcbf810309d7eb4b36b'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.00243
epssPercentile: 0.13726
ingestedAt: '2026-08-05T05:58:02.923Z'
---

## Overview

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

powerpc/lib: Validate size for vector operations

Some of the fp/vmx code in sstep.c assume a certain maximum size for the
instructions being emulated. The size of those operations however is
determined separately in analyse_instr().

Add a check to validate the assumption on the maximum size of the
operations, so as to prevent any unintended kernel stack corruption.

## Affected

- `linux_kernel < 4.19.307`
- `linux_kernel >= 4.20, < 5.4.269`
- `linux_kernel >= 5.5, < 5.10.210`
- `linux_kernel >= 5.11, < 5.15.149`
- `linux_kernel >= 5.16, < 6.1.77`
- `linux_kernel >= 6.2, < 6.6.16`
- `linux_kernel >= 6.7, < 6.7.4`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.7.4`
