# CVE-2022-49645: drm/panfrost: Fix shrinker list corruption by madvise IOCTL

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 22% of CVEs (2026-12-01)
- Published: 2025-02-26T02:23:50.598Z
- Modified: 2026-08-05T08:55:54.011Z
- Weaknesses: CWE-787
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 013b6510131568ce4e01856d5360bfdfe9c3632f before 393594aad55179eb761af41533d8d1d6eb4543b0; from 013b6510131568ce4e01856d5360bfdfe9c3632f before 0581613df7f9a4c5fac096ce1d5fb15b7b994240; from 013b6510131568ce4e01856d5360bfdfe9c3632f before 1807d8867402a58b831a7fc16832747ff559a0d1; from 013b6510131568ce4e01856d5360bfdfe9c3632f before f036392edd9c49090781d8cca26ad6557a63bae4; from 013b6510131568ce4e01856d5360bfdfe9c3632f before 9fc33eaaa979d112d10fea729edcd2a2e21aa912; 5.4 (not affected: before 5.4; from 5.4.207 up to 5.4.*; from 5.10.132 up to 5.10.*; from 5.15.56 up to 5.15.*; from 5.18.13 up to 5.18.*; from 5.19 up to *)
- linux linux_kernel: from 5.4 before 5.4.207; from 5.5 before 5.10.132; from 5.11 before 5.15.56; from 5.16 before 5.18.13; 5.19

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/393594aad55179eb761af41533d8d1d6eb4543b0> (patch)
- <https://git.kernel.org/stable/c/0581613df7f9a4c5fac096ce1d5fb15b7b994240> (patch)
- <https://git.kernel.org/stable/c/1807d8867402a58b831a7fc16832747ff559a0d1> (patch)
- <https://git.kernel.org/stable/c/f036392edd9c49090781d8cca26ad6557a63bae4> (patch)
- <https://git.kernel.org/stable/c/9fc33eaaa979d112d10fea729edcd2a2e21aa912> (patch)

## Sources

- CVE List: [CVE-2022-49645](https://www.cve.org/CVERecord?id=CVE-2022-49645), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2022-49645](https://nvd.nist.gov/vuln/detail/CVE-2022-49645), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2022-49645 · Whole record: https://cve.day/CVE-2022-49645.json · Rebuilt by cve.day 2026-11-25T22:58:20.777Z
