7.5

CVE-2022-50885: RDMA/rxe: Fix NULL-ptr-deref in rxe_qp_do_cleanup() when socket create failed

Deferred
AliasesUBUNTU-CVE-2022-50885DEBIAN-CVE-2022-50885
Published 30-12-2025Last modified 15-10-2026

Vulnerability summary

CVE-2022-50885 is a high (CVSS 7.5) vulnerability in linux. EPSS estimates a 0.60% chance of exploitation in the next 30 days, higher than 48.7% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 03-11-2026)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
0.60%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 6 · Related 5

Timeline

  1. 30-12-2025
    PublishedVulnerability first disclosed.
  2. 15-10-2026
    Last modifiedVulnerability information updated.

Description

In the Linux kernel, the following vulnerability has been resolved: RDMA/rxe: Fix NULL-ptr-deref in rxe_qp_do_cleanup() when socket create failed There is a null-ptr-deref when mount.cifs over rdma: BUG: KASAN: null-ptr-deref in rxe_qp_do_cleanup+0x2f3/0x360 [rdma_rxe] Read of size 8 at addr 0000000000000018 by task mount.cifs/3046 CPU: 2 PID: 3046 Comm: mount.cifs Not tainted 6.1.0-rc5+ #62 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.14.0-1.fc3 Call Trace: <TASK> dump_stack_lvl+0x34/0x44 kasan_report+0xad/0x130 rxe_qp_do_cleanup+0x2f3/0x360 [rdma_rxe] execute_in_process_context+0x25/0x90 __rxe_cleanup+0x101/0x1d0 [rdma_rxe] rxe_create_qp+0x16a/0x180 [rdma_rxe] create_qp.part.0+0x27d/0x340 ib_create_qp_kernel+0x73/0x160 rdma_create_qp+0x100/0x230 _smbd_get_connection+0x752/0x20f0 smbd_get_connection+0x21/0x40 cifs_get_tcp_session+0x8ef/0xda0 mount_get_conns+0x60/0x750 cifs_mount+0x103/0xd00 cifs_smb3_do_mount+0x1dd/0xcb0 smb3_get_tree+0x1d5/0x300 vfs_get_tree+0x41/0xf0 path_mount+0x9b3/0xdd0 __x64_sys_mount+0x190/0x1d0 do_syscall_64+0x35/0x80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 The root cause of the issue is the socket create failed in rxe_qp_init_req(). So move the reset rxe_qp_do_cleanup() after the NULL ptr check.

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

0.60%

Chance of exploitation in the next 30 days

Percentile

49%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.60% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu120 products
  • linux< 4.15.0-208.220 | < 5.4.0-144.161 | < 5.15.0-69.76
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-aws< 4.15.0-1153.166 | < 5.4.0-1097.105 | < 5.15.0-1033.37
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Debian1 product
  • linux< 6.1.4-1
Linux1 product
  • linux≥ 8700e3e7c4857d28ebaa824509934556da0b3e76, < ee24de095569935eba600f7735e8e8ddea5b418e | ≥ 8700e3e7c4857d28ebaa824509934556da0b3e76, < 7340ca9f782be6fbe3f64a134dc112772764f766 | ≥ 8700e3e7c4857d28ebaa824509934556da0b3e76, < bd7106a6004f1077a365ca7f5a99c7a708e20714 | ≥ 8700e3e7c4857d28ebaa824509934556da0b3e76, < 6bb5a62bfd624039b05157745c234068508393a9 | ≥ 8700e3e7c4857d28ebaa824509934556da0b3e76, < f64f08b9e6fb305a25dd75329e06ae342b9ce336 | ≥ 8700e3e7c4857d28ebaa824509934556da0b3e76, < 5b924632d84a60bc0c7fe6e9bbbce99d03908957 | ≥ 8700e3e7c4857d28ebaa824509934556da0b3e76, < 821f9a18210f6b9fd6792471714c799607b25db4 | ≥ 8700e3e7c4857d28ebaa824509934556da0b3e76, < f67376d801499f4fa0838c18c1efcad8840e550d | 4.8

3 vendors · 122 products

References

12 links
Show all 12 references