CVE-2024-50174

medium

Description

In the Linux kernel, the following vulnerability has been resolved: drm/panthor: Fix race when converting group handle to group object XArray provides it's own internal lock which protects the internal array when entries are being simultaneously added and removed. However there is still a race between retrieving the pointer from the XArray and incrementing the reference count. To avoid this race simply hold the internal XArray lock when incrementing the reference count, this ensures there cannot be a racing call to xa_erase().

References

https://git.kernel.org/stable/c/cac075706f298948898b1f63e81709df42afa75d

https://git.kernel.org/stable/c/8a585d553c11965332d7a2d74e79ef92a42bfc87

https://git.kernel.org/stable/c/44742138d151c3a945460ae7beff8ae45ac0bf58

Details

Source: Mitre, NVD

Published: 2024-11-08

Updated: 2024-11-08

Risk Information

CVSS v2

Base Score: 5.4

Vector: CVSS2#AV:L/AC:M/Au:N/C:P/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 4.7

Vector: CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium