# CVE-2022-48692: RDMA/srp: Set scmnd-\>result only when scmnd is not NULL

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.85% (percentile 55, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2024-05-03T15:05:31.107Z
- **Modified:** 2026-08-05T08:51:46.193Z

## Who should check

- Anyone running Linux \>= 81982125c352f2db1012c2cd37487e6c0c3b7da8, \< f022576aa03c2385ea7f2b27ee5b331e43abf624; \>= ad215aaea4f9d637f441566cdbbc610e9849e1fa, \< a8edd49c94b4b08019ed7d6dd794fca8078a4deb; \>= ad215aaea4f9d637f441566cdbbc610e9849e1fa, \< f2c70f56f762e5dc3b0d7dc438fbb137cb116413; \>= ad215aaea4f9d637f441566cdbbc610e9849e1fa, \< 12f35199a2c0551187edbf8eb01379f0598659fa
- Anyone running Linux 5.14

## Description

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

RDMA/srp: Set scmnd-\>result only when scmnd is not NULL

This change fixes the following kernel NULL pointer dereference
which is reproduced by blktests srp/007 occasionally.

BUG: kernel NULL pointer dereference, address: 0000000000000170
PGD 0 P4D 0
Oops: 0002 \[\#1\] PREEMPT SMP NOPTI
CPU: 0 PID: 9 Comm: kworker/0:1H Kdump: loaded Not tainted 6.0.0-rc1+ \#37
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.15.0-29-g6a62e0cb0dfe-prebuilt.qemu.org 04/01/2014
Workqueue:  0x0 (kblockd)
RIP: 0010:srp\_recv\_done+0x176/0x500 \[ib\_srp\]
Code: 00 4d 85 ff 0f 84 52 02 00 00 48 c7 82 80 02 00 00 00 00 00 00 4c 89 df 4c 89 14 24 e8 53 d3 4a f6 4c 8b 14 24 41 0f b6 42 13 \<41\> 89 87 70 01 00 00 41 0f b6 52 12 f6 c2 02 74 44 41 8b 42 1c b9
RSP: 0018:ffffaef7c0003e28 EFLAGS: 00000282
RAX: 0000000000000000 RBX: ffff9bc9486dea60 RCX: 0000000000000000
RDX: 0000000000000102 RSI: ffffffffb76bbd0e RDI: 00000000ffffffff
RBP: ffff9bc980099a00 R08: 0000000000000001 R09: 0000000000000001
R10: ffff9bca53ef0000 R11: ffff9bc980099a10 R12: ffff9bc956e14000
R13: ffff9bc9836b9cb0 R14: ffff9bc9557b4480 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff9bc97ec00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000170 CR3: 0000000007e04000 CR4: 00000000000006f0
Call Trace:
 \<IRQ\>
 \_\_ib\_process\_cq+0xb7/0x280 \[ib\_core\]
 ib\_poll\_handler+0x2b/0x130 \[ib\_core\]
 irq\_poll\_softirq+0x93/0x150
 \_\_do\_softirq+0xee/0x4b8
 irq\_exit\_rcu+0xf7/0x130
 sysvec\_apic\_timer\_interrupt+0x8e/0xc0
 \</IRQ\>

## Affected and fixed versions

- Linux: \>= 81982125c352f2db1012c2cd37487e6c0c3b7da8, \< f022576aa03c2385ea7f2b27ee5b331e43abf624; \>= ad215aaea4f9d637f441566cdbbc610e9849e1fa, \< a8edd49c94b4b08019ed7d6dd794fca8078a4deb; \>= ad215aaea4f9d637f441566cdbbc610e9849e1fa, \< f2c70f56f762e5dc3b0d7dc438fbb137cb116413; \>= ad215aaea4f9d637f441566cdbbc610e9849e1fa, \< 12f35199a2c0551187edbf8eb01379f0598659fa (cvelist)
- Linux: 5.14 (cvelist)

## Mitigation

- Upgrade Linux to 12f35199a2c0551187edbf8eb01379f0598659fa or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-48692. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-48692.md
Affected: Linux >= 81982125c352f2db1012c2cd37487e6c0c3b7da8, < f022576aa03c2385ea7f2b27ee5b331e43abf624; >= ad215aaea4f9d637f441566cdbbc610e9849e1fa, < a8edd49c94b4b08019ed7d6dd794fca8078a4deb; >= ad215aaea4f9d637f441566cdbbc610e9849e1fa, < f2c70f56f762e5dc3b0d7dc438fbb137cb116413; >= ad215aaea4f9d637f441566…
Fixed in: Linux 12f35199a2c0551187edbf8eb01379f0598659fa

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-48692 being exploited?

There is no confirmed exploitation: CVE-2022-48692 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.85% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-48692?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2022-48692?

Linux \>= 81982125c352f2db1012c2cd37487e6c0c3b7da8, \< f022576aa03c2385ea7f2b27ee5b331e43abf624; \>= ad215aaea4f9d637f441566cdbbc610e9849e1fa, \< a8edd49c94b4b08019ed7d6dd794fca8078a4deb; \>= ad215aaea4f9d637f441566cdbbc610e9849e1fa, \< f2c70f56f762e5dc3b0d7dc438fbb137cb116413; \>= ad215aaea4f9d637f441566cdbbc610e9849e1fa, \< 12f35199a2c0551187edbf8eb01379f0598659fa; Linux 5.14.

### Is there a fix for CVE-2022-48692?

Yes. Fixed in Linux 12f35199a2c0551187edbf8eb01379f0598659fa. Upgrade Linux to 12f35199a2c0551187edbf8eb01379f0598659fa or later.

### How do I check if I'm affected by CVE-2022-48692?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/f022576aa03c2385ea7f2b27ee5b331e43abf624>
- patch: <https://git.kernel.org/stable/c/a8edd49c94b4b08019ed7d6dd794fca8078a4deb>
- patch: <https://git.kernel.org/stable/c/f2c70f56f762e5dc3b0d7dc438fbb137cb116413>
- patch: <https://git.kernel.org/stable/c/12f35199a2c0551187edbf8eb01379f0598659fa>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-48692>

HTML: <https://flawdb.com/CVE-2022-48692> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-48692>
