CVE-2022-49645

drm/panfrost: Fix shrinker list corruption by madvise IOCTL

HIGH
7.8
CVSS Score
Published: February 26, 2025 at 02:23 AM UTC
Updated: August 5, 2026 at 09:24 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.3%

Description

In the Linux kernel, the following vulnerability has been resolved: drm/panfrost: Fix shrinker list corruption by madvise IOCTL Calling madvise IOCTL twice on BO causes memory shrinker list corruption and crashes kernel because BO is already on the list and it's added to the list again, while BO should be removed from the list before it's re-added. Fix it.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.11 ≤ v < 5.15.565.16 ≤ v < 5.18.135.4 ≤ v < 5.10.1325.4 ≤ v < 5.15.565.4 ≤ v < 5.18.135.4 ≤ v < 5.195.4 ≤ v < 5.4.2075.5 ≤ v < 5.10.13213b6510131568ce4e1856d5360bfdfe9c3632f5.19 rc15.19 rc25.19 rc35.19 rc45.19 rc55.19 rc6
Vendor states this is fixed in 0581613df7f9a4c5fac096ce1d5fb15b7b994240 (fixed)
Vendor states this is fixed in 1807d8867402a58b831a7fc16832747ff559a0d1 (fixed)
Vendor states this is fixed in 393594aad55179eb761af41533d8d1d6eb4543b0 (fixed)
Vendor states this is fixed in 9fc33eaaa979d112d10fea729edcd2a2e21aa912 (fixed)
Vendor states this is fixed in f036392edd9c49090781d8cca26ad6557a63bae4 (fixed)
Vendor states this is fixed in 5.10.132 (unaffected)
Vendor states this is fixed in 5.15.56 (unaffected)
Vendor states this is fixed in 5.18.13 (unaffected)
Vendor states this is fixed in 5.19 (unaffected)
Vendor states this is fixed in 5.4 (unaffected)
Vendor states this is fixed in 5.4.207 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0581613df7f9a4c5fac096ce1d5fb15b7b994240
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1807d8867402a58b831a7fc16832747ff559a0d1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/393594aad55179eb761af41533d8d1d6eb4543b0
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9fc33eaaa979d112d10fea729edcd2a2e21aa912
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f036392edd9c49090781d8cca26ad6557a63bae4

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-787

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card