SecurityContext

CVE-2026-53116: Linux kernel s390/ap - Use After Free

  • Cve: CVE-2026-53116
  • Name: Linux kernel s390/ap - Use After Free
  • 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().
  • Impact: Attackers can cause use-after-free leading to memory corruption and potential system instability or code execution.
  • Remediation: Update to the latest Linux kernel version with the driver_override infrastructure fix.
  • Vulnerability type: use_after_free
  • Requirements: Attacker needs concurrent access to driver_override modification
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00165
  • Epss percentile: 0.05701
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2026-06-24T17:17:25Z
  • Age in days: 153
  • Modified at: 2026-11-06T17:18:07Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-53116
  • Nvd status: analyzed
  • Checked, none or zero: vulnerability impact, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirement type, hackerone

Cwe

IdName
CWE-416Use After Free

References

UrlSourceTags
https://git.kernel.org/stable/c/81d6f7c3a70b10ff757ee8b5f8114a190871cf1envdPatch
https://git.kernel.org/stable/c/8f2eca0570438b94602da1297353eb7b10dcb6cbnvdPatch

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel>= 6.19, < 7.0.10nonvd/v1/products/linux/linux_kernel

Projects

RepositoryLink kindsIndexedUrl
torvalds/linuxcna_commit, commityes/v1/repositories/torvalds/linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Exposed hosts: 10038339
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports