---
id: CVE-2023-54042
title: 'powerpc/64s: Fix VAS mm use after free'
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  powerpc/64s: Fix VAS mm use after free

  The refcount on mm is dropped before the coprocessor is detached.
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'
cvssSource: cna
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 7bc6f71bdff5f8921e324da0a8fad6f4e2e63a85 <
    f7d92313002b2d543500cc417d8079aaed1fb0a8
  - >-
    Linux >= 7bc6f71bdff5f8921e324da0a8fad6f4e2e63a85 <
    4e82f92c349ea603736ade1e814861c0182a55ad
  - >-
    Linux >= 7bc6f71bdff5f8921e324da0a8fad6f4e2e63a85 <
    db8657fdd53c5e3069149d7f957cb60e63027bb2
  - >-
    Linux >= 7bc6f71bdff5f8921e324da0a8fad6f4e2e63a85 <
    421cd1544480f2458042fe7f4913a2069c4d7251
  - >-
    Linux >= 7bc6f71bdff5f8921e324da0a8fad6f4e2e63a85 <
    b4bda59b47879cce38a6ec5a01cd3cac702b5331
  - Linux 5.14
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-10-15T21:37:58.217277Z'
published: '2025-12-24'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T21:41:38.268Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2023-54042'
references:
  - url: 'https://git.kernel.org/stable/c/f7d92313002b2d543500cc417d8079aaed1fb0a8'
  - url: 'https://git.kernel.org/stable/c/4e82f92c349ea603736ade1e814861c0182a55ad'
  - url: 'https://git.kernel.org/stable/c/db8657fdd53c5e3069149d7f957cb60e63027bb2'
  - url: 'https://git.kernel.org/stable/c/421cd1544480f2458042fe7f4913a2069c4d7251'
  - url: 'https://git.kernel.org/stable/c/b4bda59b47879cce38a6ec5a01cd3cac702b5331'
tags:
  - cve.org
epss: 0.0014
epssPercentile: 0.02973
ingestedAt: '2026-10-15T22:48:25.425Z'
---

## Overview

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

powerpc/64s: Fix VAS mm use after free

The refcount on mm is dropped before the coprocessor is detached.

## Affected

- `Linux >= 7bc6f71bdff5f8921e324da0a8fad6f4e2e63a85 < f7d92313002b2d543500cc417d8079aaed1fb0a8`
- `Linux >= 7bc6f71bdff5f8921e324da0a8fad6f4e2e63a85 < 4e82f92c349ea603736ade1e814861c0182a55ad`
- `Linux >= 7bc6f71bdff5f8921e324da0a8fad6f4e2e63a85 < db8657fdd53c5e3069149d7f957cb60e63027bb2`
- `Linux >= 7bc6f71bdff5f8921e324da0a8fad6f4e2e63a85 < 421cd1544480f2458042fe7f4913a2069c4d7251`
- `Linux >= 7bc6f71bdff5f8921e324da0a8fad6f4e2e63a85 < b4bda59b47879cce38a6ec5a01cd3cac702b5331`
- `Linux 5.14`

## Remediation

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