Your submission was sent successfully! Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates about Ubuntu and upcoming events where you can meet our team.Close

CVE-2019-3701

Publication date 3 January 2019

Last updated 24 July 2024


Ubuntu priority

Negligible

Why this priority?

Cvss 3 Severity Score

4.4 · Medium

Score breakdown

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.

From the Ubuntu Security Team

Muyu Yu discovered that the CAN implementation in the Linux kernel in some situations did not properly restrict the field size when processing outgoing frames. A local attacker with CAP_NET_ADMIN privileges could use this to execute arbitrary code.

Read the notes from the security team

Status

Package Ubuntu Release Status
linux 19.10 eoan
Not affected
19.04 disco
Not affected
18.10 cosmic Ignored
18.04 LTS bionic
Fixed 4.15.0-60.67
16.04 LTS xenial
Fixed 4.4.0-145.171
14.04 LTS trusty Ignored
linux-aws 19.10 eoan
Not affected
19.04 disco
Not affected
18.10 cosmic Ignored
18.04 LTS bionic
Fixed 4.15.0-1047.49
16.04 LTS xenial
Fixed 4.4.0-1079.89
14.04 LTS trusty
Fixed 4.4.0-1040.43
linux-aws-5.0 19.10 eoan Not in release
19.04 disco Not in release
18.04 LTS bionic
Not affected
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
linux-aws-hwe 19.10 eoan Not in release
19.04 disco Not in release
18.10 cosmic Not in release
18.04 LTS bionic Not in release
16.04 LTS xenial
Fixed 4.15.0-1047.49~16.04.1
14.04 LTS trusty Not in release
linux-azure 19.10 eoan
Not affected
19.04 disco
Not affected
18.10 cosmic Ignored
18.04 LTS bionic
Fixed 5.0.0-1014.14~18.04.1
16.04 LTS xenial
Fixed 4.15.0-1056.61
14.04 LTS trusty Ignored
linux-azure-5.3 19.10 eoan Not in release
19.04 disco Not in release
18.04 LTS bionic
Not affected
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
linux-azure-edge 19.10 eoan Not in release
19.04 disco Not in release
18.10 cosmic Not in release
18.04 LTS bionic
Fixed 5.0.0-1014.14~18.04.1
16.04 LTS xenial
Fixed 4.15.0-1056.61
14.04 LTS trusty Not in release
linux-euclid 19.10 eoan Not in release
19.04 disco Not in release
18.10 cosmic Not in release
18.04 LTS bionic Not in release
16.04 LTS xenial Ignored
14.04 LTS trusty Not in release
linux-flo 19.10 eoan Not in release
19.04 disco Not in release
18.10 cosmic Not in release
18.04 LTS bionic Not in release
16.04 LTS xenial Ignored
14.04 LTS trusty Not in release
linux-gcp 19.10 eoan
Not affected
19.04 disco
Not affected
18.10 cosmic Ignored
18.04 LTS bionic
Fixed 4.15.0-1042.45
16.04 LTS xenial
Fixed 4.15.0-1041.43
14.04 LTS trusty Not in release
linux-gcp-5.3 19.10 eoan Not in release
19.04 disco Not in release
18.04 LTS bionic
Not affected
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
linux-gcp-edge 19.10 eoan Not in release
19.04 disco Not in release
18.10 cosmic Not in release
18.04 LTS bionic
Fixed 4.15.0-1042.45
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
linux-gke 19.10 eoan Not in release
19.04 disco Not in release
18.10 cosmic Not in release
18.04 LTS bionic Not in release
16.04 LTS xenial Ignored
14.04 LTS trusty Not in release
linux-gke-4.15 19.10 eoan Not in release
19.04 disco Not in release
18.04 LTS bionic
Fixed 4.15.0-1041.43
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
linux-gke-5.0 19.10 eoan Not in release
19.04 disco Not in release
18.04 LTS bionic
Not affected
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
linux-goldfish 19.10 eoan Not in release
19.04 disco Not in release
18.10 cosmic Not in release
18.04 LTS bionic Not in release
16.04 LTS xenial Ignored
14.04 LTS trusty Not in release
linux-grouper 19.10 eoan Not in release
19.04 disco Not in release
18.10 cosmic Not in release
18.04 LTS bionic Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
linux-hwe 19.10 eoan Not in release
19.04 disco Not in release
18.10 cosmic Not in release
18.04 LTS bionic
Fixed 5.0.0-23.24~18.04.1
16.04 LTS xenial
Fixed 4.15.0-60.67~16.04.1
14.04 LTS trusty Not in release
linux-hwe-edge 19.10 eoan Not in release
19.04 disco Not in release
18.10 cosmic Not in release
18.04 LTS bionic
Not affected
16.04 LTS xenial
Fixed 4.15.0-60.67~16.04.1
14.04 LTS trusty Not in release
linux-kvm 19.10 eoan
Not affected
19.04 disco
Not affected
18.10 cosmic Ignored
18.04 LTS bionic
Fixed 4.15.0-1043.43
16.04 LTS xenial
Fixed 4.4.0-1043.49
14.04 LTS trusty Not in release
linux-lts-trusty 19.10 eoan Not in release
19.04 disco Not in release
18.10 cosmic Not in release
18.04 LTS bionic Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
linux-lts-utopic 19.10 eoan Not in release
19.04 disco Not in release
18.10 cosmic Not in release
18.04 LTS bionic Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Ignored
linux-lts-vivid 19.10 eoan Not in release
19.04 disco Not in release
18.10 cosmic Not in release
18.04 LTS bionic Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Ignored
linux-lts-wily 19.10 eoan Not in release
19.04 disco Not in release
18.10 cosmic Not in release
18.04 LTS bionic Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Ignored
linux-lts-xenial 19.10 eoan Not in release
19.04 disco Not in release
18.10 cosmic Not in release
18.04 LTS bionic Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty
Fixed 4.4.0-144.170~14.04.1
linux-maguro 19.10 eoan Not in release
19.04 disco Not in release
18.10 cosmic Not in release
18.04 LTS bionic Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
linux-mako 19.10 eoan Not in release
19.04 disco Not in release
18.10 cosmic Not in release
18.04 LTS bionic Not in release
16.04 LTS xenial Ignored
14.04 LTS trusty Not in release
linux-manta 19.10 eoan Not in release
19.04 disco Not in release
18.10 cosmic Not in release
18.04 LTS bionic Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
linux-oem 19.10 eoan
Fixed 4.15.0-1059.68
19.04 disco Ignored
18.10 cosmic Ignored
18.04 LTS bionic
Fixed 4.15.0-1056.65
16.04 LTS xenial Ignored
14.04 LTS trusty Not in release
linux-oem-5.4 19.10 eoan Not in release
18.04 LTS bionic Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
linux-oem-osp1 19.10 eoan
Not affected
19.04 disco
Not affected
18.04 LTS bionic
Not affected
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
linux-oracle 19.10 eoan
Not affected
19.04 disco
Fixed 5.0.0-1004.8
18.10 cosmic Ignored
18.04 LTS bionic
Fixed 4.15.0-1022.25
16.04 LTS xenial
Fixed 4.15.0-1022.25~16.04.1
14.04 LTS trusty Not in release
linux-oracle-5.0 19.10 eoan Not in release
19.04 disco Not in release
18.04 LTS bionic
Not affected
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
linux-raspi2 19.10 eoan
Not affected
19.04 disco
Not affected
18.10 cosmic Ignored
18.04 LTS bionic
Fixed 4.15.0-1044.47
16.04 LTS xenial
Fixed 4.4.0-1106.114
14.04 LTS trusty Not in release
linux-raspi2-5.3 19.10 eoan Not in release
18.04 LTS bionic
Not affected
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
linux-snapdragon 19.10 eoan Not in release
19.04 disco
Not affected
18.10 cosmic Not in release
18.04 LTS bionic
Fixed 4.15.0-1062.69
16.04 LTS xenial
Fixed 4.4.0-1110.115
14.04 LTS trusty Not in release

Notes


tyhicks

The original CVE description that states that an unprivileged user can trigger a system crash is incorrect. Only the root user, from the init namespace, can trigger the system crash. Therefore, we'll prioritize this issue as negligible.

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
linux

Severity score breakdown

Parameter Value
Base score 4.4 · Medium
Attack vector Local
Attack complexity Low
Privileges required High
User interaction None
Scope Unchanged
Confidentiality None
Integrity impact None
Availability impact High
Vector CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H

References

Related Ubuntu Security Notices (USN)

    • USN-3932-1
    • Linux kernel vulnerabilities
    • 2 April 2019
    • USN-3932-2
    • Linux kernel (Xenial HWE) vulnerabilities
    • 2 April 2019
    • USN-4118-1
    • Linux kernel (AWS) vulnerabilities
    • 2 September 2019
    • USN-4115-1
    • Linux kernel vulnerabilities
    • 2 September 2019

Other references