Review reviewHigh

CVE-2022-48925

Linux Linux, linux kernel

In the Linux kernel, the following vulnerability has been resolved: RDMA/cma: Do not change route.addr.src_addr outside state checks If the state is not idle then resolve_prepare_src() should immediately fail and no change to global state should happen. However, it unconditionally overwrites the src_addr trying to build a temporary any address. For instance if the state is already RDMA_CM_LISTEN then this will corrupt the src_addr and would cause the test in cma_cancel_operation(): if (cma_any_addr(cma_src_addr(id_priv)) && !id_priv->cma_dev) Which would manifest as this trace from syzkalle...

CVSS
7.8
EPSS
0.22%
12.8% percentile
CISA KEV
Not listed
Published
2024.08.22
PRIORITY ASSESSMENT

Review review

The CVSS severity warrants an early asset and exposure review.

Known exploitationNot established by KEV
Exploit probability0.22%
Technical severityCVSS 7.8

Vulnerability overview

In the Linux kernel, the following vulnerability has been resolved: RDMA/cma: Do not change route.addr.src_addr outside state checks If the state is not idle then resolve_prepare_src() should immediately fail and no change to global state should happen. However, it unconditionally overwrites the src_addr trying to build a temporary any address. For instance if the state is already RDMA_CM_LISTEN then this will corrupt the src_addr and would cause the test in cma_cancel_operation(): if (cma_any_addr(cma_src_addr(id_priv)) && !id_priv->cma_dev) Which would manifest as this trace from syzkalle...

Affected product and versions

Product
Linux Linux, linux kernel
Affected versions
>= 732d41c545bb359cbb8c94698bdc1f8bcf82279c < 5b1cef5798b4fd6e4fd5522e7b8a26248beeacaa, >= 732d41c545bb359cbb8c94698bdc1f8bcf82279c < 00265efbd3e5705038c9492a434fda8cf960c8a2, >= 732d41c545bb359cbb8c94698bdc1f8bcf82279c < d350724795c7a48b05bf921d94699fbfecf7da0b, >= 732d41c545bb359cbb8c94698bdc1f8bcf82279c < 22e9f71072fa605cbf033158db58e0790101928d, >= 5.10, >= 5.10 < 5.10.103, >= 5.11 < 5.15.26, >= 5.16 < 5.16.12
Fixed versions
5.10.103, 5.15.26, 5.16.12

Recommended response sequence

Confirm exposure before applying a vendor-supported change.

Full remediation guide
  1. 1
    Identify

    Confirm that Linux Linux, linux kernel and an affected version are present.

  2. 2
    Prioritize

    Combine exploitation signals with asset exposure and business criticality.

  3. 3
    Remediate

    Follow the vendor advisory or supported update path and preserve rollback options.

  4. 4
    Verify

    Recheck the version, service health, access paths, and relevant logs.

Technical data

CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE
CWE-416
CVE-2022-48925 — Linux Linux, linux kernel | SECUFOCUS NOW