CVE-2019-3701

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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
4.4 MEDIUM
LOCAL
LOW
HIGH
CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
mitreCNA
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 21%
VendorProductVersion
linuxlinux_kernel
𝑥
≤ 4.19.13
debiandebian_linux
8.0
canonicalubuntu_linux
14.04
canonicalubuntu_linux
16.04
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
linux
bullseye
5.10.223-1
fixed
bullseye (security)
5.10.226-1
fixed
bookworm
6.1.106-3
fixed
bookworm (security)
6.1.112-1
fixed
trixie
6.11.5-1
fixed
sid
6.11.6-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
linux
eoan
not-affected
disco
not-affected
cosmic
ignored
bionic
Fixed 4.15.0-60.67
released
xenial
Fixed 4.4.0-145.171
released
trusty
ignored
linux-aws
eoan
not-affected
disco
not-affected
cosmic
ignored
bionic
Fixed 4.15.0-1047.49
released
xenial
Fixed 4.4.0-1079.89
released
trusty
Fixed 4.4.0-1040.43
released
linux-aws-5.0
eoan
dne
disco
dne
bionic
not-affected
xenial
dne
trusty
dne
linux-aws-hwe
eoan
dne
disco
dne
cosmic
dne
bionic
dne
xenial
Fixed 4.15.0-1047.49~16.04.1
released
trusty
dne
linux-azure
eoan
not-affected
disco
not-affected
cosmic
ignored
bionic
Fixed 5.0.0-1014.14~18.04.1
released
xenial
Fixed 4.15.0-1056.61
released
trusty
ignored
linux-azure-5.3
eoan
dne
disco
dne
bionic
not-affected
xenial
dne
trusty
dne
linux-azure-edge
eoan
dne
disco
dne
cosmic
dne
bionic
Fixed 5.0.0-1014.14~18.04.1
released
xenial
Fixed 4.15.0-1056.61
released
trusty
dne
linux-euclid
eoan
dne
disco
dne
cosmic
dne
bionic
dne
xenial
ignored
trusty
dne
linux-flo
eoan
dne
disco
dne
cosmic
dne
bionic
dne
xenial
ignored
trusty
dne
linux-gcp
eoan
not-affected
disco
not-affected
cosmic
ignored
bionic
Fixed 4.15.0-1042.45
released
xenial
Fixed 4.15.0-1041.43
released
trusty
dne
linux-gcp-5.3
eoan
dne
disco
dne
bionic
not-affected
xenial
dne
trusty
dne
linux-gcp-edge
eoan
dne
disco
dne
cosmic
dne
bionic
Fixed 4.15.0-1042.45
released
xenial
dne
trusty
dne
linux-gke
eoan
dne
disco
dne
cosmic
dne
bionic
dne
xenial
ignored
trusty
dne
linux-gke-4.15
eoan
dne
disco
dne
bionic
Fixed 4.15.0-1041.43
released
xenial
dne
trusty
dne
linux-gke-5.0
eoan
dne
disco
dne
bionic
not-affected
xenial
dne
trusty
dne
linux-goldfish
eoan
dne
disco
dne
cosmic
dne
bionic
dne
xenial
ignored
trusty
dne
linux-grouper
eoan
dne
disco
dne
cosmic
dne
bionic
dne
xenial
dne
trusty
dne
linux-hwe
eoan
dne
disco
dne
cosmic
dne
bionic
Fixed 5.0.0-23.24~18.04.1
released
xenial
Fixed 4.15.0-60.67~16.04.1
released
trusty
dne
linux-hwe-edge
eoan
dne
disco
dne
cosmic
dne
bionic
not-affected
xenial
Fixed 4.15.0-60.67~16.04.1
released
trusty
dne
linux-kvm
eoan
not-affected
disco
not-affected
cosmic
ignored
bionic
Fixed 4.15.0-1043.43
released
xenial
Fixed 4.4.0-1043.49
released
trusty
dne
linux-lts-trusty
eoan
dne
disco
dne
cosmic
dne
bionic
dne
xenial
dne
trusty
dne
linux-lts-utopic
eoan
dne
disco
dne
cosmic
dne
bionic
dne
xenial
dne
trusty
ignored
linux-lts-vivid
eoan
dne
disco
dne
cosmic
dne
bionic
dne
xenial
dne
trusty
ignored
linux-lts-wily
eoan
dne
disco
dne
cosmic
dne
bionic
dne
xenial
dne
trusty
ignored
linux-lts-xenial
eoan
dne
disco
dne
cosmic
dne
bionic
dne
xenial
dne
trusty
Fixed 4.4.0-144.170~14.04.1
released
linux-maguro
eoan
dne
disco
dne
cosmic
dne
bionic
dne
xenial
dne
trusty
dne
linux-mako
eoan
dne
disco
dne
cosmic
dne
bionic
dne
xenial
ignored
trusty
dne
linux-manta
eoan
dne
disco
dne
cosmic
dne
bionic
dne
xenial
dne
trusty
dne
linux-oem
eoan
Fixed 4.15.0-1059.68
released
disco
ignored
cosmic
ignored
bionic
Fixed 4.15.0-1056.65
released
xenial
ignored
trusty
dne
linux-oem-5.4
eoan
dne
bionic
dne
xenial
dne
trusty
dne
linux-oem-osp1
eoan
not-affected
disco
not-affected
bionic
not-affected
xenial
dne
trusty
dne
linux-oracle
eoan
not-affected
disco
Fixed 5.0.0-1004.8
released
cosmic
ignored
bionic
Fixed 4.15.0-1022.25
released
xenial
Fixed 4.15.0-1022.25~16.04.1
released
trusty
dne
linux-oracle-5.0
eoan
dne
disco
dne
bionic
not-affected
xenial
dne
trusty
dne
linux-raspi2
eoan
not-affected
disco
not-affected
cosmic
ignored
bionic
Fixed 4.15.0-1044.47
released
xenial
Fixed 4.4.0-1106.114
released
trusty
dne
linux-raspi2-5.3
eoan
dne
bionic
not-affected
xenial
dne
trusty
dne
linux-snapdragon
eoan
dne
disco
not-affected
cosmic
dne
bionic
Fixed 4.15.0-1062.69
released
xenial
Fixed 4.4.0-1110.115
released
trusty
dne
References