Skip to content
OpenAdvisories

Description

nbd_add_socket in drivers/block/nbd.c in the Linux kernel through 5.10.12 has an ndb_queue_rq use-after-free that could be triggered by local attackers (with access to the nbd device) via an I/O request at a certain point during device setup, aka CID-b98e762e3d71.

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 5.10.13-1 —
Debian 13 linux 5.10.13-1 —
Debian 12 linux 5.10.13-1 —
Debian 9 linux-4.19 4.19.181-1~deb9u1 DLA-2610-1
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS linux-raspi-realtime No fix yet —
Ubuntu 22.04 LTS linux-realtime +1 No fix yet —
Ubuntu 20.04 LTS linux 5.4.0-71.79 USN-4909-1
Ubuntu 20.04 LTS linux-aws 5.4.0-1043.45 USN-4909-1
Ubuntu 20.04 LTS linux-azure 5.4.0-1044.46 USN-4909-1
Ubuntu 20.04 LTS linux-gcp 5.4.0-1041.44 USN-4909-1
Ubuntu 20.04 LTS linux-gke 5.4.0-1041.43 —
Ubuntu 20.04 LTS linux-gkeop 5.4.0-1013.14 USN-4909-1
Ubuntu 20.04 LTS linux-hwe-5.8 5.8.0-49.55~20.04.1 USN-4910-1
Ubuntu 20.04 LTS linux-kvm 5.4.0-1037.38 USN-4909-1
Ubuntu 20.04 LTS linux-oem-5.10 5.10.0-1017.18 USN-4884-1
Ubuntu 20.04 LTS linux-oracle 5.4.0-1042.45 USN-4909-1
Ubuntu 20.04 LTS linux-raspi 5.4.0-1033.36 USN-4909-1
Ubuntu 20.04 LTS linux-riscv +2 No fix yet —
Ubuntu 20.04 LTS linux-riscv-5.8 5.8.0-22.24~20.04.1 —
Ubuntu 18.04 LTS linux 4.15.0-141.145 USN-4907-1
Ubuntu 18.04 LTS linux-aws 4.15.0-1098.105 USN-4907-1
Ubuntu 18.04 LTS linux-aws-5.4 5.4.0-1043.45~18.04.1 USN-4909-1
Ubuntu 18.04 LTS linux-azure-4.15 4.15.0-1112.125 USN-4907-1
Ubuntu 18.04 LTS linux-azure-5.4 5.4.0-1044.46~18.04.1 USN-4909-1
Ubuntu 18.04 LTS linux-dell300x 4.15.0-1016.20 USN-4907-1
Ubuntu 18.04 LTS linux-gcp +13 No fix yet —
Ubuntu 18.04 LTS linux-gcp-4.15 4.15.0-1097.110 USN-4907-1
Ubuntu 18.04 LTS linux-gcp-5.4 5.4.0-1041.44~18.04.1 USN-4909-1
Ubuntu 18.04 LTS linux-gke-5.4 5.4.0-1040.42~18.04.1 USN-4909-1
Ubuntu 18.04 LTS linux-gkeop-5.4 5.4.0-1013.14~18.04.1 USN-4909-1
Ubuntu 18.04 LTS linux-hwe-5.4 5.4.0-71.79~18.04.1 USN-4909-1
Ubuntu 18.04 LTS linux-kvm 4.15.0-1089.91 USN-4907-1
Ubuntu 18.04 LTS linux-oracle 4.15.0-1069.77 USN-4907-1
Ubuntu 18.04 LTS linux-oracle-5.4 5.4.0-1042.45~18.04.1 USN-4909-1
Ubuntu 18.04 LTS linux-raspi-5.4 5.4.0-1033.36~18.04.1 USN-4909-1
Ubuntu 18.04 LTS linux-raspi2 4.15.0-1083.88 USN-4907-1
Ubuntu 18.04 LTS linux-snapdragon 4.15.0-1100.109 USN-4907-1
Ubuntu 16.04 LTS linux-aws-hwe 4.15.0-1098.105~16.04.1 USN-4907-1
Ubuntu 16.04 LTS linux-azure 4.15.0-1112.124~16.04.1 USN-4907-1
Ubuntu 16.04 LTS linux-gcp 4.15.0-1097.110~16.04.1 USN-4907-1
Ubuntu 16.04 LTS linux-hwe 4.15.0-142.146~16.04.1 —
Ubuntu 16.04 LTS linux-hwe-edge No fix yet —
Ubuntu 16.04 LTS linux-oracle 4.15.0-1069.77~16.04.1 USN-4907-1
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro FIPS 20.04 LTS linux-aws-fips +2 No fix yet —
Ubuntu Pro FIPS 18.04 LTS linux-fips +3 No fix yet —
Ubuntu Pro FIPS-updates 20.04 LTS linux-aws-fips 5.4.0-1069.73+fips2 —
Ubuntu Pro FIPS-updates 20.04 LTS linux-azure-fips 5.4.0-1073.76+fips1 —
Ubuntu Pro FIPS-updates 20.04 LTS linux-gcp-fips 5.4.0-1067.71~20.04.1 —
Ubuntu Pro FIPS-updates 18.04 LTS linux-aws-fips 4.15.0-2041.43 —
Ubuntu Pro FIPS-updates 18.04 LTS linux-azure-fips 4.15.0-2024.27 —
Ubuntu Pro FIPS-updates 18.04 LTS linux-fips 4.15.0-1057.65 —
Ubuntu Pro 14.04 LTS linux-azure 4.15.0-1112.124~14.04.1 USN-4907-1
ReleasePackageFixed inAdvisory
RHEL 8 kernel-rt +12 4.18.0-348.rt7.130.el8 RHSA-2021:4140
RHEL 8 perf +26 4.18.0-348.el8 RHSA-2021:4356

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 kernel-tools-libs-devel 4.18.0-348.el8 ALSA-2021:4356
ReleasePackageFixed inAdvisory
SLES 15 SP2 kernel-azure +2 5.3.18-18.35.2 SUSE-SU-2021:0347-1
SLES 15 SP2 kernel-default-base 5.3.18-24.49.2.9.21.2 SUSE-SU-2021:0354-1
SLES 15 SP2 kernel-docs 5.3.18-24.49.3 SUSE-SU-2021:0354-1
SLES 15 SP2 kernel-syms +4 5.3.18-24.49.2 SUSE-SU-2021:0354-1
SLES 15 SP1 kernel-docs +5 4.12.14-197.83.1 SUSE-SU-2021:0532-1
SLES 15 kernel-docs +6 4.12.14-150.66.1 SUSE-SU-2021:0438-1
SLES 12 SP5 kernel-azure +2 4.12.14-16.47.1 SUSE-SU-2021:0739-1
SLES 12 SP5 kernel-docs +4 4.12.14-122.63.1 SUSE-SU-2021:0742-1
SLES 12 SP4 kernel-syms +2 4.12.14-95.68.1 SUSE-SU-2021:0434-1
Show 19 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP1 kernel-docs +4 4.12.14-197.83.1 SUSE-SU-2021:0532-1
SLES for SAP 15 kernel-docs +5 4.12.14-150.66.1 SUSE-SU-2021:0438-1
SLES for SAP 12 SP5 kernel-azure +2 4.12.14-16.47.1 SUSE-SU-2021:0739-1
SLES for SAP 12 SP5 kernel-syms +2 4.12.14-122.63.1 SUSE-SU-2021:0742-1
SLES for SAP 12 SP4 kernel-syms +2 4.12.14-95.68.1 SUSE-SU-2021:0434-1
SLE Real Time 12 SP5 kernel-rt +3 4.12.14-10.31.1 SUSE-SU-2021:0433-1
SLE Live Patching 15 SP2 kernel-default 5.3.18-24.49.2 SUSE-SU-2021:0354-1
SLE Live Patching 15 SP2 kernel-livepatch-SLE15-SP2_Update_10 1-5.3.2 SUSE-SU-2021:0354-1
SLE Live Patching 15 SP1 kernel-default 4.12.14-197.83.1 SUSE-SU-2021:0532-1
SLE Live Patching 15 SP1 kernel-livepatch-SLE15-SP1_Update_22 1-3.5.1 SUSE-SU-2021:0532-1
SLE Live Patching 15 kernel-default 4.12.14-150.66.1 SUSE-SU-2021:0438-1
SLE Live Patching 15 kernel-livepatch-SLE15_Update_22 1-1.3.1 SUSE-SU-2021:0438-1
SLE Live Patching 12 SP5 kernel-default 4.12.14-122.63.1 SUSE-SU-2021:0742-1
SLE Live Patching 12 SP5 kgraft-patch-SLE12-SP5_Update_16 1-8.3.1 SUSE-SU-2021:0742-1
SLE Live Patching 12 SP4 kernel-default 4.12.14-95.68.1 SUSE-SU-2021:0434-1
SLE Live Patching 12 SP4 kgraft-patch-SLE12-SP4_Update_18 1-6.3.1 SUSE-SU-2021:0434-1
SLE HPC 15 SP1 kernel-docs +4 4.12.14-197.83.1 SUSE-SU-2021:0532-1
SLE HPC 15 kernel-docs +5 4.12.14-150.66.1 SUSE-SU-2021:0438-1
SUSE Real Time Module 15 SP2 kernel-rt +3 5.3.18-25.1 SUSE-SU-2021:0427-1
SUSE OpenStack Cloud Crowbar 9 kernel-syms +2 4.12.14-95.68.1 SUSE-SU-2021:0434-1
SUSE OpenStack Cloud 9 kernel-syms +2 4.12.14-95.68.1 SUSE-SU-2021:0434-1
SUSE Manager Server 4.0 kernel-docs +5 4.12.14-197.83.1 SUSE-SU-2021:0532-1
SUSE Manager Retail Branch Server 4.0 kernel-docs +4 4.12.14-197.83.1 SUSE-SU-2021:0532-1
SUSE Manager Proxy 4.0 kernel-docs +4 4.12.14-197.83.1 SUSE-SU-2021:0532-1
SUSE Enterprise Storage 6 kernel-docs +4 4.12.14-197.83.1 SUSE-SU-2021:0532-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.2 kernel-default-base 5.3.18-lp152.63.1.lp152.8.21.1 openSUSE-SU-2021:0241-1
openSUSE Leap 15.2 kernel-docs +8 5.3.18-lp152.63.1 openSUSE-SU-2021:0241-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 kernel-livepatch-4.14.219-161.340 1.0-0.amzn2 ALAS2-2021-1600
Amazon Linux 2 perf +8 4.14.219-161.340.amzn2 ALAS2-2021-1600

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 perf +19 4.18.0-348.el8 ELSA-2021-4356
Oracle Linux 7 kernel-uek-container 4.14.35-2047.501.0.el7 ELSA-2021-9087, ELSA-2021-9086
Oracle Linux 7 kernel-uek-container-debug 5.4.17-2036.104.4.el8 ELSA-2021-9086
Oracle Linux 7 perf +10 4.14.35-2047.501.1.el7uek ELSA-2021-9085, ELSA-2021-9084

Advisories 24

References