CVE-2022-49687: virtio_net: fix xdp_rxq_info bug after suspend/resume
Vulnerability summary
CVE-2022-49687 is a high (CVSS 7.1) vulnerability in linux. EPSS estimates a 0.29% chance of exploitation in the next 30 days, higher than 21.5% of scored vulnerabilities.
Not severe (CVSS 7.1, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 8 · Related 7Timeline
- 26-02-2025PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: virtio_net: fix xdp_rxq_info bug after suspend/resume The following sequence currently causes a driver bug warning when using virtio_net: # ip link set eth0 up # echo mem > /sys/power/state (or e.g. # rtcwake -s 10 -m mem) <resume> # ip link set eth0 down Missing register, driver bug WARNING: CPU: 0 PID: 375 at net/core/xdp.c:138 xdp_rxq_info_unreg+0x58/0x60 Call trace: xdp_rxq_info_unreg+0x58/0x60 virtnet_close+0x58/0xac __dev_close_many+0xac/0x140 __dev_change_flags+0xd8/0x210 dev_change_flags+0x24/0x64 do_setlink+0x230/0xdd0 ... This happens because virtnet_freeze() frees the receive_queue completely (including struct xdp_rxq_info) but does not call xdp_rxq_info_unreg(). Similarly, virtnet_restore() sets up the receive_queue again but does not call xdp_rxq_info_reg(). Actually, parts of virtnet_freeze_down() and virtnet_restore_up() are almost identical to virtnet_close() and virtnet_open(): only the calls to xdp_rxq_info_(un)reg() are missing. This means that we can fix this easily and avoid such problems in the future by just calling virtnet_close()/open() from the freeze/restore handlers. Aside from adding the missing xdp_rxq_info calls the only difference is that the refill work is only cancelled if netif_running(). However, this should not make any functional difference since the refill work should only be active if the network interface is actually up.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
EPSS trend
Probability
0.29%
Chance of exploitation in the next 30 days
Percentile
22%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.29% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu108 products
- linux< 5.4.0-126.142 | < 5.15.0-48.54
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 5.4.0-1085.92 | < 5.15.0-1020.24
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 754b8a21a96d5f11712245aef907149606b323ae, < 9222672fa6370f0ec3d899662cb8680e9282fc4c | ≥ 754b8a21a96d5f11712245aef907149606b323ae, < 8c7a32b7c15555beddc5810c3334d9cefff061bf | ≥ 754b8a21a96d5f11712245aef907149606b323ae, < 340fbdc8011f2dc678f622c5ce1cbb5ab8305de7 | ≥ 754b8a21a96d5f11712245aef907149606b323ae, < 8d7fe9ad6fddc2af8bde4b921b4f8fab231ed38c | ≥ 754b8a21a96d5f11712245aef907149606b323ae, < 57ee40f1b198b59d43c216fbc4672f9300d3c8b0 | ≥ 754b8a21a96d5f11712245aef907149606b323ae, < 8af52fe9fd3bf5e7478da99193c0632276e1dfce | 4.16
- linux_kernel≥ 4.16, < 4.19.250 | ≥ 4.20, < 5.4.202 | ≥ 5.5, < 5.10.127 | ≥ 5.11, < 5.15.51 | ≥ 5.16, < 5.18.8 | 5.19:rc1 | 5.19:rc2 | 5.19:rc3
Debian1 product
- linux< 5.18.14-1
3 vendors · 111 products