# CVE-2024-50084: linux: In the Linux kernel, the following vulnerability has been resolved:  net: microchip: vcap api: Fix memory leaks in vc...

CVE-2024-50084 is fixed in 26 products on 1 platform, first by DEBIAN-CVE-2024-50084, released October 29, 2024. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2024-50084
- Priority: Routine
- CVSS: 5.5 (medium)
- EPSS: 0.0021
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Oct 29, 2024

## 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_threadfn_adapter+0x80/0xec 	    [<00000000c5d82c9a>] kthread+0x2e8/0x374 	    [<00000000f4287308>] ret_from_fork+0x10/0x20 	unreferenced object 0xffffff80cc0b0400 (size 64): 	  comm "kunit_try_catch", pid 1215, jiffies 4294898265 	  hex dump (first 32 bytes): 	    80 04 0b cc 80 ff ff ff 18 b7 58 ca 80 ff ff ff  ..........X..... 	    39 00 00 00 02 00 00 00 06 05 04 03 02 01 ff ff  9............... 	  backtrace (crc daf014e9): 	    [<0000000052a0be73>] kmemleak_alloc+0x34/0x40 	    [<0000000043605459>] __kmalloc_cache_noprof+0x26c/0x2f4 	    [<000000000ff63fd4>] vcap_rule_add_key+0x2cc/0x528 	    [<00000000dfdb1e81>] vcap_api_encode_rule_test+0x224/0x16b0 	    [<00000000b3595fc4>] kunit_try_run_case+0x13c/0x3ac 	    [<0000000010f5d2bf>] kunit_generic_run_threadfn_adapter+0x80/0xec 	    [<00000000c5d82c9a>] kthread+0x2e8/0x374 	    [<00000000f4287308>] ret_from_fork+0x10/0x20 	unreferenced object 0xffffff80cc0b0700 (size 64): 	  comm "kunit_try_catch", pid 1215, jiffies 4294898265 	  hex dump (first 32 bytes): 	    80 07 0b cc 80 ff ff ff 28 b7 58 ca 80 ff ff ff  ........(.X..... 	    3c 00 00 00 00 00 00 00 01 2f 03 b3 ec ff ff ff  <......../...... 	  backtrace (crc 8d877792): 	    [<0000000052a0be73>] kmemleak_alloc+0x34/0x40 	    [<0000000043605459>] __kmalloc_cache_noprof+0x26c/0x2f4 	    [<000000006eadfab7>] vcap_rule_add_action+0x2d0/0x52c 	    [<00000000323475d1>] vcap_api_encode_rule_test+0x4d4/0x16b0 	    [<00000000b3595fc4>] kunit_try_run_case+0x13c/0x3ac 	    [<0000000010f5d2bf>] kunit_generic_run_threadfn_adapter+0x80/0xec 	    [<00000000c5d82c9a>] kthread+0x2e8/0x374 	    [<00000000f4287308>] ret_from_fork+0x10/0x20 	unreferenced object 0xffffff80cc0b0900 (size 64): 	  comm "kunit_try_catch", pid 1215, jiffies 4294898266 	  hex dump (first 32 bytes): 	    80 09 0b cc 80 ff ff ff 80 06 0b cc 80 ff ff ff  ................ 	    7d 00 00 00 01 00 00 00 00 00 00 00 ff 00 00 00  }............... 	  backtrace (crc 34181e56): 	    [<0000000052a0be73>] kmemleak_alloc+0x34/0x40 	    [<0000000043605459>] __kmalloc_cache_noprof+0x26c/0x2f4 	    [<000000000ff63fd4>] vcap_rule_add_key+0x2cc/0x528 	    [<00000000991e3564>] vcap_val_rule+0xcf0/0x13e8 	    [<00000000fc9868e5>] vcap_api_encode_rule_test+0x678/0x16b0 	    [<00000000b3595fc4>] kunit_try_run_case+0x13c/0x3ac 	    [<0000000010f5d2bf>] kunit_generic_run_threadfn_adapter+0x80/0xec 	    [<00000000c5d82c9a>] kthread+0x2e8/0x374 	    [<00000000f4287308>] ret_from_fork+0x10/0x20 	unreferenced object 0xffffff80cc0b0980 (size 64): 	  comm "kunit_try_catch", pid 1215, jiffies 4294898266 	  hex dump (first 32 bytes): 	    18 b7 58 ca 80 ff ff ff 00 09 0b cc 80 ff ff ff  ..X............. 	    67 00 00 00 00 00 00 00 01 01 74 88 c0 ff ff ff  g.........t..... 	  backtrace (crc 275fd9be): 	    [<0000000052a0be73>] kmemleak_alloc+0x34/0x40 	    [<0000000043605459>] __kmalloc_cache_noprof+0x26c/0x2f4 	    [<000000000ff63fd4>] vcap_rule_add_key+0x2cc/0x528 	    [<000000001396a1a2>] test_add_de ---truncated---

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | dtb-aarch64 opensuse-leap 15.6 | 6.4.0-150600.23.30.1 | [SUSE-SU-2024:4318-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-4318-1.md) | Dec 13, 2024 |
| Linux | kernel-64kb opensuse-leap 15.6 | 6.4.0-150600.23.30.1 | [SUSE-SU-2024:4318-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-4318-1.md) | Dec 13, 2024 |
| Linux | kernel-64kb sles 15.6 | 6.4.0-150600.23.30.1 | [SUSE-SU-2024:4318-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-4318-1.md) | Dec 13, 2024 |
| Linux | kernel-azure opensuse-leap 15.6 | 6.4.0-150600.8.20.1 | [SUSE-SU-2024:4316-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-4316-1.md) | Dec 13, 2024 |
| Linux | kernel-azure sles 15.6 | 6.4.0-150600.8.20.1 | [SUSE-SU-2024:4316-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-4316-1.md) | Dec 13, 2024 |
| Linux | kernel-coco sles 15.6 | 6.4.0-15061.9.coco15sp6.1 | [SUSE-SU-2024:4387-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-4387-1.md) | Dec 19, 2024 |
| Linux | kernel-coco_debug sles 15.6 | 6.4.0-15061.9.coco15sp6.1 | [SUSE-SU-2024:4387-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-4387-1.md) | Dec 19, 2024 |
| Linux | kernel-debug opensuse-leap 15.6 | 6.4.0-150600.23.30.1 | [SUSE-SU-2024:4318-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-4318-1.md) | Dec 13, 2024 |
| Linux | kernel-default opensuse-leap 15.6 | 6.4.0-150600.23.30.1 | [SUSE-SU-2024:4318-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-4318-1.md) | Dec 13, 2024 |
| Linux | kernel-default sles 15.6 | 6.4.0-150600.23.30.1 | [SUSE-SU-2024:4318-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-4318-1.md) | Dec 13, 2024 |
| Linux | kernel-default-base opensuse-leap 15.6 | 6.4.0-150600.23.30.1.150600.12.12.6 | [SUSE-SU-2024:4318-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-4318-1.md) | Dec 13, 2024 |
| Linux | kernel-default-base sles 15.6 | 6.4.0-150600.23.30.1.150600.12.12.6 | [SUSE-SU-2024:4318-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-4318-1.md) | Dec 13, 2024 |
| Linux | kernel-docs opensuse-leap 15.6 | 6.4.0-150600.23.30.1 | [SUSE-SU-2024:4318-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-4318-1.md) | Dec 13, 2024 |
| Linux | kernel-docs sles 15.6 | 6.4.0-150600.23.30.1 | [SUSE-SU-2024:4318-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-4318-1.md) | Dec 13, 2024 |
| Linux | kernel-kvmsmall opensuse-leap 15.6 | 6.4.0-150600.23.30.1 | [SUSE-SU-2024:4318-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-4318-1.md) | Dec 13, 2024 |
| Linux | kernel-livepatch-SLE15-SP6-RT_Update_6 sles 15.6 | 1-150600.1.3.1 | [SUSE-SU-2024:4314-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-4314-1.md) | Dec 13, 2024 |
| Linux | kernel-livepatch-SLE15-SP6_Update_6 sles 15.6 | 1-150600.13.3.5 | [SUSE-SU-2024:4318-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-4318-1.md) | Dec 13, 2024 |
| Linux | kernel-obs-build opensuse-leap 15.6 | 6.4.0-150600.23.30.1 | [SUSE-SU-2024:4318-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-4318-1.md) | Dec 13, 2024 |
| Linux | kernel-obs-build sles 15.6 | 6.4.0-150600.23.30.1 | [SUSE-SU-2024:4318-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-4318-1.md) | Dec 13, 2024 |
| Linux | kernel-obs-qa opensuse-leap 15.6 | 6.4.0-150600.23.30.1 | [SUSE-SU-2024:4318-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-4318-1.md) | Dec 13, 2024 |
| Linux | kernel-rt opensuse-leap 15.6 | 6.4.0-150600.10.20.1 | [SUSE-SU-2024:4314-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-4314-1.md) | Dec 13, 2024 |
| Linux | kernel-rt_debug opensuse-leap 15.6 | 6.4.0-150600.10.20.1 | [SUSE-SU-2024:4314-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-4314-1.md) | Dec 13, 2024 |
| Linux | kernel-source opensuse-leap 15.6 | 6.4.0-150600.23.30.1 | [SUSE-SU-2024:4318-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-4318-1.md) | Dec 13, 2024 |
| Linux | kernel-source sles 15.6 | 6.4.0-150600.23.30.1 | [SUSE-SU-2024:4318-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-4318-1.md) | Dec 13, 2024 |
| Linux | kernel-source-azure opensuse-leap 15.6 | 6.4.0-150600.8.20.1 | [SUSE-SU-2024:4316-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-4316-1.md) | Dec 13, 2024 |
| Linux | kernel-source-azure sles 15.6 | 6.4.0-150600.8.20.1 | [SUSE-SU-2024:4316-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-4316-1.md) | Dec 13, 2024 |
| Linux | kernel-source-coco sles 15.6 | 6.4.0-15061.9.coco15sp6.1 | [SUSE-SU-2024:4387-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-4387-1.md) | Dec 19, 2024 |
| Linux | kernel-source-rt opensuse-leap 15.6 | 6.4.0-150600.10.20.1 | [SUSE-SU-2024:4314-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-4314-1.md) | Dec 13, 2024 |
| Linux | kernel-syms opensuse-leap 15.6 | 6.4.0-150600.23.30.1 | [SUSE-SU-2024:4318-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-4318-1.md) | Dec 13, 2024 |
| Linux | kernel-syms sles 15.6 | 6.4.0-150600.23.30.1 | [SUSE-SU-2024:4318-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-4318-1.md) | Dec 13, 2024 |
| Linux | kernel-syms-azure opensuse-leap 15.6 | 6.4.0-150600.8.20.1 | [SUSE-SU-2024:4316-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-4316-1.md) | Dec 13, 2024 |
| Linux | kernel-syms-azure sles 15.6 | 6.4.0-150600.8.20.1 | [SUSE-SU-2024:4316-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-4316-1.md) | Dec 13, 2024 |
| Linux | kernel-syms-coco sles 15.6 | 6.4.0-15061.9.coco15sp6.1 | [SUSE-SU-2024:4387-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-4387-1.md) | Dec 19, 2024 |
| Linux | kernel-syms-rt opensuse-leap 15.6 | 6.4.0-150600.10.20.1 | [SUSE-SU-2024:4314-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-4314-1.md) | Dec 13, 2024 |
| Linux | kernel-zfcpdump opensuse-leap 15.6 | 6.4.0-150600.23.30.1 | [SUSE-SU-2024:4318-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-4318-1.md) | Dec 13, 2024 |
| Linux | kernel-zfcpdump sles 15.6 | 6.4.0-150600.23.30.1 | [SUSE-SU-2024:4318-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-4318-1.md) | Dec 13, 2024 |
| Linux | linux Debian 13.5 (trixie) | 6.11.5-1 | [DEBIAN-CVE-2024-50084](https://patchblox.com/security/data/fix/linux/debian-cve-2024-50084.md) | Oct 29, 2024 |
| Linux | linux Debian 14 | 6.11.5-1 | [DEBIAN-CVE-2024-50084](https://patchblox.com/security/data/fix/linux/debian-cve-2024-50084.md) | Oct 29, 2024 |

---

Data as of 2026-11-09T01:18:40Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
