Skip to content
OpenAdvisories

Description

In the Linux kernel before 5.2, a setxattr operation, after a mount of a crafted ext4 image, can cause a slab-out-of-bounds write access because of an ext4_xattr_set_entry use-after-free in fs/ext4/xattr.c when a large old_size value is used in a memset call, aka CID-345c0dbf3a30.

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 5.2.6-1 —
Debian 13 linux 5.2.6-1 —
Debian 12 linux 5.2.6-1 —
Debian 9 linux 4.9.210-1+deb9u1 DSA-4698-1
Debian 8 linux 3.16.84-1 DLA-2241-1
Debian 8 linux-4.9 4.9.210-1+deb9u1~deb8u1 DLA-2242-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 +2 No fix yet —
Ubuntu 18.04 LTS linux 4.15.0-66.75 —
Ubuntu 18.04 LTS linux-aws 4.15.0-1052.54 —
Ubuntu 18.04 LTS linux-gcp +5 No fix yet —
Ubuntu 18.04 LTS linux-gke-4.15 4.15.0-1046.49 —
Ubuntu 18.04 LTS linux-gke-5.0 5.0.0-1023.23~18.04.2 —
Ubuntu 18.04 LTS linux-hwe 5.0.0-32.34~18.04.2 —
Ubuntu 18.04 LTS linux-hwe-edge 5.3.0-19.20~18.04.2 —
Ubuntu 18.04 LTS linux-kvm 4.15.0-1048.48 —
Ubuntu 18.04 LTS linux-oem 4.15.0-1059.68 —
Ubuntu 18.04 LTS linux-oem-osp1 5.0.0-1025.28 —
Ubuntu 18.04 LTS linux-oracle 4.15.0-1027.30 —
Ubuntu 18.04 LTS linux-raspi2 4.15.0-1049.53 —
Ubuntu 18.04 LTS linux-snapdragon 4.15.0-1066.73 —
Ubuntu 16.04 LTS linux 4.4.0-184.214 USN-4391-1
Ubuntu 16.04 LTS linux-aws 4.4.0-1109.120 USN-4391-1
Ubuntu 16.04 LTS linux-aws-hwe 4.15.0-1052.54~16.04.1 —
Ubuntu 16.04 LTS linux-azure 4.15.0-1061.66 —
Ubuntu 16.04 LTS linux-gcp 4.15.0-1047.50 —
Ubuntu 16.04 LTS linux-hwe 4.15.0-66.75~16.04.1 —
Ubuntu 16.04 LTS linux-hwe-edge No fix yet —
Ubuntu 16.04 LTS linux-kvm 4.4.0-1075.82 USN-4391-1
Ubuntu 16.04 LTS linux-oracle 4.15.0-1027.30~16.04.1 —
Ubuntu 16.04 LTS linux-raspi2 4.4.0-1134.143 USN-4391-1
Ubuntu 16.04 LTS linux-snapdragon 4.4.0-1138.146 USN-4391-1
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro FIPS 18.04 LTS linux-aws-fips +2 No fix yet —
Ubuntu Pro FIPS 16.04 LTS linux-fips No fix yet —
Ubuntu Pro FIPS-updates 18.04 LTS linux-aws-fips 4.15.0-2018.18 —
Ubuntu Pro FIPS-updates 18.04 LTS linux-azure-fips 4.15.0-2006.7 —
Ubuntu Pro FIPS-updates 16.04 LTS linux-fips 4.4.0-1041.46 —
Ubuntu Pro 20.04 LTS linux-azure-fde-5.15 5.15.0-1114.123~20.04.1 —
Ubuntu Pro 14.04 LTS linux No fix yet —
Ubuntu Pro 14.04 LTS linux-aws 4.4.0-1073.77 USN-4391-1
Ubuntu Pro 14.04 LTS linux-azure 4.15.0-1061.66~14.04.1 —
Ubuntu Pro 14.04 LTS linux-lts-xenial 4.4.0-184.214~14.04.1 USN-4391-1
ReleasePackageFixed inAdvisory
RHEL 8 kernel-rt +12 4.18.0-240.rt7.54.el8 RHSA-2020:4609
RHEL 8 perf +26 4.18.0-240.el8 RHSA-2020:4431

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 kernel-tools-libs-devel 4.18.0-240.el8 ALSA-2020:4431
ReleasePackageFixed inAdvisory
SLES 15 SP1 kernel-azure +2 4.12.14-8.27.1 SUSE-SU-2020:0511-1
SLES 15 SP1 kernel-docs +5 4.12.14-197.34.1 SUSE-SU-2020:0560-1
SLES 15 kernel-docs +6 4.12.14-150.52.1 SUSE-SU-2020:1663-1
SLES 12 SP5 kernel-azure +2 4.12.14-16.7.1 SUSE-SU-2020:0093-1
SLES 12 SP5 kernel-docs 4.12.14-122.17.2 SUSE-SU-2020:0580-1
SLES 12 SP5 kernel-syms +3 4.12.14-122.17.1 SUSE-SU-2020:0580-1
SLES 12 SP4 kernel-azure +2 4.12.14-6.37.1 SUSE-SU-2020:0559-1
SLES 12 SP4 kernel-docs +4 4.12.14-95.48.1 SUSE-SU-2020:0584-1
SLES 12 SP3 kernel-syms +2 4.4.180-94.116.1 SUSE-SU-2020:1275-1
SLES 12 SP3 kgraft-patch-SLE12-SP3_Update_31 1-4.3.1 SUSE-SU-2020:1275-1
Show 18 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP2 kernel-syms +2 4.4.121-92.129.1 SUSE-SU-2020:1255-1
SLES 12 SP2 kgraft-patch-SLE12-SP2_Update_34 1-3.3.1 SUSE-SU-2020:1255-1
SLES for SAP 15 kernel-docs +5 4.12.14-150.52.1 SUSE-SU-2020:1663-1
SLES for SAP 12 SP5 kernel-azure +2 4.12.14-16.7.1 SUSE-SU-2020:0093-1
SLES for SAP 12 SP5 kernel-syms +2 4.12.14-122.17.1 SUSE-SU-2020:0580-1
SLES for SAP 12 SP4 kernel-azure +2 4.12.14-6.37.1 SUSE-SU-2020:0559-1
SLES for SAP 12 SP4 kernel-syms +2 4.12.14-95.48.1 SUSE-SU-2020:0584-1
SLES for SAP 12 SP3 kernel-syms +2 4.4.180-94.116.1 SUSE-SU-2020:1275-1
SLES for SAP 12 SP3 kgraft-patch-SLE12-SP3_Update_31 1-4.3.1 SUSE-SU-2020:1275-1
SLES for SAP 12 SP2 kernel-syms +2 4.4.121-92.129.1 SUSE-SU-2020:1255-1
SLES for SAP 12 SP2 kgraft-patch-SLE12-SP2_Update_34 1-3.3.1 SUSE-SU-2020:1255-1
SLE Real Time 12 SP4 kernel-rt +3 4.12.14-8.12.1 SUSE-SU-2020:0599-1
SLE Live Patching 15 SP1 kernel-default 4.12.14-197.34.1 SUSE-SU-2020:0560-1
SLE Live Patching 15 SP1 kernel-livepatch-SLE15-SP1_Update_9 1-3.5.1 SUSE-SU-2020:0560-1
SLE Live Patching 15 kernel-default 4.12.14-150.52.1 SUSE-SU-2020:1663-1
SLE Live Patching 15 kernel-livepatch-SLE15_Update_18 1-1.5.1 SUSE-SU-2020:1663-1
SLE Live Patching 12 SP5 kernel-default 4.12.14-122.17.1 SUSE-SU-2020:0580-1
SLE Live Patching 12 SP5 kgraft-patch-SLE12-SP5_Update_3 1-8.5.1 SUSE-SU-2020:0580-1
SLE Live Patching 12 SP4 kernel-default 4.12.14-95.48.1 SUSE-SU-2020:0584-1
SLE Live Patching 12 SP4 kgraft-patch-SLE12-SP4_Update_12 1-6.3.1 SUSE-SU-2020:0584-1
SLE HPC 15 kernel-docs +5 4.12.14-150.52.1 SUSE-SU-2020:1663-1
SUSE Real Time Module 15 SP1 kernel-rt +3 4.12.14-14.17.1 SUSE-SU-2020:0613-1
SUSE OpenStack Cloud Crowbar 8 kernel-syms +2 4.4.180-94.116.1 SUSE-SU-2020:1275-1
SUSE OpenStack Cloud Crowbar 8 kgraft-patch-SLE12-SP3_Update_31 1-4.3.1 SUSE-SU-2020:1275-1
SUSE OpenStack Cloud 8 kernel-syms +2 4.4.180-94.116.1 SUSE-SU-2020:1275-1
SUSE OpenStack Cloud 8 kgraft-patch-SLE12-SP3_Update_31 1-4.3.1 SUSE-SU-2020:1275-1
SUSE OpenStack Cloud 7 kernel-syms +2 4.4.121-92.129.1 SUSE-SU-2020:1255-1
SUSE OpenStack Cloud 7 kgraft-patch-SLE12-SP2_Update_34 1-3.3.1 SUSE-SU-2020:1255-1
SUSE HPE Helion OpenStack 8 kernel-syms +2 4.4.180-94.116.1 SUSE-SU-2020:1275-1
SUSE HPE Helion OpenStack 8 kgraft-patch-SLE12-SP3_Update_31 1-4.3.1 SUSE-SU-2020:1275-1
SUSE Enterprise Storage 5 kernel-syms +2 4.4.180-94.116.1 SUSE-SU-2020:1275-1
SUSE Enterprise Storage 5 kgraft-patch-SLE12-SP3_Update_31 1-4.3.1 SUSE-SU-2020:1275-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.1 kernel-docs +8 4.12.14-lp151.28.40.1 openSUSE-SU-2020:0336-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 kernel-livepatch-4.14.181-140.257 1.0-0.amzn2 ALAS2-2020-1431
Amazon Linux 2 perf +8 4.14.181-140.257.amzn2 ALAS2-2020-1431

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 perf +19 4.18.0-240.el8 ELSA-2020-4431

Advisories 21

References