# CVE-2026-53116: s390/ap: use generic driver_override infrastructure

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.11%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-06-24T16:30:47.982Z
- Modified: 2026-11-06T17:18:07.813Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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().

(As written by CVE List.)

## Affected

- Linux Linux: from d38a87d7c0643db61e7a3bfc3ebeea2dc2568f7e before 8f2eca0570438b94602da1297353eb7b10dcb6cb; from d38a87d7c0643db61e7a3bfc3ebeea2dc2568f7e before 81d6f7c3a70b10ff757ee8b5f8114a190871cf1e; 6.19 (not affected: before 6.19; from 7.0.10 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 6.19 before 7.0.10

## References

- <https://git.kernel.org/stable/c/8f2eca0570438b94602da1297353eb7b10dcb6cb> (patch)
- <https://git.kernel.org/stable/c/81d6f7c3a70b10ff757ee8b5f8114a190871cf1e> (patch)

## Sources

- CVE List: [CVE-2026-53116](https://www.cve.org/CVERecord?id=CVE-2026-53116), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-53116](https://nvd.nist.gov/vuln/detail/CVE-2026-53116), Public domain, modified 2026-11-06

---

Page: https://cve.day/CVE-2026-53116 · Whole record: https://cve.day/CVE-2026-53116.json · Rebuilt by cve.day 2026-11-25T22:59:25.701Z
