VDB

CVE-2026-53116

CVE-2026-53116 PUBLISHED

s390/ap: use generic driver_override infrastructure

Reported by linux · Published June 24, 2026

In the Linux kernel, the following vulnerability has been resolved: s390/ap: use generic driver_override infrastructure When the AP masks are updated via apmask_store() or aqmask_store(), ap_bus_revise_bindings() is called after ap_attr_mutex has been released. This calls __ap_revise_reserved(), which accesses the driver_override field without holding any lock, racing against a concurrent driver_override_store() that may free the old string, resulting in a potential UAF. Fix this by using the driver-core driver_override infrastructure, which protects all accesses with an internal spinlock. Note that unlike most other buses, the AP bus does not check driver_override in its match() callback; the override is checked in ap_device_probe() and __ap_revise_reserved() instead. Also note that we do not enable the driver_override feature of struct bus_type, as AP - in contrast to most other buses - passes "" to sysfs_emit() when the driver_override pointer is NULL. Thus, printing "\n" instead of "(null)\n". Additionally, AP has a custom counter that is modified in the corresponding custom driver_override_store().

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
LinuxLinux8f2eca0570438b94602da1297353eb7b10dcb6cb, 81d6f7c3a70b10ff757ee8b5f8114a190871cf1e

Affected products

VendorProductVersions
LinuxLinuxd38a87d7c0643db61e7a3bfc3ebeea2dc2568f7e, d38a87d7c0643db61e7a3bfc3ebeea2dc2568f7e
LinuxLinux6.19, 0, 7.0.10
LinuxLinux7.1, 0, 7.0.10
linuxlinux_kernel6.19, 6.19

Timeline

  • Jun 24, 2026 CVE Published
  • Jun 25, 2026 EPSS Score (10 in total, the first dated here)
  • Jun 25, 2026 Coalition ESS Score
  • Aug 11, 2026 Distribution Patch (63 in total, the first dated here)
  • Aug 11, 2026 Security Advisory (63 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-53116
vulnetix vdb fixes CVE-2026-53116

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-53116/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›