CVE-2025-39783
PCI: endpoint: Fix configfs group list head handling
Reported by linux · Published September 11, 2025
In the Linux kernel, the following vulnerability has been resolved: PCI: endpoint: Fix configfs group list head handling Doing a list_del() on the epf_group field of struct pci_epf_driver in pci_epf_remove_cfs() is not correct as this field is a list head, not a list entry. This list_del() call triggers a KASAN warning when an endpoint function driver which has a configfs attribute group is torn down: ================================================================== BUG: KASAN: slab-use-after-free in pci_epf_remove_cfs+0x17c/0x198 Write of size 8 at addr ffff00010f4a0d80 by task rmmod/319 CPU: 3 UID: 0 PID: 319 Comm: rmmod Not tainted 6.16.0-rc2 #1 NONE Hardware name: Radxa ROCK 5B (DT) Call trace: show_stack+0x2c/0x84 (C) dump_stack_lvl+0x70/0x98 print_report+0x17c/0x538 kasan_report+0xb8/0x190 __asan_report_store8_noabort+0x20/0x2c pci_epf_remove_cfs+0x17c/0x198 pci_epf_unregister_driver+0x18/0x30 nvmet_pci_epf_cleanup_module+0x24/0x30 [nvmet_pci_epf] __arm64_sys_delete_module+0x264/0x424 invoke_syscall+0x70/0x260 el0_svc_common.constprop.0+0xac/0x230 do_el0_svc+0x40/0x58 el0_svc+0x48/0xdc el0t_64_sync_handler+0x10c/0x138 el0t_64_sync+0x198/0x19c ... Remove this incorrect list_del() call from pci_epf_remove_cfs().
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| python3-perf6.12 | Amazon Linux | 1:6.12.46-66.121.amzn2023 |
| kernel-libbpf | Amazon Linux | 1:6.1.150-174.273.amzn2023 |
| bpftool | Amazon Linux | 1:6.1.150-174.273.amzn2023 |
| kernel | Amazon Linux | 1:6.1.150-174.273.amzn2023 |
| perf | Amazon Linux | 1:6.1.150-174.273.amzn2023 |
| kernel-libbpf-static | Amazon Linux | 1:6.1.150-174.273.amzn2023 |
| kernel-livepatch-6.12.46-66.121 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel6.12-libbpf | Amazon Linux | 1:6.12.46-66.121.amzn2023 |
| perf6.12 | Amazon Linux | 1:6.12.46-66.121.amzn2023 |
| Linux | Linux | dc4ffbd571716ff3b171418fb03abe80e720a7b1, d79123d79a8154b4318529b7b2ff7e15806f480b, a302bd89db35d8b7e279de4d2b41c16c7f191069, 80ea6e6904fb2ba4ccb5d909579988466ec65358, 6cf65505523224cab1449d726d2ce8180c2941ee, 409af8b9f7b4f23cd0464e71c6cd6fe13c076ae2, 0758862386f114d9ab1e23181461bd1e2e9ec4c6 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | ef1433f717a2c63747a519d86965d73ff9bd08b3, ef1433f717a2c63747a519d86965d73ff9bd08b3, ef1433f717a2c63747a519d86965d73ff9bd08b3 |
| Linux | Linux | 4.18, 0, 5.4.297 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | perf | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | 3.1.5 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | kernel-livepatch-6.12.46-66.121 | 0 |
| amazon:2023 | kernel6.12-libbpf | 0 |
| amazon:2023 | perf6.12 | 0 |
| Linux | Linux | *, *, 5.15.190 |
| amazon:2023 | kernel6.12-libbpf-static | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
…and 16 more
Timeline
- Sep 11, 2025 CVE Published
- Sep 12, 2025 EPSS Score (30 in total, the first dated here)
- Oct 12, 2025 PoC Published (11 in total, the first dated here)
- Mar 29, 2026 Distribution Patch (193 in total, the first dated here)
- Mar 29, 2026 Security Advisory (206 in total, the first dated here)
- Jun 8, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-39783
vulnetix vdb fixes CVE-2025-39783
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-39783/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart