CVE-2026-142792

In the Linux kernel, the following vulnerability has been resolved: resource: report a devm_request_resource() conflict under the lock devm_request_resource() calls request_resource_conflict(), which takes resource_lock, tries to insert the new resource and returns a pointer to the conflicting resource after dropping the lock. The error message is then formatted from that pointer: conflict->name and the %pR argument read the name, start, end, flags and desc of a resource that nothing pins any more. The owner of the conflicting resource may call release_resource() and free it the moment the lock is dropped. The conflicting resource normally belongs to another device. With two devices whose drivers claim overlapping regions (two PCI host bridges whose "ranges" windows overlap, two instances of a controller on the same aperture, or a stale claim an administrator is replacing), the following interleaving reads freed memory: CPU 0: driver B probe CPU 1: driver A unbind devm_request_resource(devB, root, resB) request_resource_conflict() write_lock(&resource_lock) __request_resource() -> resA write_unlock(&resource_lock) devres_release_all(devA) devm_resource_release() release_resource(resA) put_device() -> kfree(resA) dev_err(..., resA->name, resA) use after free Both halves are reachable from userspace on any kernel: a write to the "unbind" file of the driver that holds the region and a write to the "bind" file of the driver that wants it. One in-tree path is drivers/pci/bus.c devm_request_pci_bus_resources(), called from host bridge probe for every bridge window; the windows are the embedded struct resource of kzalloc'ed resource_entry objects that pci_free_resource_list() frees when the other bridge is released. In the common case the "resource collision" message is garbled; with the slab object poisoned (CONFIG_SLUB_DEBUG) or reused, formatting conflict->name oopses, and KASAN reports a slab-use-after-free read in devm_request_resource(). All of this happens in a probe that is already failing with -EBUSY. The window is a few hundred instructions wide and exists only when two devices actually collide, so the race has not been observed outside of analysis. Do the same here: take resource_lock, insert with __request_resource() and print the diagnostic while the lock still keeps the conflicting resource in the tree, then drop the lock. The return values and the devres handling are unchanged. The change was built for x86_64 and RISC-V; the resource KUnit tests pass on both. Found by formal verification of kernel/resource.c against the kernel binary.

Package Linux Kernel
Published 2026-12-03
Last modified 2026-12-03
Patch available
Yes

Affected versions

Linux kernel versions 3.18 and later are affected. Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61, 7.3.2, 7.4-rc1 and their respective stable series.

Affected from
≥ 3.18
Fixed in
✓ 5.10.275 5.10.x ✓ 5.15.226 5.15.x ✓ 6.1.193 6.1.x ✓ 6.6.163 6.6.x ✓ 6.12.117 6.12.x ✓ 6.18.61 6.18.x ✓ 7.3.2 7.3.x ✓ 7.4-rc1

Frequently asked questions

  • What is CVE-2026-142792?

    CVE-2026-142792 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 3.18 onward and has been patched in 5.10.275, 5.15.226, 6.1.193 and others. CVE-2026-142792 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • Is there a patch available for CVE-2026-142792?

    Yes. CVE-2026-142792 has been patched. Fixed versions include 5.10.275, 5.15.226, 6.1.193 and others. If you are running Linux kernel 3.18 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2026-142792 actively exploited?

    No. CVE-2026-142792 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.