CVE-2015-3331
The __driver_rfc4106_decrypt function in arch/x86/crypto/aesni-intel_glue.c in the Linux kernel before 3.19.3 does not properly determine the memory locations used for encrypted data, which allows context-dependent attackers to cause a denial of service (buffer overflow and system crash) or possibly execute arbitrary code by triggering a crypto API call, as demonstrated by use of a libkcapi test program with an AF_ALG(aead) socket.
What to do
Likely to be exploited: EPSS gives a 11% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.
Fixed builds are available from Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 16.04 | linux | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-aws | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-flo | Fix pending | ||
| Ubuntu 16.04 | linux-gke | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-goldfish | Fix pending | ||
| Ubuntu 16.04 | linux-hwe | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-hwe-edge | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-mako | Fix pending | ||
| Ubuntu 16.04 | linux-raspi2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-snapdragon | Not affected vulnerable_code_not_present | ||
| Ubuntu 14.04 | linux | Fixed | 3.13.0-53.88 | UBUNTU-CVE-2015-3331 |
| Ubuntu 14.04 | linux-flo | Fix pending | ||
| Ubuntu 14.04 | linux-goldfish | Fix pending | ||
| Ubuntu 14.04 | linux-grouper | Fix pending | ||
| Ubuntu 14.04 | linux-lts-utopic | Fixed | 3.16.0-38.52~14.04.1 | UBUNTU-CVE-2015-3331 |
| Ubuntu 14.04 | linux-lts-vivid | Not affected vulnerable_code_not_present | ||
| Ubuntu 14.04 | linux-lts-wily | Not affected vulnerable_code_not_present | ||
| Ubuntu 14.04 | linux-maguro | Fix pending | ||
| Ubuntu 14.04 | linux-mako | Fix pending | ||
| Ubuntu 14.04 | linux-manta | Fix pending | ||
| Debian 14 | linux | Fixed | 3.16.7-ckt9-3 | DEBIAN-CVE-2015-3331 |
| Debian 13 | linux | Fixed | 3.16.7-ckt9-3 | DEBIAN-CVE-2015-3331 |
| Debian 12 | linux | Fixed | 3.16.7-ckt9-3 | DEBIAN-CVE-2015-3331 |
| Red Hat Enterprise Linux 7 | kernel | Fixed | 0:3.10.0-229.4.2.ael7b | RHSA-2015:0987 |
| Red Hat Enterprise Linux 7 | kernel-abi-whitelists | Fixed | 0:3.10.0-229.4.2.el7 | RHSA-2015:0987 |
| Red Hat Enterprise Linux 7 | kernel-biscayne | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-bootwrapper | Fixed | 0:3.10.0-229.4.2.ael7b | RHSA-2015:0987 |
| Red Hat Enterprise Linux 7 | kernel-debug | Fixed | 0:3.10.0-229.4.2.el7 | RHSA-2015:0987 |
| Red Hat Enterprise Linux 7 | kernel-debug-devel | Fixed | 0:3.10.0-229.4.2.el7 | RHSA-2015:0987 |
| Red Hat Enterprise Linux 7 | kernel-debuginfo-common-ppc64 | Fixed | 0:3.10.0-229.4.2.el7 | RHSA-2015:0987 |
| Red Hat Enterprise Linux 7 | kernel-debuginfo-common-ppc64le | Fixed | 0:3.10.0-229.4.2.ael7b | RHSA-2015:0987 |
| Red Hat Enterprise Linux 7 | kernel-debuginfo-common-s390x | Fixed | 0:3.10.0-229.4.2.el7 | RHSA-2015:0987 |
| Red Hat Enterprise Linux 7 | kernel-debuginfo-common-x86_64 | Fixed | 0:3.10.0-229.4.2.el7 | RHSA-2015:0987 |
| Red Hat Enterprise Linux 7 | kernel-devel | Fixed | 0:3.10.0-229.4.2.el7 | RHSA-2015:0987 |
| Red Hat Enterprise Linux 7 | kernel-doc | Fixed | 0:3.10.0-229.4.2.el7 | RHSA-2015:0987 |
| Red Hat Enterprise Linux 7 | kernel-headers | Fixed | 0:3.10.0-229.4.2.el7 | RHSA-2015:0987 |
| Red Hat Enterprise Linux 7 | kernel-kdump | Fixed | 0:3.10.0-229.4.2.el7 | RHSA-2015:0987 |
| Red Hat Enterprise Linux 7 | kernel-kdump-devel | Fixed | 0:3.10.0-229.4.2.el7 | RHSA-2015:0987 |
| Red Hat Enterprise Linux 7 | kernel-tools | Fixed | 0:3.10.0-229.4.2.el7 | RHSA-2015:0987 |
| Red Hat Enterprise Linux 7 | kernel-tools-libs | Fixed | 0:3.10.0-229.4.2.el7 | RHSA-2015:0987 |
| Red Hat Enterprise Linux 7 | kernel-tools-libs-devel | Fixed | 0:3.10.0-229.4.2.el7 | RHSA-2015:0987 |
| Red Hat Enterprise Linux 7 | perf | Fixed | 0:3.10.0-229.4.2.ael7b | RHSA-2015:0987 |
| Red Hat Enterprise Linux 7 | python-perf | Fixed | 0:3.10.0-229.4.2.el7 | RHSA-2015:0987 |
| Red Hat Enterprise Linux 6 | kernel | Fixed | 0:2.6.32-504.23.4.el6 | RHSA-2015:1081 |
| Red Hat Enterprise Linux 6 | kernel-abi-whitelists | Fixed | 0:2.6.32-504.23.4.el6 | RHSA-2015:1081 |
| Red Hat Enterprise Linux 6 | kernel-bootwrapper | Fixed | 0:2.6.32-504.23.4.el6 | RHSA-2015:1081 |
| Red Hat Enterprise Linux 6 | kernel-debug | Fixed | 0:2.6.32-504.23.4.el6 | RHSA-2015:1081 |
| Red Hat Enterprise Linux 6 | kernel-debug-devel | Fixed | 0:2.6.32-504.23.4.el6 | RHSA-2015:1081 |
| Red Hat Enterprise Linux 6 | kernel-debuginfo-common-i686 | Fixed | 0:2.6.32-504.23.4.el6 | RHSA-2015:1081 |
| Red Hat Enterprise Linux 6 | kernel-debuginfo-common-ppc64 | Fixed | 0:2.6.32-504.23.4.el6 | RHSA-2015:1081 |
| Red Hat Enterprise Linux 6 | kernel-debuginfo-common-s390x | Fixed | 0:2.6.32-504.23.4.el6 | RHSA-2015:1081 |
| Red Hat Enterprise Linux 6 | kernel-debuginfo-common-x86_64 | Fixed | 0:2.6.32-504.23.4.el6 | RHSA-2015:1081 |
| Red Hat Enterprise Linux 6 | kernel-devel | Fixed | 0:2.6.32-504.23.4.el6 | RHSA-2015:1081 |
| Red Hat Enterprise Linux 6 | kernel-doc | Fixed | 0:2.6.32-504.23.4.el6 | RHSA-2015:1081 |
| Red Hat Enterprise Linux 6 | kernel-firmware | Fixed | 0:2.6.32-504.23.4.el6 | RHSA-2015:1081 |
| Red Hat Enterprise Linux 6 | kernel-headers | Fixed | 0:2.6.32-504.23.4.el6 | RHSA-2015:1081 |
| Red Hat Enterprise Linux 6 | kernel-kdump | Fixed | 0:2.6.32-504.23.4.el6 | RHSA-2015:1081 |
| Red Hat Enterprise Linux 6 | kernel-kdump-devel | Fixed | 0:2.6.32-504.23.4.el6 | RHSA-2015:1081 |
| Red Hat Enterprise Linux 6 | perf | Fixed | 0:2.6.32-504.23.4.el6 | RHSA-2015:1081 |
| Red Hat Enterprise Linux 6 | python-perf | Fixed | 0:2.6.32-504.23.4.el6 | RHSA-2015:1081 |
| Red Hat Enterprise Linux 5 | kernel | Not affected |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://www.ubuntu.com/usn/USN-2631-1 (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2015-09/msg00011.html (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2015-09/msg00009.html (vendor-advisory)
- http://www.ubuntu.com/usn/USN-2632-1 (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2015-09/msg00008.html (vendor-advisory)
- http://www.debian.org/security/2015/dsa-3237 (vendor-advisory)
References
- http://www.ubuntu.com/usn/USN-2631-1
- http://lists.opensuse.org/opensuse-security-announce/2015-09/msg00011.html
- http://lists.opensuse.org/opensuse-security-announce/2015-09/msg00009.html
- http://www.ubuntu.com/usn/USN-2632-1
- http://lists.opensuse.org/opensuse-security-announce/2015-09/msg00008.html
- https://github.com/torvalds/linux/commit/ccfe8c3f7e52ae83155cb038753f4c75b774ca8a
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
- http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.19.3
- https://bugzilla.redhat.com/show_bug.cgi?id=1213322
- http://www.debian.org/security/2015/dsa-3237
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=ccfe8c3f7e52ae83155cb038753f4c75b774ca8a
- http://rhn.redhat.com/errata/RHSA-2015-1199.html
- http://lists.opensuse.org/opensuse-security-announce/2015-09/msg00004.html
- http://www.openwall.com/lists/oss-security/2015/04/14/16
- http://www.securitytracker.com/id/1032416
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.