drm/panfrost: Fix shrinker list corruption by madvise IOCTL (Linux Linux)

CVE-2022-49645
HIGH 7.8

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)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 013b6510131568ce4e01856d5360bfdfe9c3632f < 393594aad55179eb761af41533d8d1d6eb4543b0 ; affected 013b6510131568ce4e01856d5360bfdfe9c3632f < 0581613df7f9a4c5fac096ce1d5fb15b7b994240 ; affected 013b6510131568ce4e01856d5360bfdfe9c3632f < 1807d8867402a58b831a7fc16832747ff559a0d1 ; affected 013b6510131568ce4e01856d5360bfdfe9c3632f < f036392edd9c49090781d8cca26ad6557a63bae4 ; affected 013b6510131568ce4e01856d5360bfdfe9c3632f < 9fc33eaaa979d112d10fea729edcd2a2e21aa912
Linux · Linuxaffected 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

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD