Bug 2257689 (CVE-2024-0408) - CVE-2024-0408 xorg-x11-server: SELinux unlabeled GLX PBuffer
Summary: CVE-2024-0408 xorg-x11-server: SELinux unlabeled GLX PBuffer
Keywords:
Status: NEW
Alias: CVE-2024-0408
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2258975 2258976
Blocks: 2256538
TreeView+ depends on / blocked
 
Reported: 2024-01-10 14:01 UTC by Patrick Del Bello
Modified: 2024-04-30 09:43 UTC (History)
1 user (show)

Fixed In Version: xorg-server-21.1.11, xwayland-23.2.4
Doc Type: ---
Doc Text:
A flaw was found in the X.Org server. The GLX PBuffer code does not call the XACE hook when creating the buffer, leaving it unlabeled. When the client issues another request to access that resource (as with a GetGeometry) or when it creates another resource that needs to access that buffer, such as a GC, the XSELINUX code will try to use an object that was never labeled and crash because the SID is NULL.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2024:0320 0 None None None 2024-01-22 13:43:32 UTC
Red Hat Product Errata RHSA-2024:2169 0 None None None 2024-04-30 09:43:28 UTC
Red Hat Product Errata RHSA-2024:2170 0 None None None 2024-04-30 09:43:19 UTC

Description Patrick Del Bello 2024-01-10 14:01:47 UTC
The XSELINUX code in the Xserver labels the X resources based on a hook. What happens here is that the GLX PBuffer code does not call that XACE hook when creating the buffer, so it remains unlabeled, and when the client issues another request to access that resource (as here with a GetGeometry) or even when it creates another resource which needs to access that buffer (such as a GC), the XSELINUX code will try to use an object that was never labeled and crash because the SID is NULL.

Comment 2 Sandipan Roy 2024-01-18 11:32:35 UTC
Created tigervnc tracking bugs for this issue:

Affects: fedora-all [bug 2258976]


Created xorg-x11-server tracking bugs for this issue:

Affects: fedora-all [bug 2258975]

Comment 4 errata-xmlrpc 2024-01-22 13:43:31 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

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

Comment 5 errata-xmlrpc 2024-04-30 09:43:18 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

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

Comment 6 errata-xmlrpc 2024-04-30 09:43:27 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

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


Note You need to log in before you can comment on or make changes to this bug.