{"id":77153,"date":"2026-02-14T19:45:56","date_gmt":"2026-02-14T16:15:56","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-23164-rocker-fix-memory-leak-in-rocker_world_port_post_fini\/"},"modified":"2026-02-14T19:45:56","modified_gmt":"2026-02-14T16:15:56","slug":"cve-2026-23164-rocker-fix-memory-leak-in-rocker_world_port_post_fini","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-23164-rocker-fix-memory-leak-in-rocker_world_port_post_fini\/","title":{"rendered":"CVE-2026-23164 &#8211; rocker: fix memory leak in rocker_world_port_post_fini()"},"content":{"rendered":"<p>CVE ID : CVE-2026-23164<\/p>\n<p>Published :  Feb. 14, 2026, 4:15 p.m. | 14\u00a0minutes ago<\/p>\n<p>Description : In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>rocker: fix memory leak in rocker_world_port_post_fini()<\/p>\n<p>In rocker_world_port_pre_init(), rocker_port-&gt;wpriv is allocated with<br \/>\nkzalloc(wops-&gt;port_priv_size, GFP_KERNEL). However, in<br \/>\nrocker_world_port_post_fini(), the memory is only freed when<br \/>\nwops-&gt;port_post_fini callback is set:<\/p>\n<p>    if (!wops-&gt;port_post_fini)<br \/>\n        return;<br \/>\n    wops-&gt;port_post_fini(rocker_port);<br \/>\n    kfree(rocker_port-&gt;wpriv);<\/p>\n<p>Since rocker_ofdpa_ops does not implement port_post_fini callback<br \/>\n(it is NULL), the wpriv memory allocated for each port is never freed<br \/>\nwhen ports are removed. This leads to a memory leak of<br \/>\nsizeof(struct ofdpa_port) bytes per port on every device removal.<\/p>\n<p>Fix this by always calling kfree(rocker_port-&gt;wpriv) regardless of<br \/>\nwhether the port_post_fini callback exists.<\/p>\n<p>Severity: 0.0 | NA<\/p>\n<p>Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID : CVE-2026-23164 Published : Feb. 14, 2026, 4:15 p.m. | 14\u00a0minutes ago 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-&gt;wpriv is allocated with kzalloc(wops-&gt;port_priv_size, GFP_KERNEL). However, in rocker_world_port_post_fini(), the memory is only freed when wops-&gt;port_post_fini callback is set: if (!wops-&gt;port_post_fini) &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-77153","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/77153","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=77153"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/77153\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=77153"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=77153"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=77153"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}