Kernel Panic Vulnerability in Linux Package: CVE-2022-49353

linux Updated 02 Oct 2025

Summary

26/02/2025
N/A
Yes i
Medium
5.5

CVE-2022-49353: In the Linux kernel, the following vulnerability has been resolved: powerpc/papr_scm: don't requests stats with '0' sized stats buffer Sachin reported [1] that on a POWER-10 lpar he is seeing a kernel panic being reporte... Affects linux versions < 5.18.5-1. Fixed in 5.18.5-1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Linux kernel is a core component of the Linux operating system, responsible for managing hardware resources and providing essential services to software applications. It supports a wide range of hardware architectures and is known for its stability and performance. However, vulnerabilities can arise due to complex interactions between hardware and software, as seen in CVE-2022-49353, which affects the powerpc/papr_scm subsystem.

Vulnerability Detail

CVE-2022-49353 is a vulnerability in the Linux kernel that can lead to a kernel panic when the papr_scm probe is called with a zero-sized stats buffer. This issue was reported by Sachin on a POWER-10 logical partition (lpar) where the kernel attempted to write to a user page, resulting in a NULL pointer dereference. The panic occurs specifically when the 'Enable Performance Information Collection' option is disabled in the Hardware Management Console (HMC). The root cause is a missing check for the 'stat_buffer_len' parameter, which indicates whether the NVDIMM supports performance statistics. If this check is not implemented, it can lead to severe system instability and crashes.

How To Fix

Minimum fixed version

5.18.5-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, you can enable the 'Performance Information Collection' option in the HMC to avoid triggering the kernel panic. However, this is not a permanent solution and updating the package is recommended.

Conclusion

CVE-2022-49353 is a critical vulnerability in the Linux kernel that can lead to kernel panics under specific conditions. It is essential to update to the patched version to ensure system stability and security. Temporary workarounds can mitigate the issue, but a permanent fix through updates is strongly recommended.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2022-49353 is a vulnerability in the Linux kernel that can cause a kernel panic due to a NULL pointer dereference when performance statistics are requested with an invalid buffer size.

If your system is running a vulnerable version of the Linux kernel, it may experience crashes or instability when the papr_scm probe is invoked under specific conditions.

If you cannot update your kernel, consider enabling the 'Performance Information Collection' option in the HMC as a temporary workaround to prevent kernel panics.

More information can be found in the official CVE database or by reviewing the Linux kernel mailing list discussions related to CVE-2022-49353.

Vulert allows you to monitor and alert in real-time for open-source vulnerabilities using a manifest file like package-lock.json. You can check if your application is affected by this vulnerability using the Vulert playground without any signup.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

5.18.5-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback