{"id":"CVE-2022-50329","summary":"block, bfq: fix uaf for bfqq in bfq_exit_icq_bfqq","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nblock, bfq: fix uaf for bfqq in bfq_exit_icq_bfqq\n\nCommit 64dc8c732f5c (\"block, bfq: fix possible uaf for 'bfqq-\u003ebic'\")\nwill access 'bic-\u003ebfqq' in bic_set_bfqq(), however, bfq_exit_icq_bfqq()\ncan free bfqq first, and then call bic_set_bfqq(), which will cause uaf.\n\nFix the problem by moving bfq_exit_bfqq() behind bic_set_bfqq().","modified":"2026-04-11T12:44:56.150301Z","published":"2025-09-15T14:49:32.123Z","related":["SUSE-SU-2025:03615-1","SUSE-SU-2025:03628-1","SUSE-SU-2025:3716-1","SUSE-SU-2025:3761-1","SUSE-SU-2026:0475-1","SUSE-SU-2026:0495-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50329.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1425f1bb5df5239021fd09ebc2a5e8070e705d36"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1ed959fef5b1c6f1a7a3fbea543698c30ebd6678"},{"type":"WEB","url":"https://git.kernel.org/stable/c/246cf66e300b76099b5dbd3fdd39e9a5dbc53f02"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7949b0df3dd9f4817ed4a4e989fa9ee81df6205f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cfe5b38c37720313eff0dec5517442c7ab3c9a20"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50329.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50329"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"5533742c7cb1bc9b1f0bf401cc397d44a3a9e07a"},{"fixed":"1425f1bb5df5239021fd09ebc2a5e8070e705d36"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"094f3d9314d67691cb21ba091c1b528f6e3c4893"},{"fixed":"7949b0df3dd9f4817ed4a4e989fa9ee81df6205f"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"b22fd72bfebda3956efc4431b60ddfc0a51e03e0"},{"fixed":"cfe5b38c37720313eff0dec5517442c7ab3c9a20"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"761564d93c8265f65543acf0a576b32d66bfa26a"},{"fixed":"1ed959fef5b1c6f1a7a3fbea543698c30ebd6678"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"64dc8c732f5c2b406cc752e6aaa1bd5471159cab"},{"fixed":"246cf66e300b76099b5dbd3fdd39e9a5dbc53f02"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50329.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.15.86"},{"fixed":"5.15.87"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.0.16"},{"fixed":"6.0.17"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.1.2"},{"fixed":"6.1.3"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50329.json"}}],"schema_version":"1.7.5"}