# CVE-2022-48675: IB/core: Fix a nested dead lock as part of ODP flow

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; 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:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.23% (percentile 8, 2026-11-26)
- **CWE:** CWE-667
- **Published:** 2024-05-03T14:52:06.518Z
- **Modified:** 2026-06-17T05:15:53.930Z

## Who should check

- Anyone running Linux \>= 36f30e486dce22345c2dd3a3ba439c12cd67f6ba, \< e8de6cb5755eae7b793d8c00c8696c8667d44a7f; \>= 36f30e486dce22345c2dd3a3ba439c12cd67f6ba, \< 819110054b14d7272b4188db997a3d80f75ab785; \>= 36f30e486dce22345c2dd3a3ba439c12cd67f6ba, \< 83c43fd872e32c8071d5582eb7c40f573a8342f3; \>= 36f30e486dce22345c2dd3a3ba439c12cd67f6ba, \< 85eaeb5058f0f04dffb124c97c86b4f18db0b833
- Anyone running Linux 5.10

## Description

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

IB/core: Fix a nested dead lock as part of ODP flow

Fix a nested dead lock as part of ODP flow by using mmput\_async().

From the below call trace \[1\] can see that calling mmput() once we have
the umem\_odp-\>umem\_mutex locked as required by
ib\_umem\_odp\_map\_dma\_and\_lock() might trigger in the same task the
exit\_mmap()-\>\_\_mmu\_notifier\_release()-\>mlx5\_ib\_invalidate\_range() which
may dead lock when trying to lock the same mutex.

Moving to use mmput\_async() will solve the problem as the above
exit\_mmap() flow will be called in other task and will be executed once
the lock will be available.

\[1\]
\[64843.077665\] task:kworker/u133:2  state:D stack:    0 pid:80906 ppid:
2 flags:0x00004000
\[64843.077672\] Workqueue: mlx5\_ib\_page\_fault mlx5\_ib\_eqe\_pf\_action \[mlx5\_ib\]
\[64843.077719\] Call Trace:
\[64843.077722\]  \<TASK\>
\[64843.077724\]  \_\_schedule+0x23d/0x590
\[64843.077729\]  schedule+0x4e/0xb0
\[64843.077735\]  schedule\_preempt\_disabled+0xe/0x10
\[64843.077740\]  \_\_mutex\_lock.constprop.0+0x263/0x490
\[64843.077747\]  \_\_mutex\_lock\_slowpath+0x13/0x20
\[64843.077752\]  mutex\_lock+0x34/0x40
\[64843.077758\]  mlx5\_ib\_invalidate\_range+0x48/0x270 \[mlx5\_ib\]
\[64843.077808\]  \_\_mmu\_notifier\_release+0x1a4/0x200
\[64843.077816\]  exit\_mmap+0x1bc/0x200
\[64843.077822\]  ? walk\_page\_range+0x9c/0x120
\[64843.077828\]  ? \_\_cond\_resched+0x1a/0x50
\[64843.077833\]  ? mutex\_lock+0x13/0x40
\[64843.077839\]  ? uprobe\_clear\_state+0xac/0x120
\[64843.077860\]  mmput+0x5f/0x140
\[64843.077867\]  ib\_umem\_odp\_map\_dma\_and\_lock+0x21b/0x580 \[ib\_core\]
\[64843.077931\]  pagefault\_real\_mr+0x9a/0x140 \[mlx5\_ib\]
\[64843.077962\]  pagefault\_mr+0xb4/0x550 \[mlx5\_ib\]
\[64843.077992\]  pagefault\_single\_data\_segment.constprop.0+0x2ac/0x560
\[mlx5\_ib\]
\[64843.078022\]  mlx5\_ib\_eqe\_pf\_action+0x528/0x780 \[mlx5\_ib\]
\[64843.078051\]  process\_one\_work+0x22b/0x3d0
\[64843.078059\]  worker\_thread+0x53/0x410
\[64843.078065\]  ? process\_one\_work+0x3d0/0x3d0
\[64843.078073\]  kthread+0x12a/0x150
\[64843.078079\]  ? set\_kthread\_struct+0x50/0x50
\[64843.078085\]  ret\_from\_fork+0x22/0x30
\[64843.078093\]  \</TASK\>

## Affected and fixed versions

- Linux: \>= 36f30e486dce22345c2dd3a3ba439c12cd67f6ba, \< e8de6cb5755eae7b793d8c00c8696c8667d44a7f; \>= 36f30e486dce22345c2dd3a3ba439c12cd67f6ba, \< 819110054b14d7272b4188db997a3d80f75ab785; \>= 36f30e486dce22345c2dd3a3ba439c12cd67f6ba, \< 83c43fd872e32c8071d5582eb7c40f573a8342f3; \>= 36f30e486dce22345c2dd3a3ba439c12cd67f6ba, \< 85eaeb5058f0f04dffb124c97c86b4f18db0b833 (cvelist)
- Linux: 5.10 (cvelist)

## Mitigation

- Upgrade Linux to 85eaeb5058f0f04dffb124c97c86b4f18db0b833 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-48675. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-48675.md
Affected: Linux >= 36f30e486dce22345c2dd3a3ba439c12cd67f6ba, < e8de6cb5755eae7b793d8c00c8696c8667d44a7f; >= 36f30e486dce22345c2dd3a3ba439c12cd67f6ba, < 819110054b14d7272b4188db997a3d80f75ab785; >= 36f30e486dce22345c2dd3a3ba439c12cd67f6ba, < 83c43fd872e32c8071d5582eb7c40f573a8342f3; >= 36f30e486dce22345c2dd3a…
Fixed in: Linux 819110054b14d7272b4188db997a3d80f75ab785, Linux 83c43fd872e32c8071d5582eb7c40f573a8342f3, Linux 85eaeb5058f0f04dffb124c97c86b4f18db0b833

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-48675 being exploited?

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

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

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 36f30e486dce22345c2dd3a3ba439c12cd67f6ba, \< e8de6cb5755eae7b793d8c00c8696c8667d44a7f; \>= 36f30e486dce22345c2dd3a3ba439c12cd67f6ba, \< 819110054b14d7272b4188db997a3d80f75ab785; \>= 36f30e486dce22345c2dd3a3ba439c12cd67f6ba, \< 83c43fd872e32c8071d5582eb7c40f573a8342f3; \>= 36f30e486dce22345c2dd3a3ba439c12cd67f6ba, \< 85eaeb5058f0f04dffb124c97c86b4f18db0b833; Linux 5.10.

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

Yes. Fixed in Linux 819110054b14d7272b4188db997a3d80f75ab785, Linux 83c43fd872e32c8071d5582eb7c40f573a8342f3, Linux 85eaeb5058f0f04dffb124c97c86b4f18db0b833. Upgrade Linux to 85eaeb5058f0f04dffb124c97c86b4f18db0b833 or later.

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

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/e8de6cb5755eae7b793d8c00c8696c8667d44a7f>
- patch: <https://git.kernel.org/stable/c/819110054b14d7272b4188db997a3d80f75ab785>
- patch: <https://git.kernel.org/stable/c/83c43fd872e32c8071d5582eb7c40f573a8342f3>
- patch: <https://git.kernel.org/stable/c/85eaeb5058f0f04dffb124c97c86b4f18db0b833>

## 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-48675>

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