{"id":70232,"date":"2025-09-16T12:31:47","date_gmt":"2025-09-16T09:01:47","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2023-53303-net-microchip-vcap-api-fix-possible-memory-leak-for-vcap_dup_rule\/"},"modified":"2025-09-16T12:31:47","modified_gmt":"2025-09-16T09:01:47","slug":"cve-2023-53303-net-microchip-vcap-api-fix-possible-memory-leak-for-vcap_dup_rule","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2023-53303-net-microchip-vcap-api-fix-possible-memory-leak-for-vcap_dup_rule\/","title":{"rendered":"CVE-2023-53303 &#8211; net: microchip: vcap api: Fix possible memory leak for vcap_dup_rule()"},"content":{"rendered":"<p><strong>CVE ID : <\/strong>CVE-2023-53303<br \/>\n<br \/>\n<strong>Published : <\/strong> Sept. 16, 2025, 8:11 a.m. | 44\u00a0minutes ago<br \/>\n<br \/>\n<strong>Description : <\/strong>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>net: microchip: vcap api: Fix possible memory leak for vcap_dup_rule()<\/p>\n<p>Inject fault When select CONFIG_VCAP_KUNIT_TEST, the below memory leak<br \/>\noccurs. If kzalloc() for duprule succeeds, but the following<br \/>\nkmemdup() fails, the duprule, ckf and caf memory will be leaked. So kfree<br \/>\nthem in the error path.<\/p>\n<p>unreferenced object 0xffff122744c50600 (size 192):<br \/>\n  comm &#8220;kunit_try_catch&#8221;, pid 346, jiffies 4294896122 (age 911.812s)<br \/>\n  hex dump (first 32 bytes):<br \/>\n    10 27 00 00 04 00 00 00 1e 00 00 00 2c 01 00 00  .&#8217;&#8230;&#8230;&#8230;.,&#8230;<br \/>\n    00 00 00 00 00 00 00 00 18 06 c5 44 27 12 ff ff  &#8230;&#8230;&#8230;..D&#8217;&#8230;<br \/>\n  backtrace:<br \/>\n    [] __kmem_cache_alloc_node+0x274\/0x2f8<br \/>\n    [] kmalloc_trace+0x38\/0x88<br \/>\n    [] vcap_dup_rule+0x50\/0x460<br \/>\n    [] vcap_add_rule+0x8cc\/0x1038<br \/>\n    [] test_vcap_xn_rule_creator.constprop.0.isra.0+0x238\/0x494<br \/>\n    [] vcap_api_rule_remove_in_front_test+0x1ac\/0x698<br \/>\n    [] kunit_try_run_case+0xe0\/0x20c<br \/>\n    [] kunit_generic_run_threadfn_adapter+0x50\/0x94<br \/>\n    [] kthread+0x2e8\/0x374<br \/>\n    [] ret_from_fork+0x10\/0x20<br \/>\n<br \/>\n<strong>Severity:<\/strong> 0.0 | NA<br \/>\n<br \/>\nVisit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID : CVE-2023-53303 Published : Sept. 16, 2025, 8:11 a.m. | 44\u00a0minutes ago Description : In the Linux kernel, the following vulnerability has been resolved: net: microchip: vcap api: Fix possible memory leak for vcap_dup_rule() Inject fault When select CONFIG_VCAP_KUNIT_TEST, the below memory leak occurs. If kzalloc() for duprule succeeds, but the following kmemdup() &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-70232","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/70232","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=70232"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/70232\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=70232"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=70232"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=70232"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}