Description
In the Linux kernel, the following vulnerability has been resolved:
blk-mq: fix null pointer dereference in blk_mq_clear_rq_mapping()
Our syzkaller report a null pointer dereference, root cause is
following:
__blk_mq_alloc_map_and_rqs
set->tags[hctx_idx] = blk_mq_alloc_map_and_rqs
blk_mq_alloc_map_and_rqs
blk_mq_alloc_rqs
// failed due to oom
alloc_pages_node
// set->tags[hctx_idx] is still NULL
blk_mq_free_rqs
drv_tags = set->tags[hctx_idx];
// null pointer dereference is triggered
blk_mq_clear_rq_mapping(drv_tags, ...)
This is because commit 63064be150e4 ("blk-mq:
Add blk_mq_alloc_map_and_rqs()") merged the two steps:
1) set->tags[hctx_idx] = blk_mq_alloc_rq_map()
2) blk_mq_alloc_rqs(..., set->tags[hctx_idx])
into one step:
set->tags[hctx_idx] = blk_mq_alloc_map_and_rqs()
Since tags is not initialized yet in this case, fix the problem by
checking if tags is NULL pointer in blk_mq_clear_rq_mapping().
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Linux | Linux | 5.16 | 6.0.6 |
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 | 6.0.6-1 | — |
| Debian 13 | linux | 6.0.6-1 | — |
| Debian 12 | linux | 6.0.6-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | linux-intel +9 | No fix yet | — |
| Ubuntu 22.04 LTS | linux-riscv +32 | No fix yet | — |
| Ubuntu 20.04 LTS | linux-gke +28 | No fix yet | — |
| Ubuntu 18.04 LTS | linux-gcp +14 | No fix yet | — |
| Ubuntu 16.04 LTS | linux-hwe-edge | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | bpftool | 7.0.0-284.11.1.el9_2 | RHSA-2023:2458 |
| RHEL 9 | perf +48 | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP5 | kernel-64kb +6 | 5.14.21-150500.55.127.1 | SUSE-SU-2025:4320-1 |
| SLES 15 SP5 | kernel-default-base | 5.14.21-150500.55.127.1.150500.6.61.1 | SUSE-SU-2025:4320-1 |
| SLES 15 SP4 | kernel-64kb +6 | 5.14.21-150400.24.184.1 | SUSE-SU-2025:4111-1 |
| SLES 15 SP4 | kernel-default-base | 5.14.21-150400.24.184.1.150400.24.94.2 | SUSE-SU-2025:4111-1 |
Show 11 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP5 | kernel-default-base | 5.14.21-150500.55.127.1.150500.6.61.1 | SUSE-SU-2025:4320-1 |
| SLES for SAP 15 SP5 | kernel-docs +4 | 5.14.21-150500.55.127.1 | SUSE-SU-2025:4320-1 |
| SLES for SAP 15 SP4 | kernel-default-base | 5.14.21-150400.24.184.1.150400.24.94.2 | SUSE-SU-2025:4111-1 |
| SLES for SAP 15 SP4 | kernel-docs +4 | 5.14.21-150400.24.184.1 | SUSE-SU-2025:4111-1 |
| SLE Micro 5.5 | kernel-default-base | 5.14.21-150500.55.127.1.150500.6.61.1 | SUSE-SU-2025:4320-1 |
| SLE Micro 5.5 | kernel-rt +1 | 5.14.21-150500.13.112.1 | SUSE-SU-2025:4149-1 |
| SLE Micro 5.5 | kernel-source +1 | 5.14.21-150500.55.127.1 | SUSE-SU-2025:4320-1 |
| SLE Micro 5.4 | kernel-default | 5.14.21-150400.24.184.1 | SUSE-SU-2025:4111-1 |
| SLE Micro 5.4 | kernel-default-base | 5.14.21-150400.24.184.1.150400.24.94.2 | SUSE-SU-2025:4111-1 |
| SLE Micro 5.4 | kernel-rt +1 | 5.14.21-150400.15.136.1 | SUSE-SU-2025:4139-1 |
| SLE Micro 5.3 | kernel-default | 5.14.21-150400.24.184.1 | SUSE-SU-2025:4111-1 |
| SLE Micro 5.3 | kernel-default-base | 5.14.21-150400.24.184.1.150400.24.94.2 | SUSE-SU-2025:4111-1 |
| SLE Micro 5.3 | kernel-rt +1 | 5.14.21-150400.15.136.1 | SUSE-SU-2025:4139-1 |
| SLE Live Patching 15 SP5 | kernel-default | 5.14.21-150500.55.127.1 | SUSE-SU-2025:4320-1 |
| SLE Live Patching 15 SP5 | kernel-livepatch-SLE15-SP5_Update_32 | 1-150500.11.3.1 | SUSE-SU-2025:4320-1 |
| SLE Live Patching 15 SP4 | kernel-default | 5.14.21-150400.24.184.1 | SUSE-SU-2025:4111-1 |
| SLE Live Patching 15 SP4 | kernel-livepatch-SLE15-SP4_Update_46 | 1-150400.9.5.1 | SUSE-SU-2025:4111-1 |
| SLE HPC 15 SP5 | kernel-64kb +5 | 5.14.21-150500.55.127.1 | SUSE-SU-2025:4320-1 |
| SLE HPC 15 SP5 | kernel-default-base | 5.14.21-150500.55.127.1.150500.6.61.1 | SUSE-SU-2025:4320-1 |
| SLE HPC 15 SP4 | kernel-64kb +5 | 5.14.21-150400.24.184.1 | SUSE-SU-2025:4111-1 |
| SLE HPC 15 SP4 | kernel-default-base | 5.14.21-150400.24.184.1.150400.24.94.2 | SUSE-SU-2025:4111-1 |
| SUSE Manager Server LTS 4.3 | kernel-default-base | 5.14.21-150400.24.184.1.150400.24.94.2 | SUSE-SU-2025:4111-1 |
| SUSE Manager Server LTS 4.3 | kernel-syms +3 | 5.14.21-150400.24.184.1 | SUSE-SU-2025:4111-1 |
| SUSE Manager Proxy LTS 4.3 | kernel-default-base | 5.14.21-150400.24.184.1.150400.24.94.2 | SUSE-SU-2025:4111-1 |
| SUSE Manager Proxy LTS 4.3 | kernel-syms +2 | 5.14.21-150400.24.184.1 | SUSE-SU-2025:4111-1 |
Advisories 6
- WID-SEC-2025-2229 Linux Kernel: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 18, 2026
- RHSA-2023:2458 Red Hat Security Advisory: kernel security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Oct 17, 2026
- SUSE-SU-2025:4139-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:4149-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:4111-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:4320-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026