---
title: "CVE-2011-4127\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2011-4127?format=md
keywords: index, follow
---

# CVE-2011-4127

Publication date 23 December 2011

Last updated 4 July 2026

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

Toggle side navigation

## Description

The Linux kernel before 3.2.2 does not properly restrict SG\_IO ioctl calls,
which allows local users to bypass intended restrictions on disk read and
write operations by sending a SCSI command to (1) a partition block device
or (2) an LVM volume.

### From the Ubuntu Security Team

Paolo Bonzini discovered a flaw in Linux's handling of the SG\_IO ioctl
command. A local user, or user in a VM could exploit this flaw to bypass
restrictions and gain read/write access to all data on the affected block
device.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2011-4127?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| linux | 16.10 yakkety | Not affected |
| 16.04 LTS xenial | Not affected |
| 15.10 wily | Not affected |
| 15.04 vivid | Not affected |
| 14.10 utopic | Not affected |
| 14.04 LTS trusty | Not affected |
| 13.10 saucy | Not affected |
| 13.04 raring | Not affected |
| 12.10 quantal | Not affected |
| 12.04 LTS precise | Not affected |
| 11.10 oneiric | Fixed 3.0.0-16.29 |
| 11.04 natty | Ignored end of life |
| 10.10 maverick | Ignored end of life |
| 10.04 LTS lucid | Fixed 2.6.32-39.86 |
| 8.04 LTS hardy | Ignored end of life, was deferred |
| linux-armadaxp | 16.10 yakkety | Not in release |
| 16.04 LTS xenial | Not in release |
| 15.10 wily | Not in release |
| 15.04 vivid | Not in release |
| 14.10 utopic | Not in release |
| 14.04 LTS trusty | Not in release |
| 13.10 saucy | Not in release |
| 13.04 raring | Not in release |
| 12.10 quantal | Not affected |
| 12.04 LTS precise | Not affected |
| 11.10 oneiric | Not in release |
| 11.04 natty | Not in release |
| 10.04 LTS lucid | Not in release |
| 8.04 LTS hardy | Not in release |
| linux-ec2 | 16.10 yakkety | Not in release |
| 16.04 LTS xenial | Not in release |
| 15.10 wily | Not in release |
| 15.04 vivid | Not in release |
| 14.10 utopic | Not in release |
| 14.04 LTS trusty | Not in release |
| 13.10 saucy | Not in release |
| 13.04 raring | Not in release |
| 12.10 quantal | Not in release |
| 12.04 LTS precise | Not in release |
| 11.10 oneiric | Not in release |
| 11.04 natty | Not in release |
| 10.10 maverick | Ignored end of life |
| 10.04 LTS lucid | Fixed 2.6.32-343.45 |
| 8.04 LTS hardy | Not in release |
| linux-flo | 16.10 yakkety | Not affected |
| 16.04 LTS xenial | Not in release |
| 15.10 wily | Not affected |
| 15.04 vivid | Not affected |
| 14.10 utopic | Not affected |
| 14.04 LTS trusty | Not in release |
| 13.10 saucy | Not in release |
| 12.10 quantal | Not in release |
| 12.04 LTS precise | Not in release |
| 10.04 LTS lucid | Not in release |
| linux-fsl-imx51 | 16.10 yakkety | Not in release |
| 16.04 LTS xenial | Not in release |
| 15.10 wily | Not in release |
| 15.04 vivid | Not in release |
| 14.10 utopic | Not in release |
| 14.04 LTS trusty | Not in release |
| 13.10 saucy | Not in release |
| 13.04 raring | Not in release |
| 12.10 quantal | Not in release |
| 12.04 LTS precise | Not in release |
| 11.10 oneiric | Not in release |
| 11.04 natty | Not in release |
| 10.10 maverick | Not in release |
| 10.04 LTS lucid | Not affected |
| 8.04 LTS hardy | Not in release |
| linux-goldfish | 16.10 yakkety | Not affected |
| 16.04 LTS xenial | Not in release |
| 15.10 wily | Not affected |
| 15.04 vivid | Not affected |
| 14.10 utopic | Not affected |
| 14.04 LTS trusty | Not in release |
| 13.10 saucy | Ignored |
| 12.10 quantal | Not in release |
| 12.04 LTS precise | Not in release |
| 10.04 LTS lucid | Not in release |
| linux-grouper | 16.10 yakkety | Not in release |
| 16.04 LTS xenial | Not in release |
| 15.10 wily | Not in release |
| 15.04 vivid | Not in release |
| 14.10 utopic | Ignored end of life |
| 14.04 LTS trusty | Not in release |
| 13.10 saucy | Ignored |
| 12.10 quantal | Not in release |
| 12.04 LTS precise | Not in release |
| 10.04 LTS lucid | Not in release |
| linux-lts-backport-maverick | 16.10 yakkety | Not in release |
| 16.04 LTS xenial | Not in release |
| 15.10 wily | Not in release |
| 15.04 vivid | Not in release |
| 14.10 utopic | Not in release |
| 14.04 LTS trusty | Not in release |
| 13.10 saucy | Not in release |
| 13.04 raring | Not in release |
| 12.10 quantal | Not in release |
| 12.04 LTS precise | Not in release |
| 11.10 oneiric | Not in release |
| 11.04 natty | Not in release |
| 10.10 maverick | Not in release |
| 10.04 LTS lucid | Ignored end of life |
| 8.04 LTS hardy | Not in release |
| linux-lts-backport-natty | 16.10 yakkety | Not in release |
| 16.04 LTS xenial | Not in release |
| 15.10 wily | Not in release |
| 15.04 vivid | Not in release |
| 14.10 utopic | Not in release |
| 14.04 LTS trusty | Not in release |
| 13.10 saucy | Not in release |
| 13.04 raring | Not in release |
| 12.10 quantal | Not in release |
| 12.04 LTS precise | Not in release |
| 11.10 oneiric | Not in release |
| 11.04 natty | Not in release |
| 10.10 maverick | Not in release |
| 10.04 LTS lucid | Ignored end of life |
| 8.04 LTS hardy | Not in release |
| linux-lts-backport-oneiric | 16.10 yakkety | Not in release |
| 16.04 LTS xenial | Not in release |
| 15.10 wily | Not in release |
| 15.04 vivid | Not in release |
| 14.10 utopic | Not in release |
| 14.04 LTS trusty | Not in release |
| 13.10 saucy | Not in release |
| 13.04 raring | Not in release |
| 12.10 quantal | Not in release |
| 12.04 LTS precise | Not in release |
| 11.10 oneiric | Not in release |
| 11.04 natty | Not in release |
| 10.10 maverick | Not in release |
| 10.04 LTS lucid | Fixed 3.0.0-16.29~lucid1 |
| 8.04 LTS hardy | Not in release |
| linux-lts-quantal | 16.10 yakkety | Not in release |
| 16.04 LTS xenial | Not in release |
| 15.10 wily | Not in release |
| 15.04 vivid | Not in release |
| 14.10 utopic | Not in release |
| 14.04 LTS trusty | Not in release |
| 13.10 saucy | Not in release |
| 13.04 raring | Not in release |
| 12.10 quantal | Not in release |
| 12.04 LTS precise | Not affected |
| 11.10 oneiric | Not in release |
| 10.04 LTS lucid | Not in release |
| 8.04 LTS hardy | Not in release |
| linux-lts-raring | 16.10 yakkety | Not in release |
| 16.04 LTS xenial | Not in release |
| 15.10 wily | Not in release |
| 15.04 vivid | Not in release |
| 14.10 utopic | Not in release |
| 14.04 LTS trusty | Not in release |
| 13.10 saucy | Not in release |
| 13.04 raring | Not in release |
| 12.10 quantal | Not in release |
| 12.04 LTS precise | Not affected |
| 11.10 oneiric | Not in release |
| 10.04 LTS lucid | Not in release |
| 8.04 LTS hardy | Not in release |
| linux-lts-trusty | 16.10 yakkety | Not in release |
| 16.04 LTS xenial | Not in release |
| 15.10 wily | Not in release |
| 15.04 vivid | Not in release |
| 14.10 utopic | Not in release |
| 14.04 LTS trusty | Not in release |
| 13.10 saucy | Not in release |
| 12.04 LTS precise | Not affected |
| 10.04 LTS lucid | Not in release |
| linux-lts-utopic | 16.10 yakkety | Not in release |
| 16.04 LTS xenial | Not in release |
| 15.10 wily | Not in release |
| 15.04 vivid | Not in release |
| 14.10 utopic | Not in release |
| 14.04 LTS trusty | Not in release |
| 12.04 LTS precise | Not in release |
| 10.04 LTS lucid | Not in release |
| linux-lts-vivid | 16.10 yakkety | Not in release |
| 16.04 LTS xenial | Not in release |
| 15.10 wily | Not in release |
| 15.04 vivid | Not in release |
| 14.10 utopic | Not in release |
| 14.04 LTS trusty | Not in release |
| 12.04 LTS precise | Not in release |
| 10.04 LTS lucid | Not in release |
| linux-lts-wily | 16.10 yakkety | Not in release |
| 16.04 LTS xenial | Not in release |
| 15.10 wily | Not in release |
| 15.04 vivid | Not in release |
| 14.04 LTS trusty | Not in release |
| 12.04 LTS precise | Not in release |
| linux-lts-xenial | 16.10 yakkety | Not in release |
| 16.04 LTS xenial | Not in release |
| 15.10 wily | Not in release |
| 15.04 vivid | Not in release |
| 14.04 LTS trusty | Not affected |
| 12.04 LTS precise | Not in release |
| linux-maguro | 16.10 yakkety | Not in release |
| 16.04 LTS xenial | Not in release |
| 15.10 wily | Not in release |
| 15.04 vivid | Not in release |
| 14.10 utopic | Not in release |
| 14.04 LTS trusty | Not in release |
| 13.10 saucy | Ignored |
| 12.10 quantal | Not in release |
| 12.04 LTS precise | Not in release |
| 10.04 LTS lucid | Not in release |
| linux-mako | 16.10 yakkety | Not affected |
| 16.04 LTS xenial | Not in release |
| 15.10 wily | Not affected |
| 15.04 vivid | Not affected |
| 14.10 utopic | Not affected |
| 14.04 LTS trusty | Not in release |
| 13.10 saucy | Ignored |
| 12.10 quantal | Not in release |
| 12.04 LTS precise | Not in release |
| 10.04 LTS lucid | Not in release |
| linux-manta | 16.10 yakkety | Not in release |
| 16.04 LTS xenial | Not in release |
| 15.10 wily | Not affected |
| 15.04 vivid | Not affected |
| 14.10 utopic | Not affected |
| 14.04 LTS trusty | Not in release |
| 13.10 saucy | Ignored |
| 12.10 quantal | Not in release |
| 12.04 LTS precise | Not in release |
| 10.04 LTS lucid | Not in release |
| linux-mvl-dove | 16.10 yakkety | Not in release |
| 16.04 LTS xenial | Not in release |
| 15.10 wily | Not in release |
| 15.04 vivid | Not in release |
| 14.10 utopic | Not in release |
| 14.04 LTS trusty | Not in release |
| 13.10 saucy | Not in release |
| 13.04 raring | Not in release |
| 12.10 quantal | Not in release |
| 12.04 LTS precise | Not in release |
| 11.10 oneiric | Not in release |
| 11.04 natty | Not in release |
| 10.10 maverick | Not affected |
| 10.04 LTS lucid | Not affected |
| 8.04 LTS hardy | Not in release |
| linux-raspi2 | 16.10 yakkety | Not affected |
| 16.04 LTS xenial | Not affected |
| 15.10 wily | Not affected |
| 15.04 vivid | Not in release |
| 14.04 LTS trusty | Not in release |
| 12.04 LTS precise | Not in release |
| linux-snapdragon | 16.10 yakkety | Not affected |
| 16.04 LTS xenial | Not affected |
| 15.10 wily | Not in release |
| 14.04 LTS trusty | Not in release |
| 12.04 LTS precise | Not in release |
| linux-ti-omap4 | 16.10 yakkety | Not in release |
| 16.04 LTS xenial | Not in release |
| 15.10 wily | Not in release |
| 15.04 vivid | Not in release |
| 14.10 utopic | Not in release |
| 14.04 LTS trusty | Not in release |
| 13.10 saucy | Not affected |
| 13.04 raring | Not affected |
| 12.10 quantal | Not affected |
| 12.04 LTS precise | Not affected |
| 11.10 oneiric | Not affected |
| 11.04 natty | Not affected |
| 10.10 maverick | Not affected |
| 10.04 LTS lucid | Not in release |
| 8.04 LTS hardy | Not in release |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2011-4127?format=md#patch-details)

## Notes

---

### [apw](https://launchpad.net/~apw)

This seems to be seens as the right thing to do, but not so late
in 3.2, expect to see something applied in the early merge window
https://lkml.org/lkml/2011/12/22/366
The fixes have now hit mainline, there is a strong possibility that
when these are applied to older releases we will get functionality
regressions, will get them on precise as soon as possible.

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| linux | * Introduced by   [1da177e](https://git.kernel.org/linus/1da177e4c3f41524e886b7f1b8a0c1fc7321cac2),   fixed by   [577ebb3](https://git.kernel.org/linus/577ebb374c78314ac4617242f509e2f5e7156649) * Introduced by   [1da177e](https://git.kernel.org/linus/1da177e4c3f41524e886b7f1b8a0c1fc7321cac2),   fixed by   [0bfc96c](https://git.kernel.org/linus/0bfc96cb77224736dfa35c3c555d37b3646ef35e) * Introduced by   [1da177e](https://git.kernel.org/linus/1da177e4c3f41524e886b7f1b8a0c1fc7321cac2),   fixed by   [ec8013b](https://git.kernel.org/linus/ec8013beddd717d1740cfefb1a9b900deef85462) |

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-4127)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2011-4127)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2011-4127)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2011-4127)

### Related Ubuntu Security Notices (USN)

+ [USN-1405-1](https://usn.ubuntu.com/USN-1405-1)
+ Linux kernel vulnerabilities
+ 27 March 2012

+ [USN-1388-1](https://usn.ubuntu.com/USN-1388-1)
+ Linux kernel (EC2) vulnerabilities
+ 6 March 2012

+ [USN-1384-1](https://usn.ubuntu.com/USN-1384-1)
+ Linux kernel (Oneiric backport) vulnerabilities
+ 6 March 2012

+ [USN-1389-1](https://usn.ubuntu.com/USN-1389-1)
+ Linux kernel vulnerabilities
+ 6 March 2012

### Other references

* <https://lkml.org/lkml/2004/8/12/218>
* <https://lkml.org/lkml/2004/8/12/260>
* <https://lkml.org/lkml/2011/12/22/270>
* <https://www.cve.org/CVERecord?id=CVE-2011-4127>
