# CVE-2026-89955: s390/vfio-ap: Fix NULL deref in status\_show() during queue probe

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 7, 2026-11-26)
- **Published:** 2026-09-16T10:32:39.064Z
- **Modified:** 2026-10-30T13:20:36.663Z

## Who should check

- Anyone running Linux \>= 260f3ea141382386e97611e7c2029bc013088ab1, \< 10606c9af18baed75cd180b96ee695441aa15134; \>= 260f3ea141382386e97611e7c2029bc013088ab1, \< 31fa0a8a3c337ed2d200166d6926ab23c14f8b2e; \>= 260f3ea141382386e97611e7c2029bc013088ab1, \< e102ce0f4af99dff769a4b1b4daa4cc6bd5ad2d9; \>= 260f3ea141382386e97611e7c2029bc013088ab1, \< 69632952aca04caa71e49953b6949fc04e788e67; \>= 260f3ea141382386e97611e7c2029bc013088ab1, \< 7db2511fc601ca3a6e3fb1bdce02261c3c3167c3; \>= 260f3ea141382386e97611e7c2029bc013088ab1, \< dd6f4ef6f8a37412909ad787c837332fb070159c
- Anyone running Linux 6.0

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

## Affected and fixed versions

- Linux: \>= 260f3ea141382386e97611e7c2029bc013088ab1, \< 10606c9af18baed75cd180b96ee695441aa15134; \>= 260f3ea141382386e97611e7c2029bc013088ab1, \< 31fa0a8a3c337ed2d200166d6926ab23c14f8b2e; \>= 260f3ea141382386e97611e7c2029bc013088ab1, \< e102ce0f4af99dff769a4b1b4daa4cc6bd5ad2d9; \>= 260f3ea141382386e97611e7c2029bc013088ab1, \< 69632952aca04caa71e49953b6949fc04e788e67; \>= 260f3ea141382386e97611e7c2029bc013088ab1, \< 7db2511fc601ca3a6e3fb1bdce02261c3c3167c3; \>= 260f3ea141382386e97611e7c2029bc013088ab1, \< dd6f4ef6f8a37412909ad787c837332fb070159c (cvelist)
- Linux: 6.0 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-89955. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-89955.md
Affected: Linux >= 260f3ea141382386e97611e7c2029bc013088ab1, < 10606c9af18baed75cd180b96ee695441aa15134; >= 260f3ea141382386e97611e7c2029bc013088ab1, < 31fa0a8a3c337ed2d200166d6926ab23c14f8b2e; >= 260f3ea141382386e97611e7c2029bc013088ab1, < e102ce0f4af99dff769a4b1b4daa4cc6bd5ad2d9; >= 260f3ea141382386e97611e…
Fixed in: Linux 10606c9af18baed75cd180b96ee695441aa15134, Linux 31fa0a8a3c337ed2d200166d6926ab23c14f8b2e, Linux 69632952aca04caa71e49953b6949fc04e788e67, Linux 7db2511fc601ca3a6e3fb1bdce02261c3c3167c3

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-2026-89955 being exploited?

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

### How serious is CVE-2026-89955?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-89955?

Linux \>= 260f3ea141382386e97611e7c2029bc013088ab1, \< 10606c9af18baed75cd180b96ee695441aa15134; \>= 260f3ea141382386e97611e7c2029bc013088ab1, \< 31fa0a8a3c337ed2d200166d6926ab23c14f8b2e; \>= 260f3ea141382386e97611e7c2029bc013088ab1, \< e102ce0f4af99dff769a4b1b4daa4cc6bd5ad2d9; \>= 260f3ea141382386e97611e7c2029bc013088ab1, \< 69632952aca04caa71e49953b6949fc04e788e67; \>= 260f3ea141382386e97611e7c2029bc013088ab1, \< 7db2511fc601ca3a6e3fb1bdce02261c3c3167c3; \>= 260f3ea141382386e97611e7c2029bc013088ab1, \< dd6f4ef6f8a37412909ad787c837332fb070159c; Linux 6.0.

### Is there a fix for CVE-2026-89955?

Yes. Fixed in Linux 10606c9af18baed75cd180b96ee695441aa15134, Linux 31fa0a8a3c337ed2d200166d6926ab23c14f8b2e, Linux 69632952aca04caa71e49953b6949fc04e788e67, Linux 7db2511fc601ca3a6e3fb1bdce02261c3c3167c3. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-89955?

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

- other: <https://git.kernel.org/stable/c/10606c9af18baed75cd180b96ee695441aa15134>
- other: <https://git.kernel.org/stable/c/31fa0a8a3c337ed2d200166d6926ab23c14f8b2e>
- other: <https://git.kernel.org/stable/c/e102ce0f4af99dff769a4b1b4daa4cc6bd5ad2d9>
- other: <https://git.kernel.org/stable/c/69632952aca04caa71e49953b6949fc04e788e67>
- other: <https://git.kernel.org/stable/c/7db2511fc601ca3a6e3fb1bdce02261c3c3167c3>
- other: <https://git.kernel.org/stable/c/dd6f4ef6f8a37412909ad787c837332fb070159c>

## 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-2026-89955>

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