{"id":"DEBIAN-CVE-2024-50084","details":"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.  \tunreferenced object 0xffffff80ca58b700 (size 192): \t  comm \"kunit_try_catch\", pid 1215, jiffies 4294898264 \t  hex dump (first 32 bytes): \t    00 12 7a 00 05 00 00 00 0a 00 00 00 64 00 00 00  ..z.........d... \t    00 00 00 00 00 00 00 00 00 04 0b cc 80 ff ff ff  ................ \t  backtrace (crc 9c09c3fe): \t    [\u003c0000000052a0be73\u003e] kmemleak_alloc+0x34/0x40 \t    [\u003c0000000043605459\u003e] __kmalloc_cache_noprof+0x26c/0x2f4 \t    [\u003c0000000040a01b8d\u003e] vcap_alloc_rule+0x3cc/0x9c4 \t    [\u003c000000003fe86110\u003e] vcap_api_encode_rule_test+0x1ac/0x16b0 \t    [\u003c00000000b3595fc4\u003e] kunit_try_run_case+0x13c/0x3ac \t    [\u003c0000000010f5d2bf\u003e] kunit_generic_run_threadfn_adapter+0x80/0xec \t    [\u003c00000000c5d82c9a\u003e] kthread+0x2e8/0x374 \t    [\u003c00000000f4287308\u003e] ret_from_fork+0x10/0x20 \tunreferenced object 0xffffff80cc0b0400 (size 64): \t  comm \"kunit_try_catch\", pid 1215, jiffies 4294898265 \t  hex dump (first 32 bytes): \t    80 04 0b cc 80 ff ff ff 18 b7 58 ca 80 ff ff ff  ..........X..... \t    39 00 00 00 02 00 00 00 06 05 04 03 02 01 ff ff  9............... \t  backtrace (crc daf014e9): \t    [\u003c0000000052a0be73\u003e] kmemleak_alloc+0x34/0x40 \t    [\u003c0000000043605459\u003e] __kmalloc_cache_noprof+0x26c/0x2f4 \t    [\u003c000000000ff63fd4\u003e] vcap_rule_add_key+0x2cc/0x528 \t    [\u003c00000000dfdb1e81\u003e] vcap_api_encode_rule_test+0x224/0x16b0 \t    [\u003c00000000b3595fc4\u003e] kunit_try_run_case+0x13c/0x3ac \t    [\u003c0000000010f5d2bf\u003e] kunit_generic_run_threadfn_adapter+0x80/0xec \t    [\u003c00000000c5d82c9a\u003e] kthread+0x2e8/0x374 \t    [\u003c00000000f4287308\u003e] ret_from_fork+0x10/0x20 \tunreferenced object 0xffffff80cc0b0700 (size 64): \t  comm \"kunit_try_catch\", pid 1215, jiffies 4294898265 \t  hex dump (first 32 bytes): \t    80 07 0b cc 80 ff ff ff 28 b7 58 ca 80 ff ff ff  ........(.X..... \t    3c 00 00 00 00 00 00 00 01 2f 03 b3 ec ff ff ff  \u003c......../...... \t  backtrace (crc 8d877792): \t    [\u003c0000000052a0be73\u003e] kmemleak_alloc+0x34/0x40 \t    [\u003c0000000043605459\u003e] __kmalloc_cache_noprof+0x26c/0x2f4 \t    [\u003c000000006eadfab7\u003e] vcap_rule_add_action+0x2d0/0x52c \t    [\u003c00000000323475d1\u003e] vcap_api_encode_rule_test+0x4d4/0x16b0 \t    [\u003c00000000b3595fc4\u003e] kunit_try_run_case+0x13c/0x3ac \t    [\u003c0000000010f5d2bf\u003e] kunit_generic_run_threadfn_adapter+0x80/0xec \t    [\u003c00000000c5d82c9a\u003e] kthread+0x2e8/0x374 \t    [\u003c00000000f4287308\u003e] ret_from_fork+0x10/0x20 \tunreferenced object 0xffffff80cc0b0900 (size 64): \t  comm \"kunit_try_catch\", pid 1215, jiffies 4294898266 \t  hex dump (first 32 bytes): \t    80 09 0b cc 80 ff ff ff 80 06 0b cc 80 ff ff ff  ................ \t    7d 00 00 00 01 00 00 00 00 00 00 00 ff 00 00 00  }............... \t  backtrace (crc 34181e56): \t    [\u003c0000000052a0be73\u003e] kmemleak_alloc+0x34/0x40 \t    [\u003c0000000043605459\u003e] __kmalloc_cache_noprof+0x26c/0x2f4 \t    [\u003c000000000ff63fd4\u003e] vcap_rule_add_key+0x2cc/0x528 \t    [\u003c00000000991e3564\u003e] vcap_val_rule+0xcf0/0x13e8 \t    [\u003c00000000fc9868e5\u003e] vcap_api_encode_rule_test+0x678/0x16b0 \t    [\u003c00000000b3595fc4\u003e] kunit_try_run_case+0x13c/0x3ac \t    [\u003c0000000010f5d2bf\u003e] kunit_generic_run_threadfn_adapter+0x80/0xec \t    [\u003c00000000c5d82c9a\u003e] kthread+0x2e8/0x374 \t    [\u003c00000000f4287308\u003e] ret_from_fork+0x10/0x20 \tunreferenced object 0xffffff80cc0b0980 (size 64): \t  comm \"kunit_try_catch\", pid 1215, jiffies 4294898266 \t  hex dump (first 32 bytes): \t    18 b7 58 ca 80 ff ff ff 00 09 0b cc 80 ff ff ff  ..X............. \t    67 00 00 00 00 00 00 00 01 01 74 88 c0 ff ff ff  g.........t..... \t  backtrace (crc 275fd9be): \t    [\u003c0000000052a0be73\u003e] kmemleak_alloc+0x34/0x40 \t    [\u003c0000000043605459\u003e] __kmalloc_cache_noprof+0x26c/0x2f4 \t    [\u003c000000000ff63fd4\u003e] vcap_rule_add_key+0x2cc/0x528 \t    [\u003c000000001396a1a2\u003e] test_add_de ---truncated---","modified":"2026-09-01T20:05:33.990255455Z","published":"2024-10-29T01:15:05.327Z","upstream":["CVE-2024-50084"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2024-50084"}],"affected":[{"package":{"name":"linux","ecosystem":"Debian:13","purl":"pkg:deb/debian/linux?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.11.5-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2024-50084.json"}},{"package":{"name":"linux","ecosystem":"Debian:14","purl":"pkg:deb/debian/linux?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.11.5-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2024-50084.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}