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

  powerpc/imc-pmu: Add a null pointer check in update_events_in_group()

  kasprintf() returns a pointer to dynamically allocated memory
  which can be NULL upon failure.
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  powerpc/imc-pmu: Add a null pointer check in update_events_in_group()

  kasprintf() returns a pointer to dynamically allocated memory
  which can be NULL upon failure.
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-476
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 4.14, < 4.19.306'
  - 'linux_kernel >= 4.20, < 5.4.268'
  - 'linux_kernel >= 5.5, < 5.10.209'
  - 'linux_kernel >= 5.11, < 5.15.148'
  - 'linux_kernel >= 5.16, < 6.1.75'
  - 'linux_kernel >= 6.2, < 6.6.14'
  - 'linux_kernel >= 6.7, < 6.7.2'
patched:
  - linux_kernel 6.7.2
published: '2024-05-17'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T01:17:15.600'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2023-52675'
references:
  - url: 'https://git.kernel.org/stable/c/024352f7928b28f53609660663329d8c0f4ad032'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/0a233867a39078ebb0f575e2948593bbff5826b3'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/1e80aa25d186a7aa212df5acd8c75f55ac8dae34'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/5a669f3511d273c8c1ab1c1d268fbcdf53fc7a05'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/75fc599bcdcb1de093c9ced2e3cccc832f3787f3'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/a2da3f9b1a1019c887ee1d164475a8fcdb0a3fec'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/c7d828e12b326ea50fb80c369d7aa87519ed14c6'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/f105c263009839d80fad6998324a4e1b3511cba0'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/024352f7928b28f53609660663329d8c0f4ad032'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/0a233867a39078ebb0f575e2948593bbff5826b3'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/1e80aa25d186a7aa212df5acd8c75f55ac8dae34'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/5a669f3511d273c8c1ab1c1d268fbcdf53fc7a05'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/75fc599bcdcb1de093c9ced2e3cccc832f3787f3'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/a2da3f9b1a1019c887ee1d164475a8fcdb0a3fec'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/c7d828e12b326ea50fb80c369d7aa87519ed14c6'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/f105c263009839d80fad6998324a4e1b3511cba0'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2024/06/msg00016.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-398330.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - cve.org
epss: 0.00279
epssPercentile: 0.20199
ingestedAt: '2026-10-15T03:30:12.682Z'
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2024-06-17T17:39:04.688861Z'
---

## Overview

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

powerpc/imc-pmu: Add a null pointer check in update_events_in_group()

kasprintf() returns a pointer to dynamically allocated memory
which can be NULL upon failure.

## Affected

- `linux_kernel >= 4.14, < 4.19.306`
- `linux_kernel >= 4.20, < 5.4.268`
- `linux_kernel >= 5.5, < 5.10.209`
- `linux_kernel >= 5.11, < 5.15.148`
- `linux_kernel >= 5.16, < 6.1.75`
- `linux_kernel >= 6.2, < 6.6.14`
- `linux_kernel >= 6.7, < 6.7.2`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.7.2`
