CVE-2023-53682

Description

A resource management flaw was found in the Linux kernel xgene hardware monitor driver in the way I/O memory mappings were handled. Missing release of ioremap/memremap regions in probe paths could leak mapped resources.

A local user could use this flaw to degrade system stability over time, resulting in a denial of service.

Statement

xgene_hwmon_probe() used raw ioremap() and memremap() and failed to release them on error paths, leading to resource leakage flagged by Smatch. The fix converts to the managed APIs (devm_ioremap/devm_memremap) so mappings are automatically freed with device lifetime.

Mitigation

To mitigate this issue, prevent module xgene-hwmon from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score5.55.5N/A
Attack VectorLocalLocalN/A
Attack ComplexityLowLowN/A
Privileges RequiredLowLowN/A
User InteractionNoneNoneN/A
ScopeUnchangedUnchangedN/A
ConfidentialityNoneNoneN/A
Integrity ImpactNoneNoneN/A
Availability ImpactHighHighN/A

Vector

Red Hat: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

NVD: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Frequently Asked Questions

Want to get errata notifications? Sign up here.