drm/panfrost: Fix shrinker list corruption by madvise IOCTL (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.28 % · percentile 21 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Modified
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.
Weaknesses (CWE)
- CWE-787 — Out-of-bounds Write
References
- https://git.kernel.org/stable/c/393594aad55179eb761af41533d8d1d6eb4543b0
- https://git.kernel.org/stable/c/0581613df7f9a4c5fac096ce1d5fb15b7b994240
- https://git.kernel.org/stable/c/1807d8867402a58b831a7fc16832747ff559a0d1
- https://git.kernel.org/stable/c/f036392edd9c49090781d8cca26ad6557a63bae4
- https://git.kernel.org/stable/c/9fc33eaaa979d112d10fea729edcd2a2e21aa912
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | Linux |
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2022-54587
- GCVE · GCVE-0-2022-49645
CERT-FR advisories
- CERTFR-2025-AVI-0336 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2025-AVI-0307 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2025-AVI-0252 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.4 < 5.4.207cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.5 < 5.10.132cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.11 < 5.15.56cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.16 < 5.18.13cpe:2.3:o:linux:linux_kernel:5.19:rc1:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:5.19:rc2:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:5.19:rc3:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:5.19:rc4:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:5.19:rc5:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:5.19:rc6:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 013b6510131568ce4e01856d5360bfdfe9c3632f < 393594aad55179eb761af41533d8d1d6eb4543b0 ; affected 013b6510131568ce4e01856d5360bfdfe9c3632f < 0581613df7f9a4c5fac096ce1d5fb15b7b994240 ; affected 013b6510131568ce4e01856d5360bfdfe9c3632f < 1807d8867402a58b831a7fc16832747ff559a0d1 ; affected 013b6510131568ce4e01856d5360bfdfe9c3632f < f036392edd9c49090781d8cca26ad6557a63bae4 ; affected 013b6510131568ce4e01856d5360bfdfe9c3632f < 9fc33eaaa979d112d10fea729edcd2a2e21aa912 |
| Linux · Linux | affected 5.4 ; unaffected 0 < 5.4 ; unaffected 5.4.207 ≤ 5.4.* ; unaffected 5.10.132 ≤ 5.10.* ; unaffected 5.15.56 ≤ 5.15.* ; unaffected 5.18.13 ≤ 5.18.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |