# CVE-2022-48811: ibmvnic: don't release napi in \_\_ibmvnic\_open()

> 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.30% (percentile 16, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2024-07-16T11:44:01.224Z
- **Modified:** 2026-06-17T05:16:15.343Z

## Who should check

- Anyone running Linux \>= ed651a10875f13135a5f59c1bae4d51b377b3925, \< 960dfaf3b578dd23af012590e809ae2d58ba1827; \>= ed651a10875f13135a5f59c1bae4d51b377b3925, \< e08cb9056fb2564d1f6bad789bdf79ab09bf2f81; \>= ed651a10875f13135a5f59c1bae4d51b377b3925, \< 61772b0908c640d0309c40f7d41d062ca4e979fa
- Anyone running Linux 4.12

## Description

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

ibmvnic: don't release napi in \_\_ibmvnic\_open()

If \_\_ibmvnic\_open() encounters an error such as when setting link state,
it calls release\_resources() which frees the napi structures needlessly.
Instead, have \_\_ibmvnic\_open() only clean up the work it did so far (i.e.
disable napi and irqs) and leave the rest to the callers.

If caller of \_\_ibmvnic\_open() is ibmvnic\_open(), it should release the
resources immediately. If the caller is do\_reset() or do\_hard\_reset(),
they will release the resources on the next reset.

This fixes following crash that occurred when running the drmgr command
several times to add/remove a vnic interface:

	\[102056\] ibmvnic 30000003 env3: Disabling rx\_scrq\[6\] irq
	\[102056\] ibmvnic 30000003 env3: Disabling rx\_scrq\[7\] irq
	\[102056\] ibmvnic 30000003 env3: Replenished 8 pools
	Kernel attempted to read user page (10) - exploit attempt? (uid: 0)
	BUG: Kernel NULL pointer dereference on read at 0x00000010
	Faulting instruction address: 0xc000000000a3c840
	Oops: Kernel access of bad area, sig: 11 \[\#1\]
	LE PAGE\_SIZE=64K MMU=Radix SMP NR\_CPUS=2048 NUMA pSeries
	...
	CPU: 9 PID: 102056 Comm: kworker/9:2 Kdump: loaded Not tainted 5.16.0-rc5-autotest-g6441998e2e37 \#1
	Workqueue: events\_long \_\_ibmvnic\_reset \[ibmvnic\]
	NIP:  c000000000a3c840 LR: c0080000029b5378 CTR: c000000000a3c820
	REGS: c0000000548e37e0 TRAP: 0300   Not tainted  (5.16.0-rc5-autotest-g6441998e2e37)
	MSR:  8000000000009033 \<SF,EE,ME,IR,DR,RI,LE\>  CR: 28248484  XER: 00000004
	CFAR: c0080000029bdd24 DAR: 0000000000000010 DSISR: 40000000 IRQMASK: 0
	GPR00: c0080000029b55d0 c0000000548e3a80 c0000000028f0200 0000000000000000
	...
	NIP \[c000000000a3c840\] napi\_enable+0x20/0xc0
	LR \[c0080000029b5378\] \_\_ibmvnic\_open+0xf0/0x430 \[ibmvnic\]
	Call Trace:
	\[c0000000548e3a80\] \[0000000000000006\] 0x6 (unreliable)
	\[c0000000548e3ab0\] \[c0080000029b55d0\] \_\_ibmvnic\_open+0x348/0x430 \[ibmvnic\]
	\[c0000000548e3b40\] \[c0080000029bcc28\] \_\_ibmvnic\_reset+0x500/0xdf0 \[ibmvnic\]
	\[c0000000548e3c60\] \[c000000000176228\] process\_one\_work+0x288/0x570
	\[c0000000548e3d00\] \[c000000000176588\] worker\_thread+0x78/0x660
	\[c0000000548e3da0\] \[c0000000001822f0\] kthread+0x1c0/0x1d0
	\[c0000000548e3e10\] \[c00000000000cf64\] ret\_from\_kernel\_thread+0x5c/0x64
	Instruction dump:
	7d2948f8 792307e0 4e800020 60000000 3c4c01eb 384239e0 f821ffd1 39430010
	38a0fff6 e92d1100 f9210028 39200000 \<e9030010\> f9010020 60420000 e9210020
	---\[ end trace 5f8033b08fd27706 \]---

## Affected and fixed versions

- Linux: \>= ed651a10875f13135a5f59c1bae4d51b377b3925, \< 960dfaf3b578dd23af012590e809ae2d58ba1827; \>= ed651a10875f13135a5f59c1bae4d51b377b3925, \< e08cb9056fb2564d1f6bad789bdf79ab09bf2f81; \>= ed651a10875f13135a5f59c1bae4d51b377b3925, \< 61772b0908c640d0309c40f7d41d062ca4e979fa (cvelist)
- Linux: 4.12 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2022-48811.md
Affected: Linux >= ed651a10875f13135a5f59c1bae4d51b377b3925, < 960dfaf3b578dd23af012590e809ae2d58ba1827; >= ed651a10875f13135a5f59c1bae4d51b377b3925, < e08cb9056fb2564d1f6bad789bdf79ab09bf2f81; >= ed651a10875f13135a5f59c1bae4d51b377b3925, < 61772b0908c640d0309c40f7d41d062ca4e979fa; Linux 4.12
Fixed in: Linux 960dfaf3b578dd23af012590e809ae2d58ba1827, Linux 61772b0908c640d0309c40f7d41d062ca4e979fa

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

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

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

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

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

Linux \>= ed651a10875f13135a5f59c1bae4d51b377b3925, \< 960dfaf3b578dd23af012590e809ae2d58ba1827; \>= ed651a10875f13135a5f59c1bae4d51b377b3925, \< e08cb9056fb2564d1f6bad789bdf79ab09bf2f81; \>= ed651a10875f13135a5f59c1bae4d51b377b3925, \< 61772b0908c640d0309c40f7d41d062ca4e979fa; Linux 4.12.

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

Yes. Fixed in Linux 960dfaf3b578dd23af012590e809ae2d58ba1827, Linux 61772b0908c640d0309c40f7d41d062ca4e979fa. Upgrade Linux to 61772b0908c640d0309c40f7d41d062ca4e979fa or later.

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

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/960dfaf3b578dd23af012590e809ae2d58ba1827>
- patch: <https://git.kernel.org/stable/c/e08cb9056fb2564d1f6bad789bdf79ab09bf2f81>
- patch: <https://git.kernel.org/stable/c/61772b0908c640d0309c40f7d41d062ca4e979fa>

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

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