# CVE-2026-23164: rocker: fix memory leak in rocker\_world\_port\_post\_fini()

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; 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.20% (percentile 6, 2026-11-26)
- **CWE:** CWE-401
- **Published:** 2026-02-14T16:01:28.624Z
- **Modified:** 2026-10-19T19:17:39.880Z

## Who should check

- Anyone running Linux \>= e420114eef4a3a5025a243b89b0dc343101e3d3c, \< 2a3a64d75d2d0727da285749476761ebcad557a3; \>= e420114eef4a3a5025a243b89b0dc343101e3d3c, \< b11e6f926480ab0939fec44781f28558c54be4e7; \>= e420114eef4a3a5025a243b89b0dc343101e3d3c, \< 8ce2e85889939c02740b4245301aa5c35fc94887; \>= e420114eef4a3a5025a243b89b0dc343101e3d3c, \< d448bf96889f1905e740c554780f5c9fa0440566; \>= e420114eef4a3a5025a243b89b0dc343101e3d3c, \< d8723917efda3b4f4c3de78d1ec1e1af015c0be1; \>= e420114eef4a3a5025a243b89b0dc343101e3d3c, \< dce375f4afc348c310d171abcde7ec1499a4c26a; \>= e420114eef4a3a5025a243b89b0dc343101e3d3c, \< 8d7ba71e46216b8657a82ca2ec118bc93812a4d0
- Anyone running Linux 4.6

## Description

In the Linux kernel, the following vulnerability has been resolved:

rocker: fix memory leak in rocker\_world\_port\_post\_fini()

In rocker\_world\_port\_pre\_init(), rocker\_port-\>wpriv is allocated with
kzalloc(wops-\>port\_priv\_size, GFP\_KERNEL). However, in
rocker\_world\_port\_post\_fini(), the memory is only freed when
wops-\>port\_post\_fini callback is set:

    if (!wops-\>port\_post\_fini)
        return;
    wops-\>port\_post\_fini(rocker\_port);
    kfree(rocker\_port-\>wpriv);

Since rocker\_ofdpa\_ops does not implement port\_post\_fini callback
(it is NULL), the wpriv memory allocated for each port is never freed
when ports are removed. This leads to a memory leak of
sizeof(struct ofdpa\_port) bytes per port on every device removal.

Fix this by always calling kfree(rocker\_port-\>wpriv) regardless of
whether the port\_post\_fini callback exists.

## Affected and fixed versions

- Linux: \>= e420114eef4a3a5025a243b89b0dc343101e3d3c, \< 2a3a64d75d2d0727da285749476761ebcad557a3; \>= e420114eef4a3a5025a243b89b0dc343101e3d3c, \< b11e6f926480ab0939fec44781f28558c54be4e7; \>= e420114eef4a3a5025a243b89b0dc343101e3d3c, \< 8ce2e85889939c02740b4245301aa5c35fc94887; \>= e420114eef4a3a5025a243b89b0dc343101e3d3c, \< d448bf96889f1905e740c554780f5c9fa0440566; \>= e420114eef4a3a5025a243b89b0dc343101e3d3c, \< d8723917efda3b4f4c3de78d1ec1e1af015c0be1; \>= e420114eef4a3a5025a243b89b0dc343101e3d3c, \< dce375f4afc348c310d171abcde7ec1499a4c26a; \>= e420114eef4a3a5025a243b89b0dc343101e3d3c, \< 8d7ba71e46216b8657a82ca2ec118bc93812a4d0 (cvelist)
- Linux: 4.6 (cvelist)

## Mitigation

- Upgrade Linux to 8d7ba71e46216b8657a82ca2ec118bc93812a4d0 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-23164.md
Affected: Linux >= e420114eef4a3a5025a243b89b0dc343101e3d3c, < 2a3a64d75d2d0727da285749476761ebcad557a3; >= e420114eef4a3a5025a243b89b0dc343101e3d3c, < b11e6f926480ab0939fec44781f28558c54be4e7; >= e420114eef4a3a5025a243b89b0dc343101e3d3c, < 8ce2e85889939c02740b4245301aa5c35fc94887; >= e420114eef4a3a5025a243b…
Fixed in: Linux 2a3a64d75d2d0727da285749476761ebcad557a3, Linux 8ce2e85889939c02740b4245301aa5c35fc94887, Linux 8d7ba71e46216b8657a82ca2ec118bc93812a4d0

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-2026-23164 being exploited?

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

### How serious is CVE-2026-23164?

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

### Which versions are affected by CVE-2026-23164?

Linux \>= e420114eef4a3a5025a243b89b0dc343101e3d3c, \< 2a3a64d75d2d0727da285749476761ebcad557a3; \>= e420114eef4a3a5025a243b89b0dc343101e3d3c, \< b11e6f926480ab0939fec44781f28558c54be4e7; \>= e420114eef4a3a5025a243b89b0dc343101e3d3c, \< 8ce2e85889939c02740b4245301aa5c35fc94887; \>= e420114eef4a3a5025a243b89b0dc343101e3d3c, \< d448bf96889f1905e740c554780f5c9fa0440566; \>= e420114eef4a3a5025a243b89b0dc343101e3d3c, \< d8723917efda3b4f4c3de78d1ec1e1af015c0be1; \>= e420114eef4a3a5025a243b89b0dc343101e3d3c, \< dce375f4afc348c310d171abcde7ec1499a4c26a; \>= e420114eef4a3a5025a243b89b0dc343101e3d3c, \< 8d7ba71e46216b8657a82ca2ec118bc93812a4d0; Linux 4.6.

### Is there a fix for CVE-2026-23164?

Yes. Fixed in Linux 2a3a64d75d2d0727da285749476761ebcad557a3, Linux 8ce2e85889939c02740b4245301aa5c35fc94887, Linux 8d7ba71e46216b8657a82ca2ec118bc93812a4d0. Upgrade Linux to 8d7ba71e46216b8657a82ca2ec118bc93812a4d0 or later.

### How do I check if I'm affected by CVE-2026-23164?

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/2a3a64d75d2d0727da285749476761ebcad557a3>
- patch: <https://git.kernel.org/stable/c/b11e6f926480ab0939fec44781f28558c54be4e7>
- patch: <https://git.kernel.org/stable/c/8ce2e85889939c02740b4245301aa5c35fc94887>
- patch: <https://git.kernel.org/stable/c/d448bf96889f1905e740c554780f5c9fa0440566>
- patch: <https://git.kernel.org/stable/c/d8723917efda3b4f4c3de78d1ec1e1af015c0be1>
- patch: <https://git.kernel.org/stable/c/dce375f4afc348c310d171abcde7ec1499a4c26a>
- patch: <https://git.kernel.org/stable/c/8d7ba71e46216b8657a82ca2ec118bc93812a4d0>

## 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-2026-23164>

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