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
| Vector | AV: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 👾
Related Identifiers
Affected Products
Almalinux
Astra Linux
Linux Kernel
Red Hat
Rocky Linux
Suse