Menu

Star on GitHub · 3.2k

CVE-2024-50084

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: net: microchip: vcap api: Fix memory leaks in vcap_api_encode_rule_test() Commit a3c1e45156ad ("net: microchip: vcap: Fix use-a…

Published Oct 29, 2024CWE-401EPSS 0.21%

Overview

CVE-2024-50084 is a medium-severity vulnerability. It was published on October 29, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

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

net: microchip: vcap api: Fix memory leaks in vcap_api_encode_rule_test()

Commit a3c1e45156ad ("net: microchip: vcap: Fix use-after-free error in

kunit test") fixed the use-after-free error, but introduced below

memory leaks by removing necessary vcap_free_rule(), add it to fix it.

unreferenced object 0xffffff80ca58b700 (size 192):

comm "kunit_try_catch", pid 1215, jiffies 4294898264

hex dump (first 32 bytes):

00 12 7a 00 05 00 00 00 0a 00 00 00 64 00 00 00 ..z.........d...

00 00 00 00 00 00 00 00 00 04 0b cc 80 ff ff ff ................

backtrace (crc 9c09c3fe):

[<0000000052a0be73>] kmemleak_alloc+0x34/0x40

[<0000000043605459>] __kmalloc_cache_noprof+0x26c/0x2f4

[<0000000040a01b8d>] vcap_alloc_rule+0x3cc/0x9c4

[<000000003fe86110>] vcap_api_encode_rule_test+0x1ac/0x16b0

[<00000000b3595fc4>] kunit_try_run_case+0x13c/0x3ac

[<0000000010f5d2bf>] kunit_generic_run_threa

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2024-50084?

CVE-2024-50084 is a medium-severity vulnerability. It was published on October 29, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2024-50084?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-50084?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-50084?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-50084 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2024

View all