CVE-2022-50329
published high CVSS 3.1 · 7.8block, bfq: fix uaf for bfqq in bfq_exit_icq_bfqq
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux5533742c7cb1bc9b1f0bf401cc397d44a3a9e07a to < 1425f1bb5df5239021fd09ebc2a5e8070e705d36 · 094f3d9314d67691cb21ba091c1b528f6e3c4893 to < 7949b0df3dd9f4817ed4a4e989fa9ee81df6205f · b22fd72bfebda3956efc4431b60ddfc0a51e03e0 to < cfe5b38c37720313eff0dec5517442c7ab3c9a20 · 761564d93c8265f65543acf0a576b32d66bfa26a to < 1ed959fef5b1c6f1a7a3fbea543698c30ebd6678 · 64dc8c732f5c2b406cc752e6aaa1bd5471159cab to < 246cf66e300b76099b5dbd3fdd39e9a5dbc53f02 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.15.86 to < 5.15.87 · 6.0.16 to < 6.0.17 · 6.1.2 to < 6.1.3 · Other versions: unaffected | Affected | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2023-013 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Red Hat Enterprise Linux | RHEL-9 | bpftoolaarch64 | Advisory build | 7.2.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | bpftoolppc64le | Advisory build | 7.2.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | bpftools390x | Advisory build | 7.2.0-362.8.1.el9_3 | RHSA-2023:6583 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-9 | bpftoolx86_64 | Advisory build | 7.2.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfoaarch64 | Advisory build | 7.2.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfoppc64le | Advisory build | 7.2.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfos390x | Advisory build | 7.2.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfox86_64 | Advisory build | 7.2.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernelaarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernelppc64le | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernels390x | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernelsrc | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernelx86_64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64kaarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-coreaarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debugaarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-coreaarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-debuginfoaarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-develaarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-devel-matchedaarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-modulesaarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-modules-coreaarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-modules-extraaarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debuginfoaarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-develaarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-devel-matchedaarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-modulesaarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-modules-coreaarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-modules-extraaarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-abi-stablelistsnoarch | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-coreaarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-coreppc64le | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-cores390x | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-corex86_64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugaarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugppc64le | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugs390x | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugx86_64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-coreaarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-coreppc64le | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-cores390x | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-corex86_64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfoaarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfoppc64le | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfos390x | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfox86_64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-develaarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-develppc64le | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devels390x | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-develx86_64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matchedaarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matchedppc64le | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matcheds390x | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matchedx86_64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modulesaarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modulesppc64le | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-moduless390x | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modulesx86_64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-coreaarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-coreppc64le | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-cores390x | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-corex86_64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-extraaarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-extrappc64le | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-extras390x | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-extrax86_64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-uki-virtx86_64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfoaarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfoppc64le | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfos390x | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfox86_64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfo-common-aarch64aarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfo-common-ppc64leppc64le | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfo-common-s390xs390x | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfo-common-x86_64x86_64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-develaarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-develppc64le | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devels390x | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-develx86_64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devel-matchedaarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devel-matchedppc64le | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devel-matcheds390x | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devel-matchedx86_64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-docnoarch | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modulesaarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modulesppc64le | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-moduless390x | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modulesx86_64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-coreaarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-coreppc64le | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-cores390x | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-corex86_64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-extraaarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-extrappc64le | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-extras390x | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-extrax86_64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rtx86_64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-corex86_64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-debugx86_64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-debug-corex86_64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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().
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerable path runs in bfq_exit_icq during exit_io_context after local block I/O on a BFQ-managed device; it is reached via process exit/syscalls, not network or physical input. AC:L - An unprivileged attacker fully controls triggering by performing I/O then exiting so the process ref drops and bfq_put_queue frees bfqq before bic_set_bfqq; BFQ is commonly enabled (e.g. Android/desktops), so success does not depend on conditions outside attacker control. PR:L - Any unprivileged local user can open/write files on a BFQ-backed filesystem and exit; no capabilities or root are required along the exit_io_context → bfq_exit_icq path. UI:N - Exploitation needs only the attacker's own I/O and process exit; no victim action is required. S:U - This is a standard in-kernel heap UAF enabling privilege escalation within the same kernel security authority, not a VM/IOMMU/sandbox boundary cross. C:H - Use-after-free of struct bfq_queue lets an attacker reclaim and control the freed object, enabling arbitrary kernel memory disclosure primitives. I:H - bic_set_bfqq writes old_bfqq->bic on the freed object; with heap spray this yields a write primitive suitable for control-flow hijacking or arbitrary kernel modification. A:H - The UAF can oops/panic the kernel on access to freed bfqq memory even without full exploitation, so availability impact is high.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 5533742c7cb1bc9b1f0bf401cc397d44a3a9e07a to < 1425f1bb5df5239021fd09ebc2a5e8070e705d36 (affected · git)094f3d9314d67691cb21ba091c1b528f6e3c4893 to < 7949b0df3dd9f4817ed4a4e989fa9ee81df6205f (affected · git)b22fd72bfebda3956efc4431b60ddfc0a51e03e0 to < cfe5b38c37720313eff0dec5517442c7ab3c9a20 (affected · git)761564d93c8265f65543acf0a576b32d66bfa26a to < 1ed959fef5b1c6f1a7a3fbea543698c30ebd6678 (affected · git)64dc8c732f5c2b406cc752e6aaa1bd5471159cab to < 246cf66e300b76099b5dbd3fdd39e9a5dbc53f02 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.15.86 to < 5.15.87 (affected · semver)6.0.16 to < 6.0.17 (affected · semver)6.1.2 to < 6.1.3 (affected · semver)Default: unaffected | Linux · cna |
Weaknesses
0No weakness assertions.
References
5- https://git.kernel.org/stable/c/1425f1bb5df5239021fd09ebc2a5e8070e705d36
- https://git.kernel.org/stable/c/1ed959fef5b1c6f1a7a3fbea543698c30ebd6678
- https://git.kernel.org/stable/c/246cf66e300b76099b5dbd3fdd39e9a5dbc53f02
- https://git.kernel.org/stable/c/7949b0df3dd9f4817ed4a4e989fa9ee81df6205f
- https://git.kernel.org/stable/c/cfe5b38c37720313eff0dec5517442c7ab3c9a20
Provider assertions
2Linux · cna
block, bfq: fix uaf for bfqq in bfq_exit_icq_bfqq
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d86609a0425fa5b40415c7cb78c4ade88ccb3c09840a1dd582070ddb4a497287
- Ingested
- 15 Oct 2026, 23:26:24 UTC
- Source record
- Official CVE record