Bug 2395242 (CVE-2022-50329) - CVE-2022-50329 kernel: block, bfq: fix uaf for bfqq in bfq_exit_icq_bfqq
Summary: CVE-2022-50329 kernel: block, bfq: fix uaf for bfqq in bfq_exit_icq_bfqq
Keywords:
Status: NEW
Alias: CVE-2022-50329
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-09-15 15:02 UTC by OSIDB Bzimport
Modified: 2025-09-15 18:03 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-09-15 15:02:37 UTC
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().


Note You need to log in before you can comment on or make changes to this bug.