Kernel memory corruption via list-head deletion
Published Sep 11, 2025 · Updated Sep 11, 2025
Use-after-free in Linux kernel 4.18 and later affected branches allows local users to corrupt memory during PCI endpoint driver teardown. pci_epf_remove_cfs() incorrectly passes the epf_group list head to list_del() as though it were a list entry, causing an invalid write after teardown. Triggering the defect requires permission to remove an endpoint function driver with a configfs attribute group; the published reproduction records a KASAN slab-use-after-free warning rather than demonstrated code execution.
Summary
What happened
Use-after-free in Linux kernel 4.18 and later affected branches allows local users to corrupt memory during PCI endpoint driver teardown. pci_epf_remove_cfs() incorrectly passes the epf_group list head to list_del() as though it were a list entry, causing an invalid write after teardown. Triggering the defect requires permission to remove an endpoint function driver with a configfs attribute group; the published reproduction records a KASAN slab-use-after-free warning rather than demonstrated code execution.
The record
- CVE
- CVE-2025-39783
- Published
- Sep 11, 2025
- Updated
- Sep 11, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-787, T1068
- Attack vector
- local
- Privileges
- admin
Timeline
How it unfolded
- Sep 11, 2025CVE publishedPublication date reported by the CVE source.
- Sep 11, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=4.18
- Affected versionversion=ef1433f717a2c63747a519d86965d73ff9bd08b3 <0758862386f114d9ab1e23181461bd1e2e9ec4c6
- Affected versionversion=ef1433f717a2c63747a519d86965d73ff9bd08b3 <409af8b9f7b4f23cd0464e71c6cd6fe13c076ae2
- Affected versionversion=ef1433f717a2c63747a519d86965d73ff9bd08b3 <6cf65505523224cab1449d726d2ce8180c2941ee
- Affected versionversion=ef1433f717a2c63747a519d86965d73ff9bd08b3 <80ea6e6904fb2ba4ccb5d909579988466ec65358
- Affected versionversion=ef1433f717a2c63747a519d86965d73ff9bd08b3 <a302bd89db35d8b7e279de4d2b41c16c7f191069
- Affected versionversion=ef1433f717a2c63747a519d86965d73ff9bd08b3 <d5aecddc3452371d9da82cdbb0c715812524b54b
- Affected versionversion=ef1433f717a2c63747a519d86965d73ff9bd08b3 <d79123d79a8154b4318529b7b2ff7e15806f480b
- Affected versionversion=ef1433f717a2c63747a519d86965d73ff9bd08b3 <dc4ffbd571716ff3b171418fb03abe80e720a7b1
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo