CVE-2024-50082: blk-rq-qos: fix crash on rq_qos_wait vs. rq_qos_wake_function race
Noroxi assessment
Priority: Monitor (action score 18/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.22% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. Special conditions such as timing or configuration are required.
- Fixed version: Linux Linux 04f283fc16c8d5db641b6bffd2d8310aa7eccebc, 3bc6d0f8b70a9101456cf02ab99acb75254e1852, 455a469758e57a6fe070e3e342db12e4a629e0eb; azl3 kernel 6.6.57.1-7 on Azure Linux 3.0 6.6.64.2-1; azl3 kernel 6.6.64.2-1 on Azure Linux 3.0 6.6.64.2-1.
- Severity is disputed: the assigning authority (CNA) scores it 7.8, NVD 4.7.
- Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to Linux Linux 04f283fc16c8d5db641b6bffd2d8310aa7eccebc, 3bc6d0f8b70a9101456cf02ab99acb75254e1852, 455a469758e57a6fe070e3e342db12e4a629e0eb; azl3 kernel 6.6.57.1-7 on Azure Linux 3.0 6.6.64.2-1; azl3 kernel 6.6.64.2-1 on Azure Linux 3.0 6.6.64.2-1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
In the Linux kernel, the following vulnerability has been resolved: blk-rq-qos: fix crash on rq_qos_wait vs. rq_qos_wake_function race We're seeing crashes from rq_qos_wake_function that look like this: BUG: unable to handle page fault for address: ffffafe180a40084 #PF: supervisor write access in kernel mode #PF: error_code(0x0002) - not-present page PGD 100000067 P4D 100000067 PUD 10027c067 PMD 10115d067 PTE 0 Oops: Oops: 0002 [#1] PREEMPT SMP PTI CPU: 17 UID: 0 PID: 0 Comm: swapper/17 Not tainted 6.12.0-rc3-00013-geca631b8fe80 #11 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.0-0-gd239552ce722-prebuilt.qemu.org 04/01/2014 RIP: 0010:_raw_spin_lock_irqsave+0x1d/0x40 Code: 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 0f 1f 44 00 00 41 54 9c 41 5c fa 65 ff 05 62 97 30 4c 31 c0 ba 01 00 00 00 <f0> 0f b1 17 75 0a 4c 89 e0 41 5c c3 cc cc cc cc 89 c6 e8 2c 0b 00 RSP: 0018:ffffafe180580ca0 EFLAGS: 00010046 RAX: 0000000000000000 RBX: ffffafe180a3f7a8 RCX: 0000000000000011 RDX: 0000000000000001 RSI: 0000000000000003 RDI: ffffafe180a40084 RBP: 0000000000000000 R08: 00000000001e7240 R09: 0000000000000011 R10: 0000000000000028 R11: 0000000000000888 R12: 0000000000000002 R13: ffffafe180a40084 R14: 0000000000000000 R15: 0000000000000003 FS: 0000000000000000(0000) GS:ffff9aaf1f280000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffafe180a40084 CR3: 000000010e428002 CR4: 0000000000770ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 PKRU: 55555554 Call Trace: <IRQ> try_to_wake_up+0x5a/0x6a0 rq_qos_wake_function+0x71/0x80 __wake_up_common+0x75/0xa0 __wake_up+0x36/0x60 scale_up.part.0+0x50/0x110 wb_timer_fn+0x227/0x450 ... So rq_qos_wake_function() calls wake_up_process(data->task), which calls try_to_wake_up(), which faults in raw_spin_lock_irqsave(&p->pi_lock). p comes from data->task, and data comes from the waitqueue entry, which is stored on the waiter's stack in rq_qos_wait(). Analyzing the core dump with drgn, I found that the waiter had already woken up and moved on to a completely unrelated code path, clobbering what was previously data->task. Meanwhile, the waker was passing the clobbered garbage in data->task to wake_up_process(), leading to the crash. What's happening is that in between rq_qos_wake_function() deleting the waitqueue entry and calling wake_up_process(), rq_qos_wait() is finding that it already got a token and returning. The race looks like this: rq_qos_wait() rq_qos_wake_function() ============================================================== prepare_to_wait_exclusive() data->got_token = true; list_del_init(&curr->entry); if (data.got_token) break; finish_wait(&rqw->wait, &data.wq); ^- returns immediately because list_empty_careful(&wq_entry->entry) is true ... return, go do something else ... wake_up_process(data->task) (NO LONGER VALID!)-^ Normally, finish_wait() is supposed to synchronize against the waker. But, as noted above, it is returning immediately because the waitqueue entry has already been removed from the waitqueue. The bug is that rq_qos_wake_function() is accessing the waitqueue entry AFTER deleting it. Note that autoremove_wake_function() wakes the waiter and THEN deletes the waitqueue entry, which is the proper order. Fix it by swapping the order. We also need to use list_del_init_careful() to match the list_empty_careful() in finish_wait().
- Published
- Oct 29, 2024
- Updated
- Oct 15, 2026
- EPSS
- 0.2% · 13th percentile
- CWE
- —
Report tools
Action score
18
Monitor
Low priority for now.
- CVSS
- 18 / 40 · 4.7 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.2%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 4.7
- CNA · Linux
- 7.8
- 3.1 point gap
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- linux linux kernel4.19 and later · before 5.10.228
- linux linux kernel5.11 and later · before 5.15.169
- linux linux kernel5.16 and later · before 6.1.114
- linux linux kernel6.2 and later · before 6.6.58
- linux linux kernel6.7 and later · before 6.11.5
- linux linux kernel6.12
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 4.19affected
- 38cfb5a45ee013bfab5d1ae4c4738815e744b440 and later · before d04b72c9ef2b0689bfc1057d21c4aeed087c329faffected · git
- 38cfb5a45ee013bfab5d1ae4c4738815e744b440 and later · before 3bc6d0f8b70a9101456cf02ab99acb75254e1852affected · git
- 38cfb5a45ee013bfab5d1ae4c4738815e744b440 and later · before 455a469758e57a6fe070e3e342db12e4a629e0ebaffected · git
- 38cfb5a45ee013bfab5d1ae4c4738815e744b440 and later · before b5e900a3612b69423a0e1b0ab67841a1fb4af80faffected · git
- 38cfb5a45ee013bfab5d1ae4c4738815e744b440 and later · before 4c5b123ab289767afe940389dbb963c5c05e594eaffected · git
- 38cfb5a45ee013bfab5d1ae4c4738815e744b440 and later · before 04f283fc16c8d5db641b6bffd2d8310aa7eccebcaffected · git
- 38cfb5a45ee013bfab5d1ae4c4738815e744b440 and later · before e972b08b91ef48488bae9789f03cfedb148667fbaffected · git
- before 4.19not affected · semver
- 5.4.285 and later · up to and including 5.4.*not affected · semver
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | bpftool | before 4.18.0-553.32.1.el8_10 | 4.18.0-553.32.1.el8_10 |
| AlmaLinux:8 | kernel | before 4.18.0-553.32.1.el8_10 | 4.18.0-553.32.1.el8_10 |
| AlmaLinux:8 | kernel-abi-stablelists | before 4.18.0-553.32.1.el8_10 | 4.18.0-553.32.1.el8_10 |
| AlmaLinux:8 | kernel-core | before 4.18.0-553.32.1.el8_10 | 4.18.0-553.32.1.el8_10 |
| AlmaLinux:8 | kernel-cross-headers | before 4.18.0-553.32.1.el8_10 | 4.18.0-553.32.1.el8_10 |
| AlmaLinux:8 | kernel-debug | before 4.18.0-553.32.1.el8_10 | 4.18.0-553.32.1.el8_10 |
| AlmaLinux:8 | kernel-debug-core | before 4.18.0-553.32.1.el8_10 | 4.18.0-553.32.1.el8_10 |
| AlmaLinux:8 | kernel-debug-devel | before 4.18.0-553.32.1.el8_10 | 4.18.0-553.32.1.el8_10 |
| AlmaLinux:8 | kernel-debug-modules | before 4.18.0-553.32.1.el8_10 | 4.18.0-553.32.1.el8_10 |
| AlmaLinux:8 | kernel-debug-modules-extra | before 4.18.0-553.32.1.el8_10 | 4.18.0-553.32.1.el8_10 |
| AlmaLinux:8 | kernel-devel | before 4.18.0-553.32.1.el8_10 | 4.18.0-553.32.1.el8_10 |
| AlmaLinux:8 | kernel-doc | before 4.18.0-553.32.1.el8_10 | 4.18.0-553.32.1.el8_10 |
| AlmaLinux:8 | kernel-headers | before 4.18.0-553.32.1.el8_10 | 4.18.0-553.32.1.el8_10 |
| AlmaLinux:8 | kernel-modules | before 4.18.0-553.32.1.el8_10 | 4.18.0-553.32.1.el8_10 |
| AlmaLinux:8 | kernel-modules-extra | before 4.18.0-553.32.1.el8_10 | 4.18.0-553.32.1.el8_10 |
| AlmaLinux:8 | kernel-rt | before 4.18.0-553.32.1.rt7.373.el8_10 | 4.18.0-553.32.1.rt7.373.el8_10 |
| AlmaLinux:8 | kernel-rt-core | before 4.18.0-553.32.1.rt7.373.el8_10 | 4.18.0-553.32.1.rt7.373.el8_10 |
| AlmaLinux:8 | kernel-rt-debug | before 4.18.0-553.32.1.rt7.373.el8_10 | 4.18.0-553.32.1.rt7.373.el8_10 |
| AlmaLinux:8 | kernel-rt-debug-core | before 4.18.0-553.32.1.rt7.373.el8_10 | 4.18.0-553.32.1.rt7.373.el8_10 |
| AlmaLinux:8 | kernel-rt-debug-devel | before 4.18.0-553.32.1.rt7.373.el8_10 | 4.18.0-553.32.1.rt7.373.el8_10 |
| AlmaLinux:8 | kernel-rt-debug-modules | before 4.18.0-553.32.1.rt7.373.el8_10 | 4.18.0-553.32.1.rt7.373.el8_10 |
| AlmaLinux:8 | kernel-rt-debug-modules-extra | before 4.18.0-553.32.1.rt7.373.el8_10 | 4.18.0-553.32.1.rt7.373.el8_10 |
| AlmaLinux:8 | kernel-rt-devel | before 4.18.0-553.32.1.rt7.373.el8_10 | 4.18.0-553.32.1.rt7.373.el8_10 |
| AlmaLinux:8 | kernel-rt-modules | before 4.18.0-553.32.1.rt7.373.el8_10 | 4.18.0-553.32.1.rt7.373.el8_10 |
+96
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2024-50088Oct 28, 2024 · btrfs: fix uninitialized pointer free in add_inode_ref()31Monitor
- ← EarlierCVE-2024-50076Oct 29, 2024 · vt: prevent kernel-infoleak in con_font_get()26Monitor
- Later →CVE-2023-52920Nov 5, 2024 · bpf: support non-r10 register spill/fill to/from stack in precision tracking22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 04f283fc16c8d5db641b6bffd2d8310aa7eccebc | Vendor (CNA) |
| Linux Linux | 3bc6d0f8b70a9101456cf02ab99acb75254e1852 | Vendor (CNA) |
| Linux Linux | 455a469758e57a6fe070e3e342db12e4a629e0eb | Vendor (CNA) |
| Linux Linux | 4c5b123ab289767afe940389dbb963c5c05e594e | Vendor (CNA) |
| Linux Linux | b5e900a3612b69423a0e1b0ab67841a1fb4af80f | Vendor (CNA) |
| Linux Linux | d04b72c9ef2b0689bfc1057d21c4aeed087c329f | Vendor (CNA) |
| Linux Linux | e972b08b91ef48488bae9789f03cfedb148667fb | Vendor (CNA) |
| azl3 kernel 6.6.57.1-7 on Azure Linux 3.0 | 6.6.64.2-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 kernel 6.6.64.2-1 on Azure Linux 3.0 | 6.6.64.2-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 kernel 5.15.167.1-2 on CBL Mariner 2.0 | 5.15.173.1-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 kernel 5.15.167.1-2 on CBL-Mariner 2.0 | 5.15.173.1-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 kernel 5.15.173.1-1 on CBL Mariner 2.0 | 5.15.173.1-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| almalinux:bpftool | 4.18.0-553.32.1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel | 4.18.0-553.32.1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-abi-stablelists | 4.18.0-553.32.1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-core | 4.18.0-553.32.1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-cross-headers | 4.18.0-553.32.1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-debug | 4.18.0-553.32.1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-debug-core | 4.18.0-553.32.1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-debug-devel | 4.18.0-553.32.1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-debug-modules | 4.18.0-553.32.1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-debug-modules-extra | 4.18.0-553.32.1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-devel | 4.18.0-553.32.1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-doc | 4.18.0-553.32.1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| debian:linux | 6.1.115-1 · Debian:12 | Package registry (OSV) |
| red hat:bpftool | 0:4.18.0-553.32.1.el8_10 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:bpftool-debuginfo | 0:4.18.0-553.32.1.el8_10 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:kernel | 0:4.18.0-553.32.1.el8_10 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:kernel-abi-stablelists | 0:4.18.0-553.32.1.el8_10 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:kernel-core | 0:4.18.0-553.32.1.el8_10 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
+9
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-24-1781 · Oct 30, 2024(Linux Kernel Güvenlik Bildirimi)
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- Special conditions such as timing or configuration are required.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- High
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
—
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- SSVC exploitation— → none
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (8 more)Show less
- git.kernel.org/stable/c/3bc6d0f8b70a9101456cf02ab99acb75254e1852
- git.kernel.org/stable/c/455a469758e57a6fe070e3e342db12e4a629e0eb
- git.kernel.org/stable/c/4c5b123ab289767afe940389dbb963c5c05e594e
- git.kernel.org/stable/c/b5e900a3612b69423a0e1b0ab67841a1fb4af80f
- git.kernel.org/stable/c/d04b72c9ef2b0689bfc1057d21c4aeed087c329f
- git.kernel.org/stable/c/e972b08b91ef48488bae9789f03cfedb148667fb
- lists.debian.org/debian-lts-announce/2025/01/msg00001.html
- lists.debian.org/debian-lts-announce/2025/03/msg00002.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.