Skip to content
OpenAdvisories
Unscored CVE-2017-17805 EUVD-2017-8956GHSA-h6gr-h9qh-f94v

The Salsa20 encryption algorithm in the Linux kernel before 4.14.8 does not correctly handle zero-length inputs, allowing a local attacker …

Published Dec 20, 2017 · Updated Aug 5, 2024 · Assigned by mitre

Description

The Salsa20 encryption algorithm in the Linux kernel before 4.14.8 does not correctly handle zero-length inputs, allowing a local attacker able to use the AF_ALG-based skcipher interface (CONFIG_CRYPTO_USER_API_SKCIPHER) to cause a denial of service (uninitialized-memory free and kernel crash) or have unspecified other impact by executing a crafted sequence of system calls that use the blkcipher_walk API. Both the generic implementation (crypto/salsa20_generic.c) and x86 implementation (arch/x86/crypto/salsa20_glue.c) of Salsa20 were vulnerable.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 linux 4.14.7-1 —
Debian 13 linux 4.14.7-1 —
Debian 12 linux 4.14.7-1 —
Debian 9 linux 4.9.65-3+deb9u1 DSA-4073-1
Debian 8 linux 3.16.51-3+deb8u1 DSA-4082-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Debian 7 linux 3.2.96-3 DLA-1232-1
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS linux-raspi-realtime No fix yet —
Ubuntu 22.04 LTS linux-riscv +2 No fix yet —
Ubuntu 20.04 LTS linux-gke +3 No fix yet —
Ubuntu 16.04 LTS linux 4.4.0-119.143 USN-3619-1
Ubuntu 16.04 LTS linux-aws 4.4.0-1054.63 USN-3619-1
Ubuntu 16.04 LTS linux-azure 4.13.0-1014.17 USN-3632-1
Ubuntu 16.04 LTS linux-gcp 4.13.0-1012.16 USN-3617-2
Ubuntu 16.04 LTS linux-hwe 4.13.0-41.46~16.04.1 USN-3617-2
Ubuntu 16.04 LTS linux-kvm 4.4.0-1020.25 USN-3619-1
Ubuntu 16.04 LTS linux-oem 4.13.0-1022.24 USN-3617-2
Ubuntu 16.04 LTS linux-raspi2 4.4.0-1086.94 USN-3619-1
Ubuntu 16.04 LTS linux-snapdragon 4.4.0-1088.93 USN-3619-1
Ubuntu 14.04 LTS linux 3.13.0-144.193 USN-3620-1
Ubuntu 14.04 LTS linux-aws 4.4.0-1016.16 USN-3619-2
Ubuntu 14.04 LTS linux-lts-xenial 4.4.0-119.143~14.04.1 USN-3619-2
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro FIPS-updates 16.04 LTS linux-fips 4.4.0-1008.10 —
ReleasePackageFixed inAdvisory
RHEL 7 kernel-alt +1 4.14.0-115.el7a RHSA-2018:2948
RHEL 7 kernel-rt +10 3.10.0-957.rt56.910.el7 RHSA-2018:3096
RHEL 7 perf +18 3.10.0-957.el7 RHSA-2018:3083, RHSA-2018:2948
RHEL 6 perf +15 2.6.32-754.18.2.el6 RHSA-2019:2473
ReleasePackageFixed inAdvisory
SLES 12 SP3 kernel-docs +4 4.4.103-6.38.1 SUSE-SU-2018:0010-1
SLES 12 SP2 kernel-docs +4 4.4.103-92.56.1 SUSE-SU-2018:0012-1
SLES 12 SP1 kernel-xen +3 3.12.74-60.64.82.1 SUSE-SU-2018:0525-1
SLES 12 SP1 kgraft-patch-SLE12-SP1_Update_25 1-2.9.1 SUSE-SU-2018:0525-1
SLES 12 kernel-ec2 +4 3.12.61-52.119.1 SUSE-SU-2018:0525-1, SUSE-SU-2018:0437-1
SLES 12 kgraft-patch-SLE12_Update_31 1-1.7.1 SUSE-SU-2018:0437-1
SLES 11 SP4 kernel-docs 3.0.101-108.21.2 SUSE-SU-2018:0011-1
SLES 11 SP4 kernel-ec2 +8 3.0.101-108.21.1 SUSE-SU-2018:0011-1
Show 11 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 11 SP3 kernel-ec2 +7 3.0.101-0.47.106.11.1 SUSE-SU-2018:0040-1
SLES for SAP 12 SP3 kernel-syms +2 4.4.103-6.38.1 SUSE-SU-2018:0010-1
SLES for SAP 12 SP2 kernel-syms +2 4.4.103-92.56.1 SUSE-SU-2018:0012-1
SLES for SAP 12 SP1 kernel-xen +3 3.12.74-60.64.82.1 SUSE-SU-2018:0525-1
SLES for SAP 12 SP1 kgraft-patch-SLE12-SP1_Update_25 1-2.9.1 SUSE-SU-2018:0525-1
SLES for SAP 11 SP4 kernel-ec2 +8 3.0.101-108.21.1 SUSE-SU-2018:0011-1
SLE Real Time 12 SP2 kernel-rt +3 4.4.104-24.1 SUSE-SU-2018:0213-1
SLE Real Time 11 SP4 kernel-rt +3 3.0.101.rt130-69.14.1 SUSE-SU-2018:0180-1
SLE Live Patching 12 SP3 kgraft-patch-SLE12-SP3_Update_7 1-4.5.1 SUSE-SU-2018:0010-1
SLE Live Patching 12 kgraft-patch-SLE12-SP2_Update_17 1-3.3.1 SUSE-SU-2018:0012-1
SUSE OpenStack Cloud 6 kernel-xen +3 3.12.74-60.64.82.1 SUSE-SU-2018:0525-1
SUSE OpenStack Cloud 6 kgraft-patch-SLE12-SP1_Update_25 1-2.9.1 SUSE-SU-2018:0525-1
SUSE Linux Enterprise Point of Sale 11 SP3 kernel-ec2 +6 3.0.101-0.47.106.11.1 SUSE-SU-2018:0040-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 dtrace-modules-3.8.13-118.28.1.el6uek +1 0.4.5-3.el6 ELSA-2019-4316, ELSA-2018-4300
Oracle Linux 7 dtrace-modules-3.8.13-118.28.1.el7uek +1 0.4.5-3.el7 ELSA-2019-4316, ELSA-2018-4300
Oracle Linux 7 kernel-uek +5 3.8.13-118.28.1.el7uek ELSA-2019-4316, ELSA-2018-4300, ELSA-2018-4299
Oracle Linux 7 perf +12 3.10.0-957.el7 ELSA-2018-3083

Advisories 24

References