Resource management errors in Linux kernel - CVE-2008-3831
Published: October 20, 2008 / Updated: February 13, 2023
Vulnerability details
The vulnerability allows a local user to perform a denial of service (DoS) attack.
The i915 driver in (1) drivers/char/drm/i915_dma.c in the Linux kernel 2.6.24 on Debian GNU/Linux and (2) sys/dev/pci/drm/i915_drv.c in OpenBSD does not restrict the DRM_I915_HWS_ADDR ioctl to the Direct Rendering Manager (DRM) master, which allows local users to cause a denial of service (memory corruption) via a crafted ioctl call, related to absence of the DRM_MASTER and DRM_ROOT_ONLY flags in the ioctl's configuration.
Affected software
Ubuntu
linux-source-2.6.15 (Ubuntu package)
linux-backports-modules-2.6.15 (Ubuntu package)
linux-restricted-modules-2.6.15 (Ubuntu package)
linux-source-2.6.22 (Ubuntu package)
linux-ubuntu-modules-2.6.22 (Ubuntu package)
linux-backports-modules-2.6.22 (Ubuntu package)
linux-restricted-modules-2.6.22 (Ubuntu package)
linux (Ubuntu package)
linux-ubuntu-modules-2.6.24 (Ubuntu package)
linux-backports-modules-2.6.24 (Ubuntu package)
linux-restricted-modules-2.6.24 (Ubuntu package)
linux-restricted-modules (Ubuntu package)
linux-backports-modules-2.6.27 (Ubuntu package)
How to mitigate CVE-2008-3831
linux-backports-modules-2.6.15 (Ubuntu package) - update to 2.6.15-53.11
linux-restricted-modules-2.6.15 (Ubuntu package) - update to 2.6.15.12-53.4
linux-source-2.6.22 (Ubuntu package) - addressed in versions 2.6.22-15.59, 2.6.22-16.60
linux-ubuntu-modules-2.6.22 (Ubuntu package) - update to 2.6.22-16.41
linux-backports-modules-2.6.22 (Ubuntu package) - update to 2.6.22-16.17
linux-restricted-modules-2.6.22 (Ubuntu package) - update to 2.6.22.4-16.12
linux (Ubuntu package) - addressed in versions 2.6.24-21.43, 2.6.24-22.45, 2.6.27-9.19
linux-ubuntu-modules-2.6.24 (Ubuntu package) - update to 2.6.24-22.35
linux-backports-modules-2.6.24 (Ubuntu package) - update to 2.6.24-22.29
linux-restricted-modules-2.6.24 (Ubuntu package) - update to 2.6.24.14-22.53
linux-restricted-modules (Ubuntu package) - update to 2.6.27-9.13
linux-backports-modules-2.6.27 (Ubuntu package) - update to 2.6.27-9.5
External References
- http://security.debian.org/pool/updates/main/l/linux-2.6.24/linux-2.6.24_2.6.24-6~etchnhalf.6.diff.gz
- http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/pci/drm/i915_drv.c
- http://securitytracker.com/id?1021065
- http://archives.neohapsis.com/archives/openbsd/cvs/2008-10/0365.html
- http://www.securityfocus.com/bid/31792
- http://www.debian.org/security/2008/dsa-1655
- http://www.ubuntu.com/usn/usn-659-1
- http://secunia.com/advisories/32386
- https://www.redhat.com/archives/fedora-package-announce/2008-October/msg00693.html
- https://www.redhat.com/archives/fedora-package-announce/2008-October/msg00689.html
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:224
- http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0316
- http://secunia.com/advisories/32709
- http://www.ubuntu.com/usn/usn-679-1
- http://secunia.com/advisories/32918
- http://wiki.rpath.com/Advisories:rPSA-2008-0316
- http://www.redhat.com/support/errata/RHSA-2008-1017.html
- http://secunia.com/advisories/33182
- http://www.redhat.com/support/errata/RHSA-2009-0009.html
- http://secunia.com/advisories/33586
- http://sunsolve.sun.com/search/document.do?assetkey=1-26-245846-1
- http://secunia.com/advisories/32315
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11542
- http://www.securityfocus.com/archive/1/498285/100/0/threaded
- http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/pci/drm/i915_drv.c.diff?r1=1.7%3Br2=1.8