PT-2025-8287 · Linux+5 · Linux Kernel+5

Sachin Sant

·

Published

2022-05-31

·

Updated

2025-11-12

·

CVE-2022-49353

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description A vulnerability in the Linux kernel has been identified, where a kernel panic occurs when the papr scm probe is called without the 'Enable Performance Information Collection' option enabled. This issue arises due to a missing check for the stat buffer len in the papr scm pmu check events() function, causing the drc pmem query stats() function to be called with a 'stat buffer' of size 0. The panic is characterized by a kernel NULL pointer dereference on write. The issue is observed on a POWER-10 LPAR with vPMEM.
Recommendations To resolve this issue, introduce a check for p->stat buffer len at the beginning of the papr scm pmu check events() function to prevent the drc pmem query stats() function from being called when the NVDIMM does not support performance stats. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Improper Resource Release

NULL Pointer Dereference

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2025:20518
ALSA-2025_12746
ALSA-2025_12752
ALSA-2025_12753
ALSA-2025_16880
ALSA-2025_18281
ALSA-2025_19102
ALSA-2025_19103
ALSA-2025_19409
ALSA-2025_20518
BDU:2026-04479
CVE-2022-49353
INFSA-2025_20518
RHSA-2025:20518
RHSA-2025_20518
SUSE-SU-2025:1176-1
SUSE-SU-2025:1241-1
SUSE-SU-2025_1241-1

Affected Products

Almalinux
Astra Linux
Linux Kernel
Red Hat
Rocky Linux
Suse