CVE-2022-50329

block, bfq: fix uaf for bfqq in bfq_exit_icq_bfqq

HIGH
7.8
CVSS Score
Published: September 15, 2025 at 02:49 PM UTC
Updated: October 15, 2026 at 10:17 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: block, bfq: fix uaf for bfqq in bfq_exit_icq_bfqq Commit 64dc8c732f5c ("block, bfq: fix possible uaf for 'bfqq->bic'") will access 'bic->bfqq' in bic_set_bfqq(), however, bfq_exit_icq_bfqq() can free bfqq first, and then call bic_set_bfqq(), which will cause uaf. Fix the problem by moving bfq_exit_bfqq() behind bic_set_bfqq().

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.15.865533742c7cb1bc9b1f0bf401cc397d44a3a9e07a6.0.166.1.26.26.2 rc164dc8c732f5c2b406cc752e6aaa1bd5471159cab761564d93c8265f65543acf0a576b32d66bfa26a94f3d9314d67691cb21ba91c1b528f6e3c4893b22fd72bfebda3956efc4431b60ddfc0a51e03e0
Vendor states this is fixed in 1425f1bb5df5239021fd09ebc2a5e8070e705d36 (fixed)
Vendor states this is fixed in 1ed959fef5b1c6f1a7a3fbea543698c30ebd6678 (fixed)
Vendor states this is fixed in 246cf66e300b76099b5dbd3fdd39e9a5dbc53f02 (fixed)
Vendor states this is fixed in 7949b0df3dd9f4817ed4a4e989fa9ee81df6205f (fixed)
Vendor states this is fixed in cfe5b38c37720313eff0dec5517442c7ab3c9a20 (fixed)
Affected range stops below 5.15.87, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.0.17, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.1.3, so it looks safe — our inference, not a vendor statement

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1425f1bb5df5239021fd09ebc2a5e8070e705d36
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1ed959fef5b1c6f1a7a3fbea543698c30ebd6678
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/246cf66e300b76099b5dbd3fdd39e9a5dbc53f02
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7949b0df3dd9f4817ed4a4e989fa9ee81df6205f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/cfe5b38c37720313eff0dec5517442c7ab3c9a20

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card