{"id":"CVE-2022-50127","aliases":["CVE-2022-50127"],"related":[],"kind":"vulnerability","state":"published","title":"RDMA/rxe: Fix error unwind in rxe_create_qp()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/rxe: Fix error unwind in rxe_create_qp()\n\nIn the function rxe_create_qp(), rxe_qp_from_init() is called to\ninitialize qp, internally things like the spin locks are not setup until\nrxe_qp_init_req().\n\nIf an error occures before this point then the unwind will call\nrxe_cleanup() and eventually to rxe_qp_do_cleanup()/rxe_cleanup_task()\nwhich will oops when trying to access the uninitialized spinlock.\n\nMove the spinlock initializations earlier before any failures.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/rxe: Fix error unwind in rxe_create_qp()\n\nIn the function rxe_create_qp(), rxe_qp_from_init() is called to\ninitialize qp, internally things like the spin locks are not setup until\nrxe_qp_init_req().\n\nIf an error occures before this point then the unwind will call\nrxe_cleanup() and eventually to rxe_qp_do_cleanup()/rxe_cleanup_task()\nwhich will oops when trying to access the uninitialized spinlock.\n\nMove the spinlock initializations earlier before any failures.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: RDMA/rxe: Corrección del error de desenrollado en rxe_create_qp(). En la función rxe_create_qp(), se llama a rxe_qp_from_init() para inicializar qp. Internamente, elementos como los bloqueos de giro no se configuran hasta rxe_qp_init_req(). Si se produce un error antes de este punto, el desenrollado llamará a rxe_cleanup() y, finalmente, a rxe_qp_do_cleanup()/rxe_cleanup_task(), lo que generará un error al intentar acceder al bloqueo de giro no inicializado. Se deben adelantar las inicializaciones de los bloqueos de giro para evitar cualquier fallo.","source":"nvd"}],"published":"2025-06-18T11:02:54.332Z","modified":"2026-11-05T20:17:24.537Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-908"],"affected":[{"ranges":[{"type":"git","introduced":"8700e3e7c4857d28ebaa824509934556da0b3e76","fixed":"3c838ca6fbdb173102780d7bdf18f2f7d9e30979","status":"affected"},{"type":"git","introduced":"8700e3e7c4857d28ebaa824509934556da0b3e76","fixed":"1a63f24e724f677db1ab21251f4d0011ae0bb5b5","status":"affected"},{"type":"git","introduced":"8700e3e7c4857d28ebaa824509934556da0b3e76","fixed":"b348e204a53103f51070513a7494da7c62ecbdaa","status":"affected"},{"type":"git","introduced":"8700e3e7c4857d28ebaa824509934556da0b3e76","fixed":"3ef491b26c720a87fcfbd78b7dc8eb83d9753fe6","status":"affected"},{"type":"git","introduced":"8700e3e7c4857d28ebaa824509934556da0b3e76","fixed":"2ceeb04252e621c0b128ecc8fedbca922d11adba","status":"affected"},{"type":"git","introduced":"8700e3e7c4857d28ebaa824509934556da0b3e76","fixed":"db924bd8484c76558a4ac4c4b5aeb52e857f0341","status":"affected"},{"type":"git","introduced":"8700e3e7c4857d28ebaa824509934556da0b3e76","fixed":"f05b7cf02123aaf99db78abfe638efefdbe15555","status":"affected"},{"type":"git","introduced":"8700e3e7c4857d28ebaa824509934556da0b3e76","fixed":"fd5382c5805c4bcb50fd25b7246247d3f7114733","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.8","status":"unaffected"},{"type":"semver","introduced":"4.14.291","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.256","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.211","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.137","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.61","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.18.18","lastAffected":"5.18.*","status":"unaffected"},{"type":"semver","introduced":"5.19.2","lastAffected":"5.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.8","fixed":"4.14.291"},{"status":"affected","introduced":"4.15","fixed":"4.19.256"},{"status":"affected","introduced":"4.20","fixed":"5.4.211"},{"status":"affected","introduced":"5.5","fixed":"5.10.137"},{"status":"affected","introduced":"5.11","fixed":"5.15.61"},{"status":"affected","introduced":"5.16","fixed":"5.18.18"},{"status":"affected","introduced":"5.19","fixed":"5.19.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/3c838ca6fbdb173102780d7bdf18f2f7d9e30979","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1a63f24e724f677db1ab21251f4d0011ae0bb5b5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b348e204a53103f51070513a7494da7c62ecbdaa","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3ef491b26c720a87fcfbd78b7dc8eb83d9753fe6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2ceeb04252e621c0b128ecc8fedbca922d11adba","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/db924bd8484c76558a4ac4c4b5aeb52e857f0341","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f05b7cf02123aaf99db78abfe638efefdbe15555","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fd5382c5805c4bcb50fd25b7246247d3f7114733","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T19:54:52.920Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50127","url":"https://www.cve.org/CVERecord?id=CVE-2022-50127","licence":"CVE Terms of Use","modified":"2026-11-05T20:00:17.805Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50127","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50127","licence":"Public domain","modified":"2026-11-05T20:17:24.537Z"}],"updatedAt":"2026-11-25T22:58:21.066Z","epss":{"score":0.00205,"percentile":0.11049,"date":"2026-12-01T12:00:22.000Z"}}