# CVE-2025-39783: PCI: endpoint: Fix configfs group list head handling

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.27% (percentile 11, 2026-11-26)
- **CWE:** CWE-787
- **Published:** 2025-09-11T16:56:33.376Z
- **Modified:** 2026-10-19T21:10:00.160Z

## Who should check

- Anyone running Linux \>= ef1433f717a2c63747a519d86965d73ff9bd08b3, \< 80ea6e6904fb2ba4ccb5d909579988466ec65358; \>= ef1433f717a2c63747a519d86965d73ff9bd08b3, \< d5aecddc3452371d9da82cdbb0c715812524b54b; \>= ef1433f717a2c63747a519d86965d73ff9bd08b3, \< dc4ffbd571716ff3b171418fb03abe80e720a7b1; \>= ef1433f717a2c63747a519d86965d73ff9bd08b3, \< 409af8b9f7b4f23cd0464e71c6cd6fe13c076ae2; \>= ef1433f717a2c63747a519d86965d73ff9bd08b3, \< 0758862386f114d9ab1e23181461bd1e2e9ec4c6; \>= ef1433f717a2c63747a519d86965d73ff9bd08b3, \< 6cf65505523224cab1449d726d2ce8180c2941ee; \>= ef1433f717a2c63747a519d86965d73ff9bd08b3, \< a302bd89db35d8b7e279de4d2b41c16c7f191069; \>= ef1433f717a2c63747a519d86965d73ff9bd08b3, \< d79123d79a8154b4318529b7b2ff7e15806f480b
- Anyone running Linux 4.18

## Description

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().

## Affected and fixed versions

- Linux: \>= ef1433f717a2c63747a519d86965d73ff9bd08b3, \< 80ea6e6904fb2ba4ccb5d909579988466ec65358; \>= ef1433f717a2c63747a519d86965d73ff9bd08b3, \< d5aecddc3452371d9da82cdbb0c715812524b54b; \>= ef1433f717a2c63747a519d86965d73ff9bd08b3, \< dc4ffbd571716ff3b171418fb03abe80e720a7b1; \>= ef1433f717a2c63747a519d86965d73ff9bd08b3, \< 409af8b9f7b4f23cd0464e71c6cd6fe13c076ae2; \>= ef1433f717a2c63747a519d86965d73ff9bd08b3, \< 0758862386f114d9ab1e23181461bd1e2e9ec4c6; \>= ef1433f717a2c63747a519d86965d73ff9bd08b3, \< 6cf65505523224cab1449d726d2ce8180c2941ee; \>= ef1433f717a2c63747a519d86965d73ff9bd08b3, \< a302bd89db35d8b7e279de4d2b41c16c7f191069; \>= ef1433f717a2c63747a519d86965d73ff9bd08b3, \< d79123d79a8154b4318529b7b2ff7e15806f480b (cvelist)
- Linux: 4.18 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-39783. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-39783.md
Affected: Linux >= ef1433f717a2c63747a519d86965d73ff9bd08b3, < 80ea6e6904fb2ba4ccb5d909579988466ec65358; >= ef1433f717a2c63747a519d86965d73ff9bd08b3, < d5aecddc3452371d9da82cdbb0c715812524b54b; >= ef1433f717a2c63747a519d86965d73ff9bd08b3, < dc4ffbd571716ff3b171418fb03abe80e720a7b1; >= ef1433f717a2c63747a519d…
Fixed in: Linux 80ea6e6904fb2ba4ccb5d909579988466ec65358, Linux 409af8b9f7b4f23cd0464e71c6cd6fe13c076ae2, Linux 0758862386f114d9ab1e23181461bd1e2e9ec4c6, Linux 6cf65505523224cab1449d726d2ce8180c2941ee

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-39783 being exploited?

There is no confirmed exploitation: CVE-2025-39783 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-39783?

High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-39783?

Linux \>= ef1433f717a2c63747a519d86965d73ff9bd08b3, \< 80ea6e6904fb2ba4ccb5d909579988466ec65358; \>= ef1433f717a2c63747a519d86965d73ff9bd08b3, \< d5aecddc3452371d9da82cdbb0c715812524b54b; \>= ef1433f717a2c63747a519d86965d73ff9bd08b3, \< dc4ffbd571716ff3b171418fb03abe80e720a7b1; \>= ef1433f717a2c63747a519d86965d73ff9bd08b3, \< 409af8b9f7b4f23cd0464e71c6cd6fe13c076ae2; \>= ef1433f717a2c63747a519d86965d73ff9bd08b3, \< 0758862386f114d9ab1e23181461bd1e2e9ec4c6; \>= ef1433f717a2c63747a519d86965d73ff9bd08b3, \< 6cf65505523224cab1449d726d2ce8180c2941ee; \>= ef1433f717a2c63747a519d86965d73ff9bd08b3, \< a302bd89db35d8b7e279de4d2b41c16c7f191069; \>= ef1433f717a2c63747a519d86965d73ff9bd08b3, \< d79123d79a8154b4318529b7b2ff7e15806f480b; Linux 4.18.

### Is there a fix for CVE-2025-39783?

Yes. Fixed in Linux 80ea6e6904fb2ba4ccb5d909579988466ec65358, Linux 409af8b9f7b4f23cd0464e71c6cd6fe13c076ae2, Linux 0758862386f114d9ab1e23181461bd1e2e9ec4c6, Linux 6cf65505523224cab1449d726d2ce8180c2941ee. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-39783?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/80ea6e6904fb2ba4ccb5d909579988466ec65358>
- patch: <https://git.kernel.org/stable/c/d5aecddc3452371d9da82cdbb0c715812524b54b>
- patch: <https://git.kernel.org/stable/c/dc4ffbd571716ff3b171418fb03abe80e720a7b1>
- patch: <https://git.kernel.org/stable/c/409af8b9f7b4f23cd0464e71c6cd6fe13c076ae2>
- patch: <https://git.kernel.org/stable/c/0758862386f114d9ab1e23181461bd1e2e9ec4c6>
- patch: <https://git.kernel.org/stable/c/6cf65505523224cab1449d726d2ce8180c2941ee>
- patch: <https://git.kernel.org/stable/c/a302bd89db35d8b7e279de4d2b41c16c7f191069>
- patch: <https://git.kernel.org/stable/c/d79123d79a8154b4318529b7b2ff7e15806f480b>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-032379.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-39783>

HTML: <https://flawdb.com/CVE-2025-39783> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-39783>
