HomeDefectsLIN1025-1951
Acknowledged

LIN1025-1951 : Security Advisory - linux - CVE-2022-50135

Created: Jun 18, 2025    Updated: Sep 4, 2026
Resolved Date: Jun 19, 2025
Found In Version: 10.25.33.1
Severity: Standard
Applicable for: Wind River Linux LTS 25
Component/s: Kernel

Description

In the Linux kernel, the following vulnerability has been resolved:EOL][EOL]RDMA/rxe: Fix BUG: KASAN: null-ptr-deref in rxe_qp_do_cleanup[EOL][EOL]The function rxe_create_qp calls rxe_qp_from_init. If some error[EOL]occurs, the error handler of function rxe_qp_from_init will set[EOL]both scq and rcq to NULL.[EOL][EOL]Then rxe_create_qp calls rxe_put to handle qp. In the end,[EOL]rxe_qp_do_cleanup is called by rxe_put. rxe_qp_do_cleanup directly[EOL]accesses scq and rcq before checking them. This will cause[EOL]null-ptr-deref error.[EOL][EOL]The call graph is as below:[EOL][EOL]rxe_create_qp {[EOL]  ...[EOL]  rxe_qp_from_init {[EOL]    ...[EOL]  err1:[EOL]    ...[EOL]    qp->rcq = NULL;  <---rcq is set to NULL[EOL]    qp->scq = NULL;  <---scq is set to NULL[EOL]    ...[EOL]  }[EOL][EOL]qp_init:[EOL]  rxe_put{[EOL]    ...[EOL]    rxe_qp_do_cleanup {[EOL]      ...[EOL]      atomic_dec(&qp->scq->num_wq); <--- scq is accessed[EOL]      ...[EOL]      atomic_dec(&qp->rcq->num_wq); <--- rcq is accessed[EOL]    }[EOL]}

CREATE(Triage):(User=lchen-cn) [CVE-2022-50135 (https://nvd.nist.gov/vuln/detail/CVE-2022-50135)