CVE-2021-47457

EUVD-2021-34462
In the Linux kernel, the following vulnerability has been resolved:

can: isotp: isotp_sendmsg(): add result check for wait_event_interruptible()

Using wait_event_interruptible() to wait for complete transmission,
but do not check the result of wait_event_interruptible() which can be
interrupted. It will result in TX buffer has multiple accessors and
the later process interferes with the previous process.

Following is one of the problems reported by syzbot.

=============================================================
WARNING: CPU: 0 PID: 0 at net/can/isotp.c:840 isotp_tx_timer_handler+0x2e0/0x4c0
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.13.0-rc7+ #68
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.13.0-1ubuntu1 04/01/2014
RIP: 0010:isotp_tx_timer_handler+0x2e0/0x4c0
Call Trace:
 <IRQ>
 ? isotp_setsockopt+0x390/0x390
 __hrtimer_run_queues+0xb8/0x610
 hrtimer_run_softirq+0x91/0xd0
 ? rcu_read_lock_sched_held+0x4d/0x80
 __do_softirq+0xe8/0x553
 irq_exit_rcu+0xf8/0x100
 sysvec_apic_timer_interrupt+0x9e/0xc0
 </IRQ>
 asm_sysvec_apic_timer_interrupt+0x12/0x20

Add result check for wait_event_interruptible() in isotp_sendmsg()
to avoid multiple accessers for tx buffer.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
5.5 MEDIUM
LOCAL
LOW
LOW
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 10%
Affected Products (NVD)
VendorProductVersion
linuxlinux_kernel
5.10 ≤
𝑥
< 5.10.76
linuxlinux_kernel
5.11 ≤
𝑥
< 5.14.15
linuxlinux_kernel
5.15:rc1
linuxlinux_kernel
5.15:rc2
linuxlinux_kernel
5.15:rc3
linuxlinux_kernel
5.15:rc4
linuxlinux_kernel
5.15:rc5
linuxlinux_kernel
5.15:rc6
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
linux
bookworm
6.1.106-3
fixed
bookworm (security)
6.1.112-1
fixed
bullseye
5.10.223-1
fixed
bullseye (security)
5.10.226-1
fixed
buster
not-affected
sid
6.11.6-1
fixed
trixie
6.11.5-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
linux
bionic
not-affected
focal
not-affected
jammy
not-affected
mantic
not-affected
noble
not-affected
trusty
not-affected
xenial
not-affected
linux-allwinner-5.19
focal
dne
jammy
ignored
mantic
dne
noble
dne
linux-aws
bionic
not-affected
focal
not-affected
jammy
not-affected
mantic
not-affected
noble
not-affected
trusty
not-affected
xenial
not-affected
linux-aws-5.0
bionic
ignored
focal
dne
jammy
dne
mantic
dne
noble
dne
linux-aws-5.11
focal
ignored
jammy
dne
mantic
dne
noble
dne
linux-aws-5.13
focal
ignored
jammy
dne
mantic
dne
noble
dne
linux-aws-5.15
focal
not-affected
jammy
dne
mantic
dne
noble
dne
linux-aws-5.19
focal
dne
jammy
ignored
mantic
dne
noble
dne
linux-aws-5.3
bionic
ignored
focal
dne
jammy
dne
mantic
dne
noble
dne
linux-aws-5.4
bionic
not-affected
focal
dne
jammy
dne
mantic
dne
noble
dne
linux-aws-5.8
focal
ignored
jammy
dne
mantic
dne
noble
dne
linux-aws-6.2
focal
dne
jammy
ignored
mantic
dne
noble
dne
linux-aws-6.5
focal
dne
jammy
not-affected
mantic
dne
noble
dne
linux-aws-fips
focal
dne
jammy
dne
mantic
dne
noble
dne
linux-aws-hwe
focal
dne
jammy
dne
mantic
dne
noble
dne
xenial
not-affected
linux-azure
bionic
ignored
focal
not-affected
jammy
not-affected
mantic
not-affected
noble
not-affected
trusty
not-affected
xenial
not-affected
linux-azure-4.15
bionic
not-affected
focal
dne
jammy
dne
mantic
dne
noble
dne
linux-azure-5.11
focal
ignored
jammy
dne
mantic
dne
noble
dne
linux-azure-5.13
focal
ignored
jammy
dne
mantic
dne
noble
dne
linux-azure-5.15
focal
not-affected
jammy
dne
mantic
dne
noble
dne
linux-azure-5.19
focal
dne
jammy
ignored
mantic
dne
noble
dne
linux-azure-5.3
bionic
ignored
focal
dne
jammy
dne
mantic
dne
noble
dne
linux-azure-5.4
bionic
not-affected
focal
dne
jammy
dne
mantic
dne
noble
dne
linux-azure-5.8
focal
ignored
jammy
dne
mantic
dne
noble
dne
linux-azure-6.2
focal
dne
jammy
ignored
mantic
dne
noble
dne
linux-azure-6.5
focal
dne
jammy
not-affected
mantic
dne
noble
dne
linux-azure-edge
bionic
ignored
focal
dne
jammy
dne
mantic
dne
noble
dne
linux-azure-fde
focal
ignored
jammy
not-affected
mantic
dne
noble
dne
linux-azure-fde-5.15
focal
not-affected
jammy
dne
mantic
dne
noble
dne
linux-azure-fde-5.19
focal
dne
jammy
ignored
mantic
dne
noble
dne
linux-azure-fde-6.2
focal
dne
jammy
ignored
mantic
dne
noble
dne
linux-azure-fips
focal
dne
jammy
dne
mantic
dne
noble
dne
linux-bluefield
focal
not-affected
jammy
dne
mantic
dne
noble
dne
linux-fips
focal
dne
jammy
dne
mantic
dne
noble
dne
linux-gcp
bionic
ignored
focal
not-affected
jammy
not-affected
mantic
not-affected
noble
not-affected
xenial
not-affected
linux-gcp-4.15
bionic
not-affected
focal
dne
jammy
dne
mantic
dne
noble
dne
linux-gcp-5.11
focal
ignored
jammy
dne
mantic
dne
noble
dne
linux-gcp-5.13
focal
ignored
jammy
dne
mantic
dne
noble
dne
linux-gcp-5.15
focal
not-affected
jammy
dne
mantic
dne
noble
dne
linux-gcp-5.19
focal
dne
jammy
ignored
mantic
dne
noble
dne
linux-gcp-5.3
bionic
ignored
focal
dne
jammy
dne
mantic
dne
noble
dne
linux-gcp-5.4
bionic
not-affected
focal
dne
jammy
dne
mantic
dne
noble
dne
linux-gcp-5.8
focal
ignored
jammy
dne
mantic
dne
noble
dne
linux-gcp-6.2
focal
dne
jammy
ignored
mantic
dne
noble
dne
linux-gcp-6.5
focal
dne
jammy
not-affected
mantic
dne
noble
dne
linux-gcp-fips
focal
dne
jammy
dne
mantic
dne
noble
dne
linux-gke
focal
ignored
jammy
not-affected
mantic
dne
noble
not-affected
linux-gke-4.15
bionic
ignored
focal
dne
jammy
dne
mantic
dne
noble
dne
linux-gke-5.15
focal
ignored
jammy
dne
mantic
dne
noble
dne
linux-gke-5.4
bionic
ignored
focal
dne
jammy
dne
mantic
dne
noble
dne
linux-gkeop
focal
not-affected
jammy
not-affected
mantic
dne
noble
dne
linux-gkeop-5.15
focal
not-affected
jammy
dne
mantic
dne
noble
dne
linux-gkeop-5.4
bionic
ignored
focal
dne
jammy
dne
mantic
dne
noble
dne
linux-hwe
bionic
ignored
focal
dne
jammy
dne
mantic
dne
noble
dne
xenial
not-affected
linux-hwe-5.11
focal
ignored
jammy
dne
mantic
dne
noble
dne
linux-hwe-5.13
focal
ignored
jammy
dne
mantic
dne
noble
dne
linux-hwe-5.15
focal
not-affected
jammy
dne
mantic
dne
noble
dne
linux-hwe-5.19
focal
dne
jammy
ignored
mantic
dne
noble
dne
linux-hwe-5.4
bionic
not-affected
focal
dne
jammy
dne
mantic
dne
noble
dne
linux-hwe-5.8
focal
ignored
jammy
dne
mantic
dne
noble
dne
linux-hwe-6.2
focal
dne
jammy
ignored
mantic
dne
noble
dne
linux-hwe-6.5
focal
dne
jammy
not-affected
mantic
dne
noble
dne
linux-hwe-edge
bionic
ignored
focal
dne
jammy
dne
mantic
dne
noble
dne
xenial
ignored
linux-ibm
focal
not-affected
jammy
not-affected
mantic
ignored
noble
not-affected
linux-ibm-5.15
focal
not-affected
jammy
dne
mantic
dne
noble
dne
linux-ibm-5.4
bionic
not-affected
focal
dne
jammy
dne
mantic
dne
noble
dne
linux-intel
bionic
dne
focal
dne
jammy
dne
mantic
dne
noble
not-affected
trusty
dne
xenial
dne
linux-intel-5.13
focal
ignored
jammy
dne
mantic
dne
noble
dne
linux-intel-iotg
focal
dne
jammy
not-affected
mantic
dne
noble
dne
linux-intel-iotg-5.15
focal
not-affected
jammy
dne
mantic
dne
noble
dne
linux-iot
focal
not-affected
jammy
dne
mantic
dne
noble
dne
linux-kvm
bionic
not-affected
focal
not-affected
jammy
not-affected
mantic
dne
noble
dne
xenial
not-affected
linux-laptop
focal
dne
jammy
dne
mantic
not-affected
noble
dne
linux-lowlatency
focal
dne
jammy
not-affected
mantic
not-affected
noble
not-affected
linux-lowlatency-hwe-5.15
focal
not-affected
jammy
dne
mantic
dne
noble
dne
linux-lowlatency-hwe-5.19
focal
dne
jammy
ignored
mantic
dne
noble
dne
linux-lowlatency-hwe-6.2
focal
dne
jammy
ignored
mantic
dne
noble
dne
linux-lowlatency-hwe-6.5
focal
dne
jammy
not-affected
mantic
dne
noble
dne
linux-lts-xenial
focal
dne
jammy
dne
mantic
dne
noble
dne
trusty
not-affected
linux-nvidia
focal
dne
jammy
not-affected
mantic
dne
noble
not-affected
linux-nvidia-6.2
focal
dne
jammy
ignored
mantic
dne
noble
dne
linux-nvidia-6.5
focal
dne
jammy
not-affected
mantic
dne
noble
dne
linux-nvidia-6.8
bionic
dne
focal
dne
jammy
not-affected
noble
dne
trusty
dne
xenial
dne
linux-nvidia-lowlatency
bionic
dne
focal
dne
jammy
dne
noble
not-affected
trusty
dne
xenial
dne
linux-oem
bionic
ignored
focal
dne
jammy
dne
mantic
dne
noble
dne
linux-oem-5.10
focal
ignored
jammy
dne
mantic
dne
noble
dne
linux-oem-5.13
focal
ignored
jammy
dne
mantic
dne
noble
dne
linux-oem-5.14
focal
ignored
jammy
dne
mantic
dne
noble
dne
linux-oem-5.17
focal
dne
jammy
ignored
mantic
dne
noble
dne
linux-oem-5.6
focal
ignored
jammy
dne
mantic
dne
noble
dne
linux-oem-6.0
focal
dne
jammy
ignored
mantic
dne
noble
dne
linux-oem-6.1
focal
dne
jammy
ignored
mantic
dne
noble
dne
linux-oem-6.5
focal
dne
jammy
not-affected
mantic
dne
noble
dne
linux-oem-6.8
bionic
dne
focal
dne
jammy
dne
mantic
dne
noble
not-affected
trusty
dne
xenial
dne
linux-oracle
bionic
not-affected
focal
not-affected
jammy
not-affected
mantic
not-affected
noble
not-affected
xenial
not-affected
linux-oracle-5.0
bionic
ignored
focal
dne
jammy
dne
mantic
dne
noble
dne
linux-oracle-5.11
focal
ignored
jammy
dne
mantic
dne
noble
dne
linux-oracle-5.13
focal
ignored
jammy
dne
mantic
dne
noble
dne
linux-oracle-5.15
focal
not-affected
jammy
dne
mantic
dne
noble
dne
linux-oracle-5.3
bionic
ignored
focal
dne
jammy
dne
mantic
dne
noble
dne
linux-oracle-5.4
bionic
not-affected
focal
dne
jammy
dne
mantic
dne
noble
dne
linux-oracle-5.8
focal
ignored
jammy
dne
mantic
dne
noble
dne
linux-oracle-6.5
focal
dne
jammy
not-affected
mantic
dne
noble
dne
linux-raspi
focal
not-affected
jammy
not-affected
mantic
not-affected
noble
not-affected
linux-raspi-5.4
bionic
not-affected
focal
dne
jammy
dne
mantic
dne
noble
dne
linux-raspi2
focal
ignored
jammy
dne
mantic
dne
noble
dne
linux-riscv
focal
ignored
jammy
ignored
mantic
not-affected
noble
not-affected
linux-riscv-5.11
focal
ignored
jammy
dne
mantic
dne
noble
dne
linux-riscv-5.15
focal
not-affected
jammy
dne
mantic
dne
noble
dne
linux-riscv-5.19
focal
dne
jammy
ignored
mantic
dne
noble
dne
linux-riscv-5.8
focal
ignored
jammy
dne
mantic
dne
noble
dne
linux-riscv-6.5
focal
dne
jammy
not-affected
mantic
dne
noble
dne
linux-starfive
focal
dne
jammy
dne
mantic
not-affected
noble
dne
linux-starfive-5.19
focal
dne
jammy
ignored
mantic
dne
noble
dne
linux-starfive-6.2
focal
dne
jammy
ignored
mantic
dne
noble
dne
linux-starfive-6.5
focal
dne
jammy
not-affected
mantic
dne
noble
dne
linux-xilinx-zynqmp
focal
not-affected
jammy
not-affected
mantic
dne
noble
dne
openSUSE logo
openSUSE / SLES Releases
openSUSE Product
Release
kernel-64kb
suse enterprise desktop 15 SP5
5.14.21-150500.55.68.1
fixed
suse enterprise sap 15 SP5
5.14.21-150500.55.68.1
fixed
suse enterprise server 15 SP4
5.14.21-150400.24.122.2
fixed
suse enterprise server 15 SP5
5.14.21-150500.55.68.1
fixed
kernel-azure
suse enterprise sap 15 SP5
5.14.21-150500.33.57.1
fixed
suse enterprise server 15 SP5
5.14.21-150500.33.57.1
fixed
kernel-default
suse enterprise desktop 15 SP5
5.14.21-150500.55.68.1
fixed
suse enterprise sap 15 SP5
5.14.21-150500.55.68.1
fixed
suse enterprise server 15 SP4
5.14.21-150400.24.122.2
fixed
suse enterprise server 15 SP5
5.14.21-150500.55.68.1
fixed
kernel-default-base
suse enterprise desktop 15 SP5
5.14.21-150500.55.68.1.150500.6.31.1
fixed
suse enterprise sap 15 SP5
5.14.21-150500.55.68.1.150500.6.31.1
fixed
suse enterprise server 15 SP4
5.14.21-150400.24.122.2.150400.24.58.2
fixed
suse enterprise server 15 SP5
5.14.21-150500.55.68.1.150500.6.31.1
fixed
kernel-docs
suse enterprise desktop 15 SP5
5.14.21-150500.55.68.1
fixed
suse enterprise sap 15 SP5
5.14.21-150500.55.68.1
fixed
suse enterprise server 15 SP4
5.14.21-150400.24.122.2
fixed
suse enterprise server 15 SP5
5.14.21-150500.55.68.1
fixed
kernel-macros
suse enterprise desktop 15 SP5
5.14.21-150500.55.68.1
fixed
suse enterprise sap 15 SP5
5.14.21-150500.55.68.1
fixed
suse enterprise server 15 SP4
5.14.21-150400.24.122.1
fixed
suse enterprise server 15 SP5
5.14.21-150500.55.68.1
fixed
kernel-obs-build
suse enterprise desktop 15 SP5
5.14.21-150500.55.68.1
fixed
suse enterprise sap 15 SP5
5.14.21-150500.55.68.1
fixed
suse enterprise server 15 SP4
5.14.21-150400.24.122.2
fixed
suse enterprise server 15 SP5
5.14.21-150500.55.68.1
fixed
kernel-source
suse enterprise desktop 15 SP5
5.14.21-150500.55.68.1
fixed
suse enterprise sap 15 SP5
5.14.21-150500.55.68.1
fixed
suse enterprise server 15 SP4
5.14.21-150400.24.122.1
fixed
suse enterprise server 15 SP5
5.14.21-150500.55.68.1
fixed
kernel-source-azure
suse enterprise sap 15 SP5
5.14.21-150500.33.57.1
fixed
suse enterprise server 15 SP5
5.14.21-150500.33.57.1
fixed
kernel-syms
suse enterprise desktop 15 SP5
5.14.21-150500.55.68.1
fixed
suse enterprise sap 15 SP5
5.14.21-150500.55.68.1
fixed
suse enterprise server 15 SP4
5.14.21-150400.24.122.1
fixed
suse enterprise server 15 SP5
5.14.21-150500.55.68.1
fixed
kernel-syms-azure
suse enterprise sap 15 SP5
5.14.21-150500.33.57.1
fixed
suse enterprise server 15 SP5
5.14.21-150500.33.57.1
fixed
kernel-zfcpdump
suse enterprise desktop 15 SP5
5.14.21-150500.55.68.1
fixed
suse enterprise sap 15 SP5
5.14.21-150500.55.68.1
fixed
suse enterprise server 15 SP4
5.14.21-150400.24.122.2
fixed
suse enterprise server 15 SP5
5.14.21-150500.55.68.1
fixed
reiserfs-kmp-default
suse enterprise server 15 SP4
5.14.21-150400.24.122.2
fixed
Red Hat logo
Red Hat Enterprise Linux Releases
Red Hat Product
Release
bpftool
RHEL 9
0:7.4.0-503.11.1.el9_5
fixed
kernel
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-64k
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-64k-core
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-64k-debug
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-64k-debug-core
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-64k-debug-devel
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-64k-debug-devel-matched
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-64k-debug-modules
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-64k-debug-modules-core
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-64k-debug-modules-extra
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-64k-devel
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-64k-devel-matched
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-64k-modules
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-64k-modules-core
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-64k-modules-extra
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-abi-stablelists
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-core
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-debug
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-debug-core
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-debug-devel
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-debug-devel-matched
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-debug-modules
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-debug-modules-core
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-debug-modules-extra
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-debug-uki-virt
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-devel
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-devel-matched
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-doc
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-modules
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-modules-core
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-modules-extra
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-rt
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-rt-core
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-rt-debug
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-rt-debug-core
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-rt-debug-devel
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-rt-debug-kvm
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-rt-debug-modules
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-rt-debug-modules-core
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-rt-debug-modules-extra
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-rt-devel
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-rt-kvm
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-rt-modules
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-rt-modules-core
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-rt-modules-extra
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-tools
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-tools-libs
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-tools-libs-devel
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-uki-virt
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-uki-virt-addons
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-zfcpdump
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-zfcpdump-core
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-zfcpdump-devel
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-zfcpdump-devel-matched
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-zfcpdump-modules
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-zfcpdump-modules-core
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
kernel-zfcpdump-modules-extra
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
libperf
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
perf
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
python3-perf
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
rtla
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed
rv
RHEL 9
0:5.14.0-503.11.1.el9_5
fixed