---
id: CVE-2023-53682
title: 'hwmon: (xgene) Fix ioremap and memremap leak'
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  hwmon: (xgene) Fix ioremap and memremap leak

  Smatch reports:

  drivers/hwmon/xgene-hwmon.c:757 xgene_hwmon_probe() warn:
  'ctx->pcc_comm_addr' from ioremap() not release…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= ed42cfa881e1d8d9603b7cb872199e3c8e0d1b19 <
    9d482a09acd3d5f61a56aefc125d32c81994707b
  - >-
    Linux >= ed42cfa881e1d8d9603b7cb872199e3c8e0d1b19 <
    1773185a0a87006c1be78a978d9dd61aa7a33db8
  - >-
    Linux >= ed42cfa881e1d8d9603b7cb872199e3c8e0d1b19 <
    813cc94c7847ae4a17e9f744fb4dbdf7df6bd732
  - Linux 4.9
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-05T20:27:07.763271Z'
published: '2025-10-07'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T20:31:20.764Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2023-53682'
references:
  - url: 'https://git.kernel.org/stable/c/9d482a09acd3d5f61a56aefc125d32c81994707b'
  - url: 'https://git.kernel.org/stable/c/1773185a0a87006c1be78a978d9dd61aa7a33db8'
  - url: 'https://git.kernel.org/stable/c/813cc94c7847ae4a17e9f744fb4dbdf7df6bd732'
tags:
  - cve.org
epss: 0.00146
epssPercentile: 0.0388
ingestedAt: '2026-11-05T22:38:31.826Z'
---

## Overview

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

hwmon: (xgene) Fix ioremap and memremap leak

Smatch reports:

drivers/hwmon/xgene-hwmon.c:757 xgene_hwmon_probe() warn:
'ctx->pcc_comm_addr' from ioremap() not released on line: 757.

This is because in drivers/hwmon/xgene-hwmon.c:701 xgene_hwmon_probe(),
ioremap and memremap is not released, which may cause a leak.

To fix this, ioremap and memremap is modified to devm_ioremap and
devm_memremap.

[groeck: Fixed formatting and subject]

## Affected

- `Linux >= ed42cfa881e1d8d9603b7cb872199e3c8e0d1b19 < 9d482a09acd3d5f61a56aefc125d32c81994707b`
- `Linux >= ed42cfa881e1d8d9603b7cb872199e3c8e0d1b19 < 1773185a0a87006c1be78a978d9dd61aa7a33db8`
- `Linux >= ed42cfa881e1d8d9603b7cb872199e3c8e0d1b19 < 813cc94c7847ae4a17e9f744fb4dbdf7df6bd732`
- `Linux 4.9`

## Remediation

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