CWE
401
Advisory Published
Updated

CVE-2024-50190: ice: fix memleak in ice_init_tx_topology()

First published: Fri Nov 08 2024(Updated: )

In the Linux kernel, the following vulnerability has been resolved: ice: fix memleak in ice_init_tx_topology() Fix leak of the FW blob (DDP pkg). Make ice_cfg_tx_topo() const-correct, so ice_init_tx_topology() can avoid copying whole FW blob. Copy just the topology section, and only when needed. Reuse the buffer allocated for the read of the current topology. This was found by kmemleak, with the following trace for each PF: [<ffffffff8761044d>] kmemdup_noprof+0x1d/0x50 [<ffffffffc0a0a480>] ice_init_ddp_config+0x100/0x220 [ice] [<ffffffffc0a0da7f>] ice_init_dev+0x6f/0x200 [ice] [<ffffffffc0a0dc49>] ice_init+0x29/0x560 [ice] [<ffffffffc0a10c1d>] ice_probe+0x21d/0x310 [ice] Constify ice_cfg_tx_topo() @buf parameter. This cascades further down to few more functions.

Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Affected SoftwareAffected VersionHow to fix
Linux Kernel>=6.10<6.11.4
Linux Kernel=6.12-rc1
Linux Kernel=6.12-rc2
debian/linux
5.10.223-1
5.10.226-1
6.1.123-1
6.1.128-1
6.12.12-1
6.12.15-1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2024-50190?

    CVE-2024-50190 has not been officially assigned a severity rating yet, but it addresses a memory leak issue.

  • How do I fix CVE-2024-50190?

    To fix CVE-2024-50190, update the Linux Kernel to version 6.12-rc1 or later, or apply relevant patches.

  • What is the impact of CVE-2024-50190?

    CVE-2024-50190 could potentially lead to resource exhaustion due to the memory leak in the ice driver.

  • Which versions of the Linux Kernel are affected by CVE-2024-50190?

    The affected versions include Linux Kernel versions 6.10 to 6.11.4 and 6.12-rc1, 6.12-rc2.

  • Who is responsible for addressing CVE-2024-50190?

    The maintainers of the Linux Kernel are responsible for addressing and providing updates for CVE-2024-50190.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203