# CVE-2022-49649: xen/netback: avoid entering xenvif\_rx\_next\_skb() with an empty rx queue

> 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, CNA) `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.28% (percentile 13, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2025-02-26T02:23:52.531Z
- **Modified:** 2026-06-17T05:18:44.933Z

## Who should check

- Anyone running Linux \>= 98f6d57ced73b723551568262019f1d6c8771f20, \< c0fcceb5f3f1ec197c014fe218c2f28108cacd27; \>= 98f6d57ced73b723551568262019f1d6c8771f20, \< d5320c6a27aa975aff740f9cb481dcbde48f4348; \>= 98f6d57ced73b723551568262019f1d6c8771f20, \< 5a071aefd6414af5a20321ab58a0557b81993687; \>= 98f6d57ced73b723551568262019f1d6c8771f20, \< 7425479d20f9e96f7c3ec8e8a93fe0d7478724cb; \>= 98f6d57ced73b723551568262019f1d6c8771f20, \< b9c32a6886af79d6e0ad87a7b01800ed079cdd02; \>= 98f6d57ced73b723551568262019f1d6c8771f20, \< b99174ac57fe5d8867448c03b23828e63f24cb1c; \>= 98f6d57ced73b723551568262019f1d6c8771f20, \< f0b5c819b062df8bf5f2acf4697e3871cb3722da; \>= 98f6d57ced73b723551568262019f1d6c8771f20, \< 94e8100678889ab428e68acadf042de723f094b9
- Anyone running Linux 4.9

## Description

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

xen/netback: avoid entering xenvif\_rx\_next\_skb() with an empty rx queue

xenvif\_rx\_next\_skb() is expecting the rx queue not being empty, but
in case the loop in xenvif\_rx\_action() is doing multiple iterations,
the availability of another skb in the rx queue is not being checked.

This can lead to crashes:

\[40072.537261\] BUG: unable to handle kernel NULL pointer dereference at 0000000000000080
\[40072.537407\] IP: xenvif\_rx\_skb+0x23/0x590 \[xen\_netback\]
\[40072.537534\] PGD 0 P4D 0
\[40072.537644\] Oops: 0000 \[\#1\] SMP NOPTI
\[40072.537749\] CPU: 0 PID: 12505 Comm: v1-c40247-q2-gu Not tainted 4.12.14-122.121-default \#1 SLE12-SP5
\[40072.537867\] Hardware name: HP ProLiant DL580 Gen9/ProLiant DL580 Gen9, BIOS U17 11/23/2021
\[40072.537999\] task: ffff880433b38100 task.stack: ffffc90043d40000
\[40072.538112\] RIP: e030:xenvif\_rx\_skb+0x23/0x590 \[xen\_netback\]
\[40072.538217\] RSP: e02b:ffffc90043d43de0 EFLAGS: 00010246
\[40072.538319\] RAX: 0000000000000000 RBX: ffffc90043cd7cd0 RCX: 00000000000000f7
\[40072.538430\] RDX: 0000000000000000 RSI: 0000000000000006 RDI: ffffc90043d43df8
\[40072.538531\] RBP: 000000000000003f R08: 000077ff80000000 R09: 0000000000000008
\[40072.538644\] R10: 0000000000007ff0 R11: 00000000000008f6 R12: ffffc90043ce2708
\[40072.538745\] R13: 0000000000000000 R14: ffffc90043d43ed0 R15: ffff88043ea748c0
\[40072.538861\] FS: 0000000000000000(0000) GS:ffff880484600000(0000) knlGS:0000000000000000
\[40072.538988\] CS: e033 DS: 0000 ES: 0000 CR0: 0000000080050033
\[40072.539088\] CR2: 0000000000000080 CR3: 0000000407ac8000 CR4: 0000000000040660
\[40072.539211\] Call Trace:
\[40072.539319\] xenvif\_rx\_action+0x71/0x90 \[xen\_netback\]
\[40072.539429\] xenvif\_kthread\_guest\_rx+0x14a/0x29c \[xen\_netback\]

Fix that by stopping the loop in case the rx queue becomes empty.

## Affected and fixed versions

- Linux: \>= 98f6d57ced73b723551568262019f1d6c8771f20, \< c0fcceb5f3f1ec197c014fe218c2f28108cacd27; \>= 98f6d57ced73b723551568262019f1d6c8771f20, \< d5320c6a27aa975aff740f9cb481dcbde48f4348; \>= 98f6d57ced73b723551568262019f1d6c8771f20, \< 5a071aefd6414af5a20321ab58a0557b81993687; \>= 98f6d57ced73b723551568262019f1d6c8771f20, \< 7425479d20f9e96f7c3ec8e8a93fe0d7478724cb; \>= 98f6d57ced73b723551568262019f1d6c8771f20, \< b9c32a6886af79d6e0ad87a7b01800ed079cdd02; \>= 98f6d57ced73b723551568262019f1d6c8771f20, \< b99174ac57fe5d8867448c03b23828e63f24cb1c; \>= 98f6d57ced73b723551568262019f1d6c8771f20, \< f0b5c819b062df8bf5f2acf4697e3871cb3722da; \>= 98f6d57ced73b723551568262019f1d6c8771f20, \< 94e8100678889ab428e68acadf042de723f094b9 (cvelist)
- Linux: 4.9 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2022-49649.md
Affected: Linux >= 98f6d57ced73b723551568262019f1d6c8771f20, < c0fcceb5f3f1ec197c014fe218c2f28108cacd27; >= 98f6d57ced73b723551568262019f1d6c8771f20, < d5320c6a27aa975aff740f9cb481dcbde48f4348; >= 98f6d57ced73b723551568262019f1d6c8771f20, < 5a071aefd6414af5a20321ab58a0557b81993687; >= 98f6d57ced73b7235515682…
Fixed in: Linux 5a071aefd6414af5a20321ab58a0557b81993687, Linux 7425479d20f9e96f7c3ec8e8a93fe0d7478724cb, Linux 94e8100678889ab428e68acadf042de723f094b9

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

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

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

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

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

Linux \>= 98f6d57ced73b723551568262019f1d6c8771f20, \< c0fcceb5f3f1ec197c014fe218c2f28108cacd27; \>= 98f6d57ced73b723551568262019f1d6c8771f20, \< d5320c6a27aa975aff740f9cb481dcbde48f4348; \>= 98f6d57ced73b723551568262019f1d6c8771f20, \< 5a071aefd6414af5a20321ab58a0557b81993687; \>= 98f6d57ced73b723551568262019f1d6c8771f20, \< 7425479d20f9e96f7c3ec8e8a93fe0d7478724cb; \>= 98f6d57ced73b723551568262019f1d6c8771f20, \< b9c32a6886af79d6e0ad87a7b01800ed079cdd02; \>= 98f6d57ced73b723551568262019f1d6c8771f20, \< b99174ac57fe5d8867448c03b23828e63f24cb1c; \>= 98f6d57ced73b723551568262019f1d6c8771f20, \< f0b5c819b062df8bf5f2acf4697e3871cb3722da; \>= 98f6d57ced73b723551568262019f1d6c8771f20, \< 94e8100678889ab428e68acadf042de723f094b9; Linux 4.9.

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

Yes. Fixed in Linux 5a071aefd6414af5a20321ab58a0557b81993687, Linux 7425479d20f9e96f7c3ec8e8a93fe0d7478724cb, Linux 94e8100678889ab428e68acadf042de723f094b9. Upgrade Linux to 94e8100678889ab428e68acadf042de723f094b9 or later.

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

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/c0fcceb5f3f1ec197c014fe218c2f28108cacd27>
- patch: <https://git.kernel.org/stable/c/d5320c6a27aa975aff740f9cb481dcbde48f4348>
- patch: <https://git.kernel.org/stable/c/5a071aefd6414af5a20321ab58a0557b81993687>
- patch: <https://git.kernel.org/stable/c/7425479d20f9e96f7c3ec8e8a93fe0d7478724cb>
- patch: <https://git.kernel.org/stable/c/b9c32a6886af79d6e0ad87a7b01800ed079cdd02>
- patch: <https://git.kernel.org/stable/c/b99174ac57fe5d8867448c03b23828e63f24cb1c>
- patch: <https://git.kernel.org/stable/c/f0b5c819b062df8bf5f2acf4697e3871cb3722da>
- patch: <https://git.kernel.org/stable/c/94e8100678889ab428e68acadf042de723f094b9>

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

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