CVE-2022-50671

Source
https://cve.org/CVERecord?id=CVE-2022-50671
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50671.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-50671
Downstream
Related
Published
2025-12-09T01:29:22.950Z
Modified
2026-03-12T03:26:47.569824Z
Summary
RDMA/rxe: Fix "kernel NULL pointer dereference" error
Details

In the Linux kernel, the following vulnerability has been resolved:

RDMA/rxe: Fix "kernel NULL pointer dereference" error

When rxequeueinit in the function rxeqpinit_req fails, both qp->req.task.func and qp->req.task.arg are not initialized.

Because of creation of qp fails, the function rxecreateqp will call rxeqpdo_cleanup to handle allocated resource.

Before calling __rxedotask, both qp->req.task.func and qp->req.task.arg should be checked.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50671.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / 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
8700e3e7c4857d28ebaa824509934556da0b3e76
Fixed
48cd7098e71735ccafa0b3cf27c53924f9cb5b2f
Fixed
eca119693010032d6cc6e7e9b4fb2c363c7e12ce
Fixed
9c5dd6993c794703e74c6ba17ac78ca0211ef940
Fixed
0d773c58d702f0a7c16ee8d69617fd2c28350795
Fixed
cdce36a88def550773142a34ef727a830cad96a8
Fixed
f2f405af70e6f0419e718d23fa304798a5405c41
Fixed
bb33fa65da77f5f02dbee6f25cebaeedfcd70028
Fixed
3b8752f086eb6865cc3662ad13249b03024501e5
Fixed
a625ca30eff806395175ebad3ac1399014bdb280

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50671.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.8.0
Fixed
4.9.331
Type
ECOSYSTEM
Events
Introduced
4.10.0
Fixed
4.14.296
Type
ECOSYSTEM
Events
Introduced
4.15.0
Fixed
4.19.262
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.220
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.150
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.75
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
5.19.17
Type
ECOSYSTEM
Events
Introduced
5.20.0
Fixed
6.0.3

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50671.json"