CVE-2022-48969
xen-netfront: Fix NULL sring after live migration
Check your servers for CVE-2022-48969
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-48969 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
xen-netfront: Fix NULL sring after live migration
A NAPI is setup for each network sring to poll data to kernel The sring with source host is destroyed before live migration and new sring with target host is setup after live migration. The NAPI for the old sring is not deleted until setup new sring with target host after migration. With busy_poll/busy_read enabled, the NAPI can be polled before got deleted when resume VM.
BUG: unable to handle kernel NULL pointer dereference at 0000000000000008 IP: xennet_poll+0xae/0xd20 PGD 0 P4D 0 Oops: 0000 [#1] SMP PTI Call Trace: finish_task_switch+0x71/0x230 timerqueue_del+0x1d/0x40 hrtimer_try_to_cancel+0xb5/0x110 xennet_alloc_rx_buffers+0x2a0/0x2a0 napi_busy_loop+0xdb/0x270 sock_poll+0x87/0x90 do_sys_poll+0x26f/0x580 tracing_map_insert+0x1d4/0x2f0 event_hist_trigger+0x14a/0x260
finish_task_switch+0x71/0x230 __schedule+0x256/0x890 recalc_sigpending+0x1b/0x50 xen_sched_clock+0x15/0x20 __rb_reserve_next+0x12d/0x140 ring_buffer_lock_reserve+0x123/0x3d0 event_triggers_call+0x87/0xb0 trace_event_buffer_commit+0x1c4/0x210 xen_clocksource_get_cycles+0x15/0x20 ktime_get_ts64+0x51/0xf0 SyS_ppoll+0x160/0x1a0 SyS_ppoll+0x160/0x1a0 do_syscall_64+0x73/0x130 entry_SYSCALL_64_after_hwframe+0x41/0xa6 ... RIP: xennet_poll+0xae/0xd20 RSP: ffffb4f041933900 CR2: 0000000000000008 ---[ end trace f8601785b354351c ]---
xen frontend should remove the NAPIs for the old srings before live migration as the bond srings are destroyed
There is a tiny window between the srings are set to NULL and the NAPIs are disabled, It is safe as the NAPI threads are still frozen at that time
Exploitation
EPSS 0.26%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 19.2% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 22 Oct 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 4ec2411980d0fd2995e8dea8a06fe57aa47523cb, before 99859947517e446058ad7243ee81d2f9801fa3dd affected from 4ec2411980d0fd2995e8dea8a06fe57aa47523cb, before ed773dd798bf720756d20021b8d8a4a3d7184bda affected from 4ec2411980d0fd2995e8dea8a06fe57aa47523cb, before e6860c889f4ad50b6ab696f5ea154295d72cf27a affected from 4ec2411980d0fd2995e8dea8a06fe57aa47523cb, before e6e897d4fe2f89c0bd94600a40bedf5e6e75e050 affected from 4ec2411980d0fd2995e8dea8a06fe57aa47523cb, before f2dd60fd3fe98bd36a91b0c6e10bfe9d66258f84 affected from 4ec2411980d0fd2995e8dea8a06fe57aa47523cb, before d50b7914fae04d840ce36491d22133070b18cca9
Other versions: unaffected
|
| Linux |
affected 2.6.24 unaffected before 2.6.24 unaffected from 4.19.269 up to and including 4.19.* unaffected from 5.4.227 up to and including 5.4.* unaffected from 5.10.159 up to and including 5.10.* unaffected from 5.15.83 up to and including 5.15.* unaffected from 6.0.13 up to and including 6.0.* unaffected 6.1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-48969 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-48969
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2022-48969
trivy image --scanners vuln IMAGE | grep CVE-2022-48969
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/99859947517e446058ad7243ee81d2f9801fa3dd git.kernel.org
- https://git.kernel.org/stable/c/ed773dd798bf720756d20021b8d8a4a3d7184bda git.kernel.org
- https://git.kernel.org/stable/c/e6860c889f4ad50b6ab696f5ea154295d72cf27a git.kernel.org
- https://git.kernel.org/stable/c/e6e897d4fe2f89c0bd94600a40bedf5e6e75e050 git.kernel.org
- https://git.kernel.org/stable/c/f2dd60fd3fe98bd36a91b0c6e10bfe9d66258f84 git.kernel.org
- https://git.kernel.org/stable/c/d50b7914fae04d840ce36491d22133070b18cca9 git.kernel.org
Source: the record CVE-2022-48969 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse