# CVE-2022-48729: IB/hfi1: Fix panic with larger ipoib send\_queue\_size

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.29% (percentile 14, 2026-11-26)
- **Published:** 2024-06-20T11:13:18.072Z
- **Modified:** 2026-08-05T08:52:00.259Z

## Who should check

- Anyone running Linux \>= d47dfc2b00e69001c8eeae71f7e25066ccc36144, \< 1530d84fba1e459ba55f46aa42649b88773210e7; \>= d47dfc2b00e69001c8eeae71f7e25066ccc36144, \< 8c83d39cc730378bbac64d67a551897b203a606e
- Anyone running Linux 5.16

## Description

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

IB/hfi1: Fix panic with larger ipoib send\_queue\_size

When the ipoib send\_queue\_size is increased from the default the following
panic happens:

  RIP: 0010:hfi1\_ipoib\_drain\_tx\_ring+0x45/0xf0 \[hfi1\]
  Code: 31 e4 eb 0f 8b 85 c8 02 00 00 41 83 c4 01 44 39 e0 76 60 8b 8d cc 02 00 00 44 89 e3 be 01 00 00 00 d3 e3 48 03 9d c0 02 00 00 \<c7\> 83 18 01 00 00 00 00 00 00 48 8b bb 30 01 00 00 e8 25 af a7 e0
  RSP: 0018:ffffc9000798f4a0 EFLAGS: 00010286
  RAX: 0000000000008000 RBX: ffffc9000aa0f000 RCX: 000000000000000f
  RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
  RBP: ffff88810ff08000 R08: ffff88889476d900 R09: 0000000000000101
  R10: 0000000000000000 R11: ffffc90006590ff8 R12: 0000000000000200
  R13: ffffc9000798fba8 R14: 0000000000000000 R15: 0000000000000001
  FS:  00007fd0f79cc3c0(0000) GS:ffff88885fb00000(0000) knlGS:0000000000000000
  CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
  CR2: ffffc9000aa0f118 CR3: 0000000889c84001 CR4: 00000000001706e0
  Call Trace:
   \<TASK\>
   hfi1\_ipoib\_napi\_tx\_disable+0x45/0x60 \[hfi1\]
   hfi1\_ipoib\_dev\_stop+0x18/0x80 \[hfi1\]
   ipoib\_ib\_dev\_stop+0x1d/0x40 \[ib\_ipoib\]
   ipoib\_stop+0x48/0xc0 \[ib\_ipoib\]
   \_\_dev\_close\_many+0x9e/0x110
   \_\_dev\_change\_flags+0xd9/0x210
   dev\_change\_flags+0x21/0x60
   do\_setlink+0x31c/0x10f0
   ? \_\_nla\_validate\_parse+0x12d/0x1a0
   ? \_\_nla\_parse+0x21/0x30
   ? inet6\_validate\_link\_af+0x5e/0xf0
   ? cpumask\_next+0x1f/0x20
   ? \_\_snmp6\_fill\_stats64.isra.53+0xbb/0x140
   ? \_\_nla\_validate\_parse+0x47/0x1a0
   \_\_rtnl\_newlink+0x530/0x910
   ? pskb\_expand\_head+0x73/0x300
   ? \_\_kmalloc\_node\_track\_caller+0x109/0x280
   ? \_\_nla\_put+0xc/0x20
   ? cpumask\_next\_and+0x20/0x30
   ? update\_sd\_lb\_stats.constprop.144+0xd3/0x820
   ? \_raw\_spin\_unlock\_irqrestore+0x25/0x37
   ? \_\_wake\_up\_common\_lock+0x87/0xc0
   ? kmem\_cache\_alloc\_trace+0x3d/0x3d0
   rtnl\_newlink+0x43/0x60

The issue happens when the shift that should have been a function of the
txq item size mistakenly used the ring size.

Fix by using the item size.

## Affected and fixed versions

- Linux: \>= d47dfc2b00e69001c8eeae71f7e25066ccc36144, \< 1530d84fba1e459ba55f46aa42649b88773210e7; \>= d47dfc2b00e69001c8eeae71f7e25066ccc36144, \< 8c83d39cc730378bbac64d67a551897b203a606e (cvelist)
- Linux: 5.16 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2022-48729.md
Affected: Linux >= d47dfc2b00e69001c8eeae71f7e25066ccc36144, < 1530d84fba1e459ba55f46aa42649b88773210e7; >= d47dfc2b00e69001c8eeae71f7e25066ccc36144, < 8c83d39cc730378bbac64d67a551897b203a606e; Linux 5.16
Fixed in: Linux 1530d84fba1e459ba55f46aa42649b88773210e7, Linux 8c83d39cc730378bbac64d67a551897b203a606e

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

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

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

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= d47dfc2b00e69001c8eeae71f7e25066ccc36144, \< 1530d84fba1e459ba55f46aa42649b88773210e7; \>= d47dfc2b00e69001c8eeae71f7e25066ccc36144, \< 8c83d39cc730378bbac64d67a551897b203a606e; Linux 5.16.

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

Yes. Fixed in Linux 1530d84fba1e459ba55f46aa42649b88773210e7, Linux 8c83d39cc730378bbac64d67a551897b203a606e. Upgrade Linux to 8c83d39cc730378bbac64d67a551897b203a606e or later.

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

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/1530d84fba1e459ba55f46aa42649b88773210e7>
- patch: <https://git.kernel.org/stable/c/8c83d39cc730378bbac64d67a551897b203a606e>

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

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