CVE-2026-23164: rocker: fix memory leak in rocker_world_port_post_fini()

Published Feb 14, 2026
·
Updated

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

rocker: fix memory leak in rockerworldportpostfini()

In rockerworldportpreinit(), rockerport->wpriv is allocated with kzalloc(wops->portprivsize, GFPKERNEL). However, in rockerworldportpostfini(), the memory is only freed when wops->portpostfini callback is set:

if (!wops->portpostfini) return; wops->portpostfini(rockerport); kfree(rockerport->wpriv);

Since rockerofdpaops does not implement portpostfini 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 ofdpaport) bytes per port on every device removal.

Fix this by always calling kfree(rockerport->wpriv) regardless of whether the portpostfini callback exists.

Affected Software

14 affected components
linux/kernel
Linux Linux kernel>=4.6<5.10.249
Linux Linux kernel>=5.11<5.15.199
Linux Linux kernel>=5.16<6.1.162
Linux Linux kernel>=6.2<6.6.123
Linux Linux kernel>=6.7<6.12.69
Linux Linux kernel>=6.13<6.18.9
Linux Linux kernel=6.19-rc1
Linux Linux kernel=6.19-rc2
Linux Linux kernel=6.19-rc3
Linux Linux kernel=6.19-rc4
Linux Linux kernel=6.19-rc5
Linux Linux kernel=6.19-rc6
Linux Linux kernel=6.19-rc7

Event History

Feb 14, 2026
CVE Published
via MITRE·04:01 PM
Data Sourced
via MITRE·04:01 PM
Description
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-23164?

CVE-2026-23164 has been classified with a low severity due to the memory leak issue it addresses.

2

How do I fix CVE-2026-23164?

To fix CVE-2026-23164, users should upgrade to the latest stable version of the Linux kernel that contains the patch.

3

Which software is affected by CVE-2026-23164?

CVE-2026-23164 affects the Linux kernel specifically in the rocker subsystem.

4

Is CVE-2026-23164 a remote exploit?

No, CVE-2026-23164 is not a remote exploit as it pertains to a memory leak in kernel space.

5

What systems are at risk from CVE-2026-23164?

Systems running specific versions of the Linux kernel with the rocker subsystem may be at risk from CVE-2026-23164.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203