In the Linux kernel before 5.4.16, a race condition in tty->disc_data handling in the slip and slcan line discipline could lead to a use-after-free, aka CID-0ace17d56824. This affects drivers/net/slip/slip.c and drivers/net/can/slcan.c.
https://bugzilla.suse.com/show_bug.cgi?id=1162002
https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.4.16
http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00008.html
http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00009.html
Source: MITRE
Published: 2020-06-18
Updated: 2022-05-03
Type: CWE-362
Base Score: 4.7
Vector: AV:L/AC:M/Au:N/C:N/I:N/A:C
Impact Score: 6.9
Exploitability Score: 3.4
Severity: MEDIUM
Base Score: 4.2
Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:N/A:H
Impact Score: 3.6
Exploitability Score: 0.6
Severity: MEDIUM