{"api_version":"1","generated_at":"2026-12-04T03:20:26+00:00","cve":"CVE-2026-143121","urls":{"html":"https://cve.report/CVE-2026-143121","api":"https://cve.report/api/cve/CVE-2026-143121.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-143121","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-143121"},"summary":{"title":"power: sequencing: pcie-m2: fix use-after-free in pwrseq_pcie_m2_vregs_enable()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\npower: sequencing: pcie-m2: fix use-after-free in pwrseq_pcie_m2_vregs_enable()\n\nDuring device teardown or on the probe error path, a concurrent consumer\naccess triggers a use-after-free in pwrseq_pcie_m2_vregs_enable() or\npwrseq_pcie_m2_vregs_disable() due to a lifetime inversion between\ndevm-managed device registration and manual resource cleanup.\n\nThe driver exposes the power sequencer using devm_pwrseq_device_register(),\nmeaning the device remains fully registered and accessible on the\npwrseq_bus until the driver core schedules devm_pwrseq_device_unregister()\nto run after pwrseq_pcie_m2_remove() returns. However, the driver performs\nmanual resource teardown within pwrseq_pcie_m2_remove() and the\npwrseq_pcie_m2_probe() error path, prematurely destroying the backing\nregulator array.\n\nThis creates a narrow vulnerability window where the globally visible power\nsequencer is backed by freed memory. If a concurrent consumer invokes\npwrseq_enable() during this window, execution is routed to the sequencer\ncallback and dereferences the destroyed ctx->regs array, resulting in a\ndirect use-after-free and a kernel crash.\n\nSchedule a devres action for freeing the memory used for the regulator\narray to ensure it runs *after* the pwrseq provider was unregistered.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-12-03 10:17:44","updated_at":"2026-12-03 10:17:44"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/cd5f26ed96604b18e4235052525abe6b4ba505d6","name":"https://git.kernel.org/stable/c/cd5f26ed96604b18e4235052525abe6b4ba505d6","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/965765f5a9af841904e89f62e706ef5fc1eaa146","name":"https://git.kernel.org/stable/c/965765f5a9af841904e89f62e706ef5fc1eaa146","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-143121","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143121","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3f736aecbdc8e4faf2ed82c981812a6bfc76ea98 965765f5a9af841904e89f62e706ef5fc1eaa146 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3f736aecbdc8e4faf2ed82c981812a6bfc76ea98 cd5f26ed96604b18e4235052525abe6b4ba505d6 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7.1","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.7 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc3 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"143121","cve":"CVE-2026-143121","epss":"0.001980000","percentile":"0.099510000","score_date":"2026-12-03","updated_at":"2026-12-04 00:14:18"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/power/sequencing/pwrseq-pcie-m2.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"965765f5a9af841904e89f62e706ef5fc1eaa146","status":"affected","version":"3f736aecbdc8e4faf2ed82c981812a6bfc76ea98","versionType":"git"},{"lessThan":"cd5f26ed96604b18e4235052525abe6b4ba505d6","status":"affected","version":"3f736aecbdc8e4faf2ed82c981812a6bfc76ea98","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/power/sequencing/pwrseq-pcie-m2.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"7.1"},{"lessThan":"7.1","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.7","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc3","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.7","versionStartIncluding":"7.1","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc3","versionStartIncluding":"7.1","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\npower: sequencing: pcie-m2: fix use-after-free in pwrseq_pcie_m2_vregs_enable()\n\nDuring device teardown or on the probe error path, a concurrent consumer\naccess triggers a use-after-free in pwrseq_pcie_m2_vregs_enable() or\npwrseq_pcie_m2_vregs_disable() due to a lifetime inversion between\ndevm-managed device registration and manual resource cleanup.\n\nThe driver exposes the power sequencer using devm_pwrseq_device_register(),\nmeaning the device remains fully registered and accessible on the\npwrseq_bus until the driver core schedules devm_pwrseq_device_unregister()\nto run after pwrseq_pcie_m2_remove() returns. However, the driver performs\nmanual resource teardown within pwrseq_pcie_m2_remove() and the\npwrseq_pcie_m2_probe() error path, prematurely destroying the backing\nregulator array.\n\nThis creates a narrow vulnerability window where the globally visible power\nsequencer is backed by freed memory. If a concurrent consumer invokes\npwrseq_enable() during this window, execution is routed to the sequencer\ncallback and dereferences the destroyed ctx->regs array, resulting in a\ndirect use-after-free and a kernel crash.\n\nSchedule a devres action for freeing the memory used for the regulator\narray to ensure it runs *after* the pwrseq provider was unregistered."}],"providerMetadata":{"dateUpdated":"2026-12-03T09:19:32.726Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/965765f5a9af841904e89f62e706ef5fc1eaa146"},{"url":"https://git.kernel.org/stable/c/cd5f26ed96604b18e4235052525abe6b4ba505d6"}],"title":"power: sequencing: pcie-m2: fix use-after-free in pwrseq_pcie_m2_vregs_enable()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-143121","datePublished":"2026-12-03T09:19:32.726Z","dateReserved":"2026-12-03T03:10:28.351Z","dateUpdated":"2026-12-03T09:19:32.726Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-03 10:17:44","lastModifiedDate":"2026-12-03 10:17:44","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"143121","Ordinal":"1","Title":"power: sequencing: pcie-m2: fix use-after-free in pwrseq_pcie_m2","CVE":"CVE-2026-143121","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"143121","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\npower: sequencing: pcie-m2: fix use-after-free in pwrseq_pcie_m2_vregs_enable()\n\nDuring device teardown or on the probe error path, a concurrent consumer\naccess triggers a use-after-free in pwrseq_pcie_m2_vregs_enable() or\npwrseq_pcie_m2_vregs_disable() due to a lifetime inversion between\ndevm-managed device registration and manual resource cleanup.\n\nThe driver exposes the power sequencer using devm_pwrseq_device_register(),\nmeaning the device remains fully registered and accessible on the\npwrseq_bus until the driver core schedules devm_pwrseq_device_unregister()\nto run after pwrseq_pcie_m2_remove() returns. However, the driver performs\nmanual resource teardown within pwrseq_pcie_m2_remove() and the\npwrseq_pcie_m2_probe() error path, prematurely destroying the backing\nregulator array.\n\nThis creates a narrow vulnerability window where the globally visible power\nsequencer is backed by freed memory. If a concurrent consumer invokes\npwrseq_enable() during this window, execution is routed to the sequencer\ncallback and dereferences the destroyed ctx->regs array, resulting in a\ndirect use-after-free and a kernel crash.\n\nSchedule a devres action for freeing the memory used for the regulator\narray to ensure it runs *after* the pwrseq provider was unregistered.","Type":"Description","Title":"power: sequencing: pcie-m2: fix use-after-free in pwrseq_pcie_m2"}]}}}