CVE-2026-89955
s390/vfio-ap: Fix NULL deref in status_show() during queue probe
Check your servers for CVE-2026-89955
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-2026-89955 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:
s390/vfio-ap: Fix NULL deref in status_show() during queue probe
When vfio_ap_mdev_probe_queue() creates the sysfs attribute group, the queue's driver data has not yet been set. A concurrent read of the 'status' attribute can therefore call dev_get_drvdata() and get NULL, which is then passed directly to vfio_ap_mdev_for_queue() where q->apqn is unconditionally dereferenced, causing a NULL pointer dereference.
Fix this by acquiring the update locks before calling sysfs_create_group(). The status_show() function acquires guests_lock before reading the driver data, so any concurrent read will block until after dev_set_drvdata() has been called and the update locks are released.
As a bonus, the APQN no longer needs to be read from the queue struct after allocation — it can be read directly from apdev before allocation and stored in a local variable, which is then assigned to q->apqn once the allocation succeeds.
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.78% of all scored CVEs. Scores of 29 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 260f3ea141382386e97611e7c2029bc013088ab1, before 10606c9af18baed75cd180b96ee695441aa15134 affected from 260f3ea141382386e97611e7c2029bc013088ab1, before 31fa0a8a3c337ed2d200166d6926ab23c14f8b2e affected from 260f3ea141382386e97611e7c2029bc013088ab1, before e102ce0f4af99dff769a4b1b4daa4cc6bd5ad2d9 affected from 260f3ea141382386e97611e7c2029bc013088ab1, before 69632952aca04caa71e49953b6949fc04e788e67 affected from 260f3ea141382386e97611e7c2029bc013088ab1, before 7db2511fc601ca3a6e3fb1bdce02261c3c3167c3 affected from 260f3ea141382386e97611e7c2029bc013088ab1, before dd6f4ef6f8a37412909ad787c837332fb070159c
Other versions: unaffected
|
| Linux |
affected 6.0 unaffected before 6.0 unaffected from 6.1.191 up to and including 6.1.* unaffected from 6.6.157 up to and including 6.6.* unaffected from 6.12.110 up to and including 6.12.* unaffected from 6.18.51 up to and including 6.18.* unaffected from 7.2.5 up to and including 7.2.* unaffected 7.3 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-2026-89955 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-89955
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-2026-89955
trivy image --scanners vuln IMAGE | grep CVE-2026-89955
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/10606c9af18baed75cd180b96ee695441aa15134 git.kernel.org
- https://git.kernel.org/stable/c/31fa0a8a3c337ed2d200166d6926ab23c14f8b2e git.kernel.org
- https://git.kernel.org/stable/c/e102ce0f4af99dff769a4b1b4daa4cc6bd5ad2d9 git.kernel.org
- https://git.kernel.org/stable/c/69632952aca04caa71e49953b6949fc04e788e67 git.kernel.org
- https://git.kernel.org/stable/c/7db2511fc601ca3a6e3fb1bdce02261c3c3167c3 git.kernel.org
- https://git.kernel.org/stable/c/dd6f4ef6f8a37412909ad787c837332fb070159c git.kernel.org
Source: the record CVE-2026-89955 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse