Summary: | Security issue: insufficient locking checks in DRM code | ||||||
---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Stefan Dirsch <sndirsch> | ||||
Component: | Server/Ext/GLX | Assignee: | Default DRI bug account <dri-devel> | ||||
Status: | RESOLVED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | high | CC: | dberkholz, eich, naimaathar.na | ||||
Version: | git | ||||||
Hardware: | Other | ||||||
OS: | Linux (All) | ||||||
Whiteboard: | |||||||
i915 platform: | i915 features: | ||||||
Attachments: |
|
Description
Stefan Dirsch
2004-11-09 05:59:51 UTC
Has this already been adressed? This issue has been reported to vendor-sec. I'll attach an according patch, which I didn't test yet, I must admit. Created attachment 1250 [details] [review] drm_lock.diff I've applied this patch to the drm in CVS, I'll push to Linus, I'm not sure if it is a big security issue, but you never know I suppose, do vendors use the drm shipped with Xorg or with the kernel? Thanks, Dave. Which CVS is this? X.Org? I cannot speak for other vendors, but SuSE currently uses the DRM shipped with X.Org. I've commited it to the drm CVS tree, which will eventually get into Xorg for the next major release, if there is a need to patch it into Xorg for 6.8.2 then we should propose it via the Xorg bug fix method.. If SuSE are shipping a 2.6 kernel I'd recommend shipping the drm from the kernel, the DRM CVS tree is development tree mainly now, and I pass the stablised patches to Linus and probably the next Xorg release will just use a stable release similiar to what is in the kernel.. Looks like I've found it in DRI CVS (drm module): ./linux-core/i810_dma.c ./linux-core/i830_dma.c ./linux-core/i830_irq.c ./shared-core/i915_dma.c ./shared-core/i915_irq.c Gentoo has historically provided and recommended DRM CVS snapshots, but there haven't been any lately with all the stuff going on there. There's also the option to use the kernel DRM. These changes have just appeared in Linus tree, so I'm closing this bug. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.