CVE-2022-50329
block, bfq: fix uaf for bfqq in bfq_exit_icq_bfqq
Mitigation
- Upgrade Linux to 246cf66e300b76099b5dbd3fdd39e9a5dbc53f02 or later.
- Upgrade Linux to 6.1.3 or later.
Who should check
- Anyone running Linux >= 5533742c7cb1bc9b1f0bf401cc397d44a3a9e07a, < 1425f1bb5df5239021fd09ebc2a5e8070e705d36; >= 094f3d9314d67691cb21ba091c1b528f6e3c4893, < 7949b0df3dd9f4817ed4a4e989fa9ee81df6205f; >= b22fd72bfebda3956efc4431b60ddfc0a51e03e0, < cfe5b38c37720313eff0dec5517442c7ab3c9a20; >= 761564d93c8265f65543acf0a576b32d66bfa26a, < 1ed959fef5b1c6f1a7a3fbea543698c30ebd6678; >= 64dc8c732f5c2b406cc752e6aaa1bd5471159cab, < 246cf66e300b76099b5dbd3fdd39e9a5dbc53f02
- Anyone running Linux >= 5.15.86, < 5.15.87; >= 6.0.16, < 6.0.17; >= 6.1.2, < 6.1.3
Vulnerability facts
- Affected
- Linux >= 5533742c7cb1bc9b1f0bf401cc397d44a3a9e07a, < 1425f1bb5df5239021fd09ebc2a5e8070e705d36; >= 094f3d9314d67691cb21ba091c1b528f6e3c4893, < 7949b0df3dd9f4817ed4a4e989fa9ee81df6205f; >= b22fd72bfebda3956efc4431b60ddfc0a51e03e0, < cfe5b38c37720313eff0dec5517442c7ab3c9a20; >= 761564d93c8265f65543acf0a576b32d66bfa26a, < 1ed959fef5b1c6f1a7a3fbea543698c30ebd6678; >= 64dc8c732f5c2b406cc752e6aaa1bd5471159cab, < 246cf66e300b76099b5dbd3fdd39e9a5dbc53f02; Linux >= 5.15.86, < 5.15.87; >= 6.0.16, < 6.0.17; >= 6.1.2, < 6.1.3
- Fixed in
- Linux 1425f1bb5df5239021fd09ebc2a5e8070e705d36, Linux 7949b0df3dd9f4817ed4a4e989fa9ee81df6205f, Linux 1ed959fef5b1c6f1a7a3fbea543698c30ebd6678, Linux 246cf66e300b76099b5dbd3fdd39e9a5dbc53f02, Linux 5.15.87, Linux 6.0.17, Linux 6.1.3
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.25% chance of exploitation in 30 days (percentile 10, 2026-11-26)
- CWE
- CWE-416
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 5533742c7cb1bc9b1f0bf401cc397d44a3a9e07a, < 1425f1bb5df5239021fd09ebc2a5e8070e705d36; >= 094f3d9314d67691cb21ba091c1b528f6e3c4893, < 7949b0df3dd9f4817ed4a4e989fa9ee81df6205f; >= b22fd72bfebda3956efc4431b60ddfc0a51e03e0, < cfe5b38c37720313eff0dec5517442c7ab3c9a20; >= 761564d93c8265f65543acf0a576b32d66bfa26a, < 1ed959fef5b1c6f1a7a3fbea543698c30ebd6678; >= 64dc8c732f5c2b406cc752e6aaa1bd5471159cab, < 246cf66e300b76099b5dbd3fdd39e9a5dbc53f02 | — | cvelist |
| Linux | >= 5.15.86, < 5.15.87; >= 6.0.16, < 6.0.17; >= 6.1.2, < 6.1.3 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-50329. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-50329.md Affected: Linux >= 5533742c7cb1bc9b1f0bf401cc397d44a3a9e07a, < 1425f1bb5df5239021fd09ebc2a5e8070e705d36; >= 094f3d9314d67691cb21ba091c1b528f6e3c4893, < 7949b0df3dd9f4817ed4a4e989fa9ee81df6205f; >= b22fd72bfebda3956efc4431b60ddfc0a51e03e0, < cfe5b38c37720313eff0dec5517442c7ab3c9a20; >= 761564d93c8265f65543acf… Fixed in: Linux 1425f1bb5df5239021fd09ebc2a5e8070e705d36, Linux 7949b0df3dd9f4817ed4a4e989fa9ee81df6205f, Linux 1ed959fef5b1c6f1a7a3fbea543698c30ebd6678, Linux 246cf66e300b76099b5dbd3fdd39e9a5dbc53f02, Linux 5.15.87, Linux 6.0.17, Linux 6.1.3 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/1425f1bb5df5239021fd09ebc2a5e8070e705d36
- https://git.kernel.org/stable/c/7949b0df3dd9f4817ed4a4e989fa9ee81df6205f
- https://git.kernel.org/stable/c/cfe5b38c37720313eff0dec5517442c7ab3c9a20
- https://git.kernel.org/stable/c/1ed959fef5b1c6f1a7a3fbea543698c30ebd6678
- https://git.kernel.org/stable/c/246cf66e300b76099b5dbd3fdd39e9a5dbc53f02
FAQ
Is CVE-2022-50329 being exploited?
There is no confirmed exploitation: CVE-2022-50329 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.25% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-50329?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2022-50329?
Linux >= 5533742c7cb1bc9b1f0bf401cc397d44a3a9e07a, < 1425f1bb5df5239021fd09ebc2a5e8070e705d36; >= 094f3d9314d67691cb21ba091c1b528f6e3c4893, < 7949b0df3dd9f4817ed4a4e989fa9ee81df6205f; >= b22fd72bfebda3956efc4431b60ddfc0a51e03e0, < cfe5b38c37720313eff0dec5517442c7ab3c9a20; >= 761564d93c8265f65543acf0a576b32d66bfa26a, < 1ed959fef5b1c6f1a7a3fbea543698c30ebd6678; >= 64dc8c732f5c2b406cc752e6aaa1bd5471159cab, < 246cf66e300b76099b5dbd3fdd39e9a5dbc53f02; Linux >= 5.15.86, < 5.15.87; >= 6.0.16, < 6.0.17; >= 6.1.2, < 6.1.3.
Is there a fix for CVE-2022-50329?
Yes. Fixed in Linux 1425f1bb5df5239021fd09ebc2a5e8070e705d36, Linux 7949b0df3dd9f4817ed4a4e989fa9ee81df6205f, Linux 1ed959fef5b1c6f1a7a3fbea543698c30ebd6678, Linux 246cf66e300b76099b5dbd3fdd39e9a5dbc53f02, Linux 5.15.87, Linux 6.0.17, Linux 6.1.3. Upgrade Linux to 246cf66e300b76099b5dbd3fdd39e9a5dbc53f02 or later. Upgrade Linux to 6.1.3 or later.
How do I check if I'm affected by CVE-2022-50329?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.