CVE-2022-49377 json
blk-mq: don't touch ->tagset in blk_mq_get_sq_hctx
published 2025-02-26 20 mo ago modified 2026-08-05 3 mo ago also EUVD-2022-54852
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 21%
- public exploits
- 0
- none known
Summary
In the Linux kernel, the following vulnerability has been resolved:
blk-mq: don't touch ->tagset in blk_mq_get_sq_hctx
blk_mq_run_hw_queues() could be run when there isn't queued request and after queue is cleaned up, at that time tagset is freed, because tagset lifetime is covered by driver, and often freed after blk_cleanup_queue() returns.
So don't touch ->tagset for figuring out current default hctx by the mapping built in request queue, so use-after-free on tagset can be avoided. Meantime this way should be fast than retrieving mapping from tagset.
Patch / fix
- Linux Linux 5.15.47, 5.17.15, 5.18.4, 5.19
- linux Debian 14, Debian 13, Debian 12 5.18.5-1
debian advisories DEBIAN-CVE-2022-49377
- linux Ubuntu 22.04 LTS 5.15.0-48.54
- linux-aws Ubuntu 22.04 LTS 5.15.0-1020.24
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1018.24
- linux-gke Ubuntu 22.04 LTS 5.15.0-1016.19
- linux-ibm Ubuntu 22.04 LTS 5.15.0-1015.17
- linux-kvm Ubuntu 22.04 LTS 5.15.0-1018.22
- linux-azure Ubuntu 22.04 LTS 5.15.0-1020.25
- linux-gkeop Ubuntu 22.04 LTS 5.15.0-1003.5
ubuntu advisories UBUNTU-CVE-2022-49377
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-rt RHEL 9.0 E4S 5.14.0-70.136.1.rt21.208.el9_0
- kernel-rt-kvm RHEL 9.0 E4S 5.14.0-70.136.1.rt21.208.el9_0
- kernel-rt-core RHEL 9.0 E4S 5.14.0-70.136.1.rt21.208.el9_0
- kernel-rt-modules RHEL 9.0 E4S 5.14.0-70.136.1.rt21.208.el9_0
- kernel-rt-debug-kvm RHEL 9.0 E4S 5.14.0-70.136.1.rt21.208.el9_0
- kernel-rt-debug-core RHEL 9.0 E4S 5.14.0-70.136.1.rt21.208.el9_0
- kernel-rt-debug-modules RHEL 9.0 E4S 5.14.0-70.136.1.rt21.208.el9_0
- kernel-rt-modules-extra RHEL 9.0 E4S 5.14.0-70.136.1.rt21.208.el9_0
red hat advisories RHSA-2025:10193RHSA-2025:10174
- kernel-64kb SLES 15 SP5-LTSS, SLE High Performance Computing 15 SP5-LTSS, SLE High Performance Computing 15 SP5-ESPOS 5.14.21-150500.55.100.1
- kernel-syms SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE High Performance Computing 15 SP5-LTSS +1 more 5.14.21-150500.55.100.1
- kernel-source SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE Micro 5.5 +2 more 5.14.21-150500.55.100.1
- kernel-default SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE Micro 5.5 +3 more 5.14.21-150500.55.100.1
- kernel-obs-build SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE High Performance Computing 15 SP5-LTSS +1 more 5.14.21-150500.55.100.1
- kernel-default-base SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE Micro 5.5 +2 more 5.14.21-150500.55.100.1.150500.6.47.1
- kernel-rt SLE Micro 5.4, SLE Micro 5.3 5.14.21-150400.15.115.1
- kernel-source-rt SLE Micro 5.4, SLE Micro 5.3 5.14.21-150400.15.115.1
suse advisories SUSE-SU-2025:1241-1SUSE-SU-2025:1183-1SUSE-SU-2025:1176-1SUSE-SU-2025:1027-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-49377 updated cvss 7.8
kernel: blk-mq: don't touch ->tagset in blk_mq_get_sq_hctx
-
Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 moreaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 moreaffected: no fix available
-
Red Hat Enterprise Linux AppStream E4S (v.9.0) perf 5.14.0-70.136.1.el9_0, kernel-devel-matched 5.14.0-70.136.1.el9_0, kernel-debug-devel-matched 5.14.0-70.136.1.el9_0, kernel-debuginfo-common-s390x 5.14.0-70.136.1.el9_0, kernel-zfcpdump-devel-matched 5.14.0-70.136.1.el9_0, kernel-debuginfo-common-x86_64 5.14.0-70.136.1.el9_0, +2 more Red Hat Enterprise Linux BaseOS E4S (v.9.0) kernel 5.14.0-70.136.1.el9_0, bpftool 5.14.0-70.136.1.el9_0, kernel-core 5.14.0-70.136.1.el9_0, kernel-tools 5.14.0-70.136.1.el9_0, python3-perf 5.14.0-70.136.1.el9_0, kernel-modules 5.14.0-70.136.1.el9_0, +14 morefixed: vendor fix RHSA-2025:10174
-
Red Hat Enterprise Linux NFV E4S (v.9.0) kernel-rt 5.14.0-70.136.1.rt21.208.el9_0, kernel-rt-kvm 5.14.0-70.136.1.rt21.208.el9_0, kernel-rt-core 5.14.0-70.136.1.rt21.208.el9_0, kernel-rt-modules 5.14.0-70.136.1.rt21.208.el9_0, kernel-rt-debug-kvm 5.14.0-70.136.1.rt21.208.el9_0, kernel-rt-debug-core 5.14.0-70.136.1.rt21.208.el9_0, +4 more Red Hat Enterprise Linux Real Time E4S (v.9.0) kernel-rt 5.14.0-70.136.1.rt21.208.el9_0, kernel-rt-core 5.14.0-70.136.1.rt21.208.el9_0, kernel-rt-modules 5.14.0-70.136.1.rt21.208.el9_0, kernel-rt-debug-core 5.14.0-70.136.1.rt21.208.el9_0, kernel-rt-debug-modules 5.14.0-70.136.1.rt21.208.el9_0, kernel-rt-modules-extra 5.14.0-70.136.1.rt21.208.el9_0, +2 morefixed: vendor fix RHSA-2025:10193
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 10 kernelnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 20 mo ago
Exploit prediction
0.29% chance of exploitation in the next 30 days, higher than 21% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CISA ADP | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-416 Use After Free
- Technology feeds
References
Sources
- CVE List CVE-2022-49377
- NVD CVE-2022-49377
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.