Skip to content
OpenAdvisories

Description

An issue was discovered in can_can_gw_rcv in net/can/gw.c in the Linux kernel through 4.19.13. The CAN frame modification rules allow bitwise logical operations that can be also applied to the can_dlc field. The privileged user "root" with CAP_NET_ADMIN can create a CAN frame modification rule that makes the data length code a higher value than the available CAN frame data size. In combination with a configured checksum calculation where the result is stored relatively to the end of the data (e.g. cgw_csum_xor_rel) the tail of the skb (e.g. frag_list pointer in skb_shared_info) can be rewritten which finally can cause a system crash. Because of a missing check, the CAN drivers may write arbitrary content beyond the data registers in the CAN controller's I/O memory when processing can-gw manipulated outgoing frames.

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.19.20-1 —
Debian 13 linux 4.19.20-1 —
Debian 12 linux 4.19.20-1 —
Debian 8 linux 3.16.64-1 DLA-1731-1
Debian 8 linux-4.9 4.9.168-1~deb8u1 DLA-1771-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-60.67 USN-4115-1
Ubuntu 18.04 LTS linux-aws 4.15.0-1047.49 USN-4118-1
Ubuntu 18.04 LTS linux-azure 5.0.0-1014.14~18.04.1 —
Ubuntu 18.04 LTS linux-gcp 4.15.0-1042.45 —
Ubuntu 18.04 LTS linux-gke-4.15 4.15.0-1041.43 USN-4115-1
Ubuntu 18.04 LTS linux-hwe 5.0.0-23.24~18.04.1 —
Ubuntu 18.04 LTS linux-kvm 4.15.0-1043.43 USN-4115-1
Ubuntu 18.04 LTS linux-oem 4.15.0-1056.65 —
Ubuntu 18.04 LTS linux-oracle 4.15.0-1022.25 USN-4115-1
Ubuntu 18.04 LTS linux-raspi2 4.15.0-1044.47 USN-4115-1
Ubuntu 18.04 LTS linux-snapdragon 4.15.0-1062.69 —
Ubuntu 16.04 LTS linux 4.4.0-145.171 USN-3932-1
Ubuntu 16.04 LTS linux-aws 4.4.0-1079.89 USN-3932-1
Ubuntu 16.04 LTS linux-aws-hwe 4.15.0-1047.49~16.04.1 USN-4118-1
Ubuntu 16.04 LTS linux-azure 4.15.0-1056.61 USN-4115-1
Ubuntu 16.04 LTS linux-gcp 4.15.0-1041.43 USN-4115-1
Ubuntu 16.04 LTS linux-hwe 4.15.0-60.67~16.04.1 USN-4115-1
Ubuntu 16.04 LTS linux-kvm 4.4.0-1043.49 USN-3932-1
Ubuntu 16.04 LTS linux-oracle 4.15.0-1022.25~16.04.1 USN-4115-1
Ubuntu 16.04 LTS linux-raspi2 4.4.0-1106.114 USN-3932-1
Ubuntu 16.04 LTS linux-snapdragon 4.4.0-1110.115 USN-3932-1
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 14.04 LTS linux-aws 4.4.0-1040.43 USN-3932-2
Ubuntu 14.04 LTS linux-lts-xenial 4.4.0-144.170~14.04.1 USN-3932-2
Ubuntu Pro FIPS 18.04 LTS linux-aws-fips +2 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-1008.10 —
Ubuntu Pro 14.04 LTS linux No fix yet —
Ubuntu Pro 14.04 LTS linux-azure 4.15.0-1059.64~14.04.1 —
ReleasePackageFixed inAdvisory
SLES 15 SP1 kernel-azure +2 4.12.14-8.30.1 SUSE-SU-2020:1087-1
SLES 15 SP1 kernel-docs +5 4.12.14-197.40.1 SUSE-SU-2020:1146-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.13.1 SUSE-SU-2020:1118-1
SLES 12 SP5 kernel-docs +4 4.12.14-122.20.1 SUSE-SU-2020:1142-1
SLES 12 SP4 kernel-azure +2 4.12.14-6.40.1 SUSE-SU-2020:1119-1
SLES 12 SP4 kernel-docs +4 4.12.14-95.51.1 SUSE-SU-2020:1141-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 19 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.13.1 SUSE-SU-2020:1118-1
SLES for SAP 12 SP5 kernel-syms +2 4.12.14-122.20.1 SUSE-SU-2020:1142-1
SLES for SAP 12 SP4 kernel-azure +2 4.12.14-6.40.1 SUSE-SU-2020:1119-1
SLES for SAP 12 SP4 kernel-syms +2 4.12.14-95.51.1 SUSE-SU-2020:1141-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 SP5 kernel-rt +3 4.12.14-10.8.1 SUSE-SU-2020:1084-1
SLE Real Time 12 SP4 kernel-rt +3 4.12.14-8.18.1 SUSE-SU-2020:1085-1
SLE Live Patching 15 SP1 kernel-default 4.12.14-197.40.1 SUSE-SU-2020:1146-1
SLE Live Patching 15 SP1 kernel-livepatch-SLE15-SP1_Update_11 1-3.3.1 SUSE-SU-2020:1146-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.20.1 SUSE-SU-2020:1142-1
SLE Live Patching 12 SP5 kgraft-patch-SLE12-SP5_Update_4 1-8.3.1 SUSE-SU-2020:1142-1
SLE Live Patching 12 SP4 kernel-default 4.12.14-95.51.1 SUSE-SU-2020:1141-1
SLE Live Patching 12 SP4 kgraft-patch-SLE12-SP4_Update_13 1-6.3.1 SUSE-SU-2020:1141-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.23.1 SUSE-SU-2020:1123-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.48.1 openSUSE-SU-2020:0543-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 dtrace-modules-3.8.13-118.32.1.el6uek 0.4.5-3.el6 ELSA-2019-4600
Oracle Linux 7 dtrace-modules-3.8.13-118.32.1.el7uek 0.4.5-3.el7 ELSA-2019-4600
Oracle Linux 7 kernel-uek +5 3.8.13-118.32.1.el7uek ELSA-2019-4612, ELSA-2019-4600, ELSA-2019-4596
Oracle Linux 7 perf +5 4.14.35-1844.4.5.el7uek ELSA-2019-4612

Advisories 22

References