{"id":"CVE-2024-50174","summary":"drm/panthor: Fix race when converting group handle to group object","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/panthor: Fix race when converting group handle to group object\n\nXArray provides it's own internal lock which protects the internal array\nwhen entries are being simultaneously added and removed. However there\nis still a race between retrieving the pointer from the XArray and\nincrementing the reference count.\n\nTo avoid this race simply hold the internal XArray lock when\nincrementing the reference count, this ensures there cannot be a racing\ncall to xa_erase().","modified":"2026-03-20T12:39:36.873110Z","published":"2024-11-08T05:23:56.752Z","related":["USN-7276-1","USN-7277-1","openSUSE-SU-2024:14500-1","openSUSE-SU-2025:14705-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50174.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/44742138d151c3a945460ae7beff8ae45ac0bf58"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8a585d553c11965332d7a2d74e79ef92a42bfc87"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cac075706f298948898b1f63e81709df42afa75d"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50174.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-50174"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"de85488138247d034eb3241840424a54d660926b"},{"fixed":"8a585d553c11965332d7a2d74e79ef92a42bfc87"},{"fixed":"44742138d151c3a945460ae7beff8ae45ac0bf58"},{"fixed":"cac075706f298948898b1f63e81709df42afa75d"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-50174.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}