Vulnerability in drm/panfrost: Fix shrinker list corruption by madvise IOCTL

Kernel Updated 02 Oct 2025

Summary

31/07/2022
N/A
No i
Unrated
Not published

GSD-2022-1004709: drm/panfrost: Fix shrinker list corruption by madvise IOCTL. Affects Kernel versions >= 013b6510131568ce4e01856d5360bfdfe9c3632f, < 393594aad55179eb761af41533d8d1d6eb4543b0. No fix is published. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The drm/panfrost package is a component of the Linux Kernel that provides support for the Panfrost GPU driver. This driver is used for ARM Mali GPUs and enables graphics acceleration on devices running Linux. The package is responsible for managing memory resources and handling various operations related to the GPU. However, a vulnerability has been discovered in the package that can lead to list corruption when processing madvise IOCTL requests.

Vulnerability Detail

The vulnerability in drm/panfrost arises from a flaw in the handling of madvise IOCTL requests. By exploiting this vulnerability, an attacker could corrupt the shrinker list, potentially leading to memory corruption or other unexpected behavior. The impact of this vulnerability is dependent on the specific use case and system configuration. However, it could potentially be leveraged to execute arbitrary code or escalate privileges. The vulnerability was introduced in version v5.4 of the Linux Kernel and has been fixed in version v5.4.207.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to apply the provided fix by updating the Linux Kernel to the patched version.

Conclusion

The vulnerability in drm/panfrost that allowed for shrinker list corruption by madvise IOCTL has been addressed in Linux Kernel version v5.4.207. It is crucial to update the Linux Kernel to the patched version to mitigate the risk of memory corruption and potential exploitation. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

drm/panfrost is a component of the Linux Kernel that provides support for the Panfrost GPU driver, enabling graphics acceleration on devices with ARM Mali GPUs.

The impact of this vulnerability can vary depending on the system configuration and use case. It could potentially lead to memory corruption, arbitrary code execution, or privilege escalation.

To fix this vulnerability, update the Linux Kernel to version v5.4.207 or later, which includes the necessary patch to address the issue.

No, there is no known workaround for this vulnerability. It is crucial to apply the provided fix by updating the Linux Kernel.

Users can obtain the updated Linux Kernel from the official Linux Kernel repository or through their respective Linux distribution's package manager.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. 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