Bug 2296383 (CVE-2024-39486)

Summary: CVE-2024-39486 kernel: drm/drm_file: Fix pid refcounting race
Product: [Other] Security Response Reporter: Mauro Matteo Cascella <mcascell>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: bzimport, dfreiber, drow, jburrell, vkumar
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A race condition was found in the Linux kernel. The rm_file_update_pid() only increments the refcount of a struct pid after storing a pointer to it in filp->pid, dropping the dev->filelist_mutex, resulting in a use-after-free vulnerability.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mauro Matteo Cascella 2024-07-08 20:22:17 UTC
In the Linux kernel, the following vulnerability has been resolved:

drm/drm_file: Fix pid refcounting race

The Linux kernel CVE team has assigned CVE-2024-39486 to this issue.

Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024070628-CVE-2024-39486-1ea1@gregkh/T

Comment 1 Mauro Matteo Cascella 2024-07-08 20:28:08 UTC
*** Bug 2296094 has been marked as a duplicate of this bug. ***

Comment 4 errata-xmlrpc 2024-11-12 09:35:51 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2024:9315 https://access.redhat.com/errata/RHSA-2024:9315