---
title: "CVE-2013-7271\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-2013-7271?format=md
keywords: index, follow
---

# CVE-2013-7271

Publication date 6 January 2014

Last updated 4 July 2026

---

Ubuntu priority

**Low**

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

Toggle side navigation

## Description

The x25\_recvmsg function in net/x25/af\_x25.c in the Linux kernel before
3.12.4 updates a certain length value without ensuring that an associated
data structure has been initialized, which allows local users to obtain
sensitive information from kernel memory via a (1) recvfrom, (2) recvmmsg,
or (3) recvmsg system call.

### From the Ubuntu Security Team

An information leak was discovered in the recvfrom, recvmmsg, and recvmsg
systemcalls when used with x25 protocol sockets in the Linux kernel. A
local user could exploit this leak to obtain potentially sensitive
information from kernel memory.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| linux | 17.04 zesty | Not affected |
| 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 | Fixed 3.11.0-17.31 |
| 13.04 raring | Ignored end of life |
| 12.10 quantal | Fixed 3.5.0-47.71 |
| 12.04 LTS precise | Fixed 3.2.0-59.90 |
| 10.04 LTS lucid | Fixed 2.6.32-57.119 |
| linux-armadaxp | 17.04 zesty | Not in release |
| 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 | Fixed 3.5.0-1628.37 |
| 12.04 LTS precise | Fixed 3.2.0-1630.42 |
| 10.04 LTS lucid | Not in release |
| linux-aws | 17.04 zesty | Not in release |
| 16.10 yakkety | Not in release |
| 16.04 LTS xenial | Not affected |
| 14.04 LTS trusty | Not affected |
| 12.04 LTS precise | Not in release |
| linux-ec2 | 17.04 zesty | Not in release |
| 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 |
| 10.04 LTS lucid | Fixed 2.6.32-362.75 |
| linux-flo | 17.04 zesty | Not in release |
| 16.10 yakkety | Ignored end of life |
| 16.04 LTS xenial | Not in release |
| 15.10 wily | Ignored end of life |
| 15.04 vivid | Ignored end of life |
| 14.10 utopic | Ignored end of life |
| 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 | 17.04 zesty | Not in release |
| 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 |
| 10.04 LTS lucid | Ignored end of life |
| linux-gke | 17.04 zesty | Not in release |
| 16.10 yakkety | Not in release |
| 16.04 LTS xenial | Not affected |
| 14.04 LTS trusty | Not in release |
| 12.04 LTS precise | Not in release |
| linux-goldfish | 17.04 zesty | Ignored end of life |
| 16.10 yakkety | Ignored end of life |
| 16.04 LTS xenial | Not in release |
| 15.10 wily | Ignored end of life |
| 15.04 vivid | Ignored end of life |
| 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-grouper | 17.04 zesty | Not in release |
| 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-hwe | 17.04 zesty | Not in release |
| 16.10 yakkety | Not in release |
| 16.04 LTS xenial | Not affected |
| 14.04 LTS trusty | Not in release |
| 12.04 LTS precise | Not in release |
| linux-hwe-edge | 17.04 zesty | Not in release |
| 16.10 yakkety | Not in release |
| 16.04 LTS xenial | Not affected |
| 14.04 LTS trusty | Not in release |
| 12.04 LTS precise | Not in release |
| linux-linaro-omap | 17.04 zesty | Not in release |
| 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 | Ignored end of life |
| 12.04 LTS precise | Ignored end of life |
| 10.04 LTS lucid | Not in release |
| linux-linaro-shared | 17.04 zesty | Not in release |
| 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 | Ignored end of life |
| 12.04 LTS precise | Ignored end of life |
| 10.04 LTS lucid | Not in release |
| linux-linaro-vexpress | 17.04 zesty | Not in release |
| 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 | Ignored end of life |
| 12.04 LTS precise | Ignored end of life |
| 10.04 LTS lucid | Not in release |
| linux-lts-quantal | 17.04 zesty | Not in release |
| 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 | Fixed 3.5.0-47.71~precise1 |
| 10.04 LTS lucid | Not in release |
| linux-lts-raring | 17.04 zesty | Not in release |
| 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 | Fixed 3.8.0-37.53~precise1 |
| 10.04 LTS lucid | Not in release |
| linux-lts-saucy | 17.04 zesty | Not in release |
| 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 | Fixed 3.11.0-17.31~precise1 |
| 10.04 LTS lucid | Not in release |
| linux-lts-trusty | 17.04 zesty | Not in release |
| 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 | 17.04 zesty | Not in release |
| 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 | 17.04 zesty | Not in release |
| 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 | 17.04 zesty | Not in release |
| 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 | 17.04 zesty | Not in release |
| 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 | 17.04 zesty | Not in release |
| 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 | 17.04 zesty | Not in release |
| 16.10 yakkety | Ignored end of life |
| 16.04 LTS xenial | Not in release |
| 15.10 wily | Ignored end of life |
| 15.04 vivid | Ignored end of life |
| 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-manta | 17.04 zesty | Not in release |
| 16.10 yakkety | Not in release |
| 16.04 LTS xenial | Not in release |
| 15.10 wily | Ignored end of life |
| 15.04 vivid | Ignored end of life |
| 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-mvl-dove | 17.04 zesty | Not in release |
| 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 |
| 10.04 LTS lucid | Ignored end of life |
| linux-qcm-msm | 17.04 zesty | Not in release |
| 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 | Ignored end of life |
| 12.04 LTS precise | Ignored end of life |
| 10.04 LTS lucid | Ignored end of life |
| linux-raspi2 | 17.04 zesty | Not affected |
| 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 | 17.04 zesty | Not affected |
| 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 | 17.04 zesty | Not in release |
| 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 | Fixed 3.5.0-239.55 |
| 13.04 raring | Ignored end of life |
| 12.10 quantal | Fixed 3.5.0-239.55 |
| 12.04 LTS precise | Fixed 3.2.0-1443.62 |
| 10.04 LTS lucid | 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-2013-7271?format=md#patch-details)

### 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   [f3d3342](https://git.kernel.org/linus/f3d3342602f8bcbf37d7c46641cb9bca7618eb1c) |

## References

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

### Related Ubuntu Security Notices (USN)

+ [USN-2138-1](https://usn.ubuntu.com/USN-2138-1)
+ Linux kernel vulnerabilities
+ 7 March 2014

+ [USN-2136-1](https://usn.ubuntu.com/USN-2136-1)
+ Linux kernel (Raring HWE) vulnerabilities
+ 7 March 2014

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

+ [USN-2110-1](https://usn.ubuntu.com/USN-2110-1)
+ Linux kernel (OMAP4) vulnerabilities
+ 18 February 2014

+ [USN-2128-1](https://usn.ubuntu.com/USN-2128-1)
+ Linux kernel vulnerabilities
+ 5 March 2014

+ [USN-2113-1](https://usn.ubuntu.com/USN-2113-1)
+ Linux kernel (Saucy HWE) vulnerabilities
+ 18 February 2014

+ [USN-2139-1](https://usn.ubuntu.com/USN-2139-1)
+ Linux kernel (OMAP4) vulnerabilities
+ 7 March 2014

+ [USN-2109-1](https://usn.ubuntu.com/USN-2109-1)
+ Linux kernel vulnerabilities
+ 18 February 2014

+ [USN-2135-1](https://usn.ubuntu.com/USN-2135-1)
+ Linux kernel (Quantal HWE) vulnerabilities
+ 7 March 2014

+ [USN-2141-1](https://usn.ubuntu.com/USN-2141-1)
+ Linux kernel (OMAP4) vulnerabilities
+ 7 March 2014

+ [USN-2117-1](https://usn.ubuntu.com/USN-2117-1)
+ Linux kernel vulnerabilities
+ 18 February 2014

### Other references

* <https://github.com/torvalds/linux/commit/f3d3342602f8bcbf37d7c46641cb9bca7618eb1c>
* <https://bugzilla.redhat.com/show_bug.cgi?id=1039845>
* <http://www.openwall.com/lists/oss-security/2013/12/31/7>
* <http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.12.4>
* <http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=f3d3342602f8bcbf37d7c46641cb9bca7618eb1c>
* <https://www.cve.org/CVERecord?id=CVE-2013-7271>
