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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 8 | kernel-tools-libs-devel | 4.18.0-348.el8 | ALSA-2021:4356 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
- ALSA-2021:4356 Moderate: kernel security, bug fix, and enhancement update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2021:4356 Red Hat Security Advisory: kernel security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Oct 2, 2026
- RHSA-2021:4140 Red Hat Security Advisory: kernel-rt security and bug fix update Red Hat Security Advisories (RHSA) · Aug 14, 2026
- USN-4910-1 linux, linux-aws, linux-azure, linux-gcp, linux-hwe-5.8, linux-kvm, linux-oracle, linux-raspi vulnerabilities Ubuntu Security Notices (USN) · Jun 3, 2026
- USN-4909-1 linux, linux-aws, linux-aws-5.4, linux-azure, linux-azure-5.4, linux-gcp, linux-gcp-5.4, linux-gke-5.4, linux-gkeop, linux-gkeop-5.4, linux-hwe-5.4, linux-kvm, linux-oracle, linux-oracle-5.4, linux-raspi, linux-raspi-5.4 vulnerabilities Ubuntu Security Notices (USN) · Jun 3, 2026
- USN-4907-1 linux, linux-aws, linux-aws-hwe, linux-azure, linux-azure-4.15, linux-dell300x, linux-gcp, linux-gcp-4.15, linux-kvm, linux-oracle, linux-raspi2, linux-snapdragon vulnerabilities Ubuntu Security Notices (USN) · Jun 3, 2026
- USN-4884-1 linux-oem-5.10 vulnerabilities Ubuntu Security Notices (USN) · Jun 3, 2026
- DLA-2610-1 linux-4.19 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2021:0354-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:0532-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:0434-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:0427-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:0347-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:0742-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:0241-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:0438-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:0739-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · May 2, 2025
- SUSE-SU-2021:0433-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · May 2, 2025
- ALAS2-2021-1600 Important: kernel security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · May 23, 2024
- ELSA-2021-4356 Moderate: kernel security, bug fix, and enhancement update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Nov 16, 2021
- ELSA-2021-9084 Important: Unbreakable Enterprise kernel security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Mar 12, 2021
- ELSA-2021-9085 Important: Unbreakable Enterprise kernel security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Mar 11, 2021
- ELSA-2021-9086 Important: Unbreakable Enterprise kernel-container security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Mar 9, 2021
- ELSA-2021-9087 Important: Unbreakable Enterprise kernel-container security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Mar 9, 2021
References
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b98e762e3d71e893b221f871825dc64694cfb258
- https://www.openwall.com/lists/oss-security/2021/01/28/3
- [oss-security] 20210201 Re: Re: Linux kernel: linux-block: nbd: use-after-free Read in nbd_queue_rq mailing-list
- [debian-lts-announce] 20210330 [SECURITY] [DLA 2610-1] linux-4.19 security update mailing-list