CVE-2026-143121
Last modified
CVE-2026-143121 is a vulnerability of currently unknown severity. In the Linux kernel, the following vulnerability has been resolved: power: sequencing: pcie-m2: fix use-after-free in pwrseq_pcie_m2_vregs_enable() During device teardown or on the probe error path, a concurrent consumer access triggers a use-after-free in pwrseq_pcie_m2_vregs_enable() or pwrseq_pcie_m2_vregs_disable() due to a lifetime inversion between devm-managed device registration and manual resource cleanup. The driver exposes the power sequencer using devm_pwrseq_device_register(), meaning the device remains fully registered and accessible on the pwrseq_bus until the driver core schedules devm_pwrseq_device_unregister() to run after pwrseq_pcie_m2_remove() returns. However, the driver performs manual resource teardown within pwrseq_pcie_m2_remove() and the pwrseq_pcie_m2_probe() error path, prematurely destroying the backing regulator array. This creates a narrow vulnerability window where the globally visible power sequencer is backed by freed memory.
Description
In the Linux kernel, the following vulnerability has been resolved: power: sequencing: pcie-m2: fix use-after-free in pwrseq_pcie_m2_vregs_enable() During device teardown or on the probe error path, a concurrent consumer access triggers a use-after-free in pwrseq_pcie_m2_vregs_enable() or pwrseq_pcie_m2_vregs_disable() due to a lifetime inversion between devm-managed device registration and manual resource cleanup. The driver exposes the power sequencer using devm_pwrseq_device_register(), meaning the device remains fully registered and accessible on the pwrseq_bus until the driver core schedules devm_pwrseq_device_unregister() to run after pwrseq_pcie_m2_remove() returns. However, the driver performs manual resource teardown within pwrseq_pcie_m2_remove() and the pwrseq_pcie_m2_probe() error path, prematurely destroying the backing regulator array. This creates a narrow vulnerability window where the globally visible power sequencer is backed by freed memory. If a concurrent consumer invokes pwrseq_enable() during this window, execution is routed to the sequencer callback and dereferences the destroyed ctx->regs array, resulting in a direct use-after-free and a kernel crash. Schedule a devres action for freeing the memory used for the regulator array to ensure it runs *after* the pwrseq provider was unregistered.
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 3f736aecbdc8e4faf2ed82c981812a6bfc76ea98, < 965765f5a9af841904e89f62e706ef5fc1eaa146; >= 3f736aecbdc8e4faf2ed82c981812a6bfc76ea98, < cd5f26ed96604b18e4235052525abe6b4ba505d6 |
| Linux | Linux | 7.1 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-143121?
How severe is CVE-2026-143121?
How do I fix CVE-2026-143121?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-143115In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143116In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143117In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143118In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143119In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143120In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143122In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143123In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143124In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143125In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143126In the Linux kernel, the following vulnerability has been re…7.7
- CVE-2026-143127In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-143121?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
