# CVE-2024-50146: linux: In the Linux kernel, the following vulnerability has been resolved:  net/mlx5e: Don't call cleanup on profile rollbac...

CVE-2024-50146 is fixed in 47 products on 1 platform, first by DEBIAN-CVE-2024-50146, released November 7, 2024. It is not reported as exploited. Patch Radar priority: Routine.

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

## Description

In the Linux kernel, the following vulnerability has been resolved:  net/mlx5e: Don't call cleanup on profile rollback failure  When profile rollback fails in mlx5e_netdev_change_profile, the netdev profile var is left set to NULL. Avoid a crash when unloading the driver by not calling profile->cleanup in such a case.  This was encountered while testing, with the original trigger that the wq rescuer thread creation got interrupted (presumably due to Ctrl+C-ing modprobe), which gets converted to ENOMEM (-12) by mlx5e_priv_init, the profile rollback also fails for the same reason (signal still active) so the profile is left as NULL, leading to a crash later in _mlx5e_remove.   [  732.473932] mlx5_core 0000:08:00.1: E-Switch: Unload vfs: mode(OFFLOADS), nvfs(2), necvfs(0), active vports(2)  [  734.525513] workqueue: Failed to create a rescuer kthread for wq "mlx5e": -EINTR  [  734.557372] mlx5_core 0000:08:00.1: mlx5e_netdev_init_profile:6235:(pid 6086): mlx5e_priv_init failed, err=-12  [  734.559187] mlx5_core 0000:08:00.1 eth3: mlx5e_netdev_change_profile: new profile init failed, -12  [  734.560153] workqueue: Failed to create a rescuer kthread for wq "mlx5e": -EINTR  [  734.589378] mlx5_core 0000:08:00.1: mlx5e_netdev_init_profile:6235:(pid 6086): mlx5e_priv_init failed, err=-12  [  734.591136] mlx5_core 0000:08:00.1 eth3: mlx5e_netdev_change_profile: failed to rollback to orig profile, -12  [  745.537492] BUG: kernel NULL pointer dereference, address: 0000000000000008  [  745.538222] #PF: supervisor read access in kernel mode <snipped>  [  745.551290] Call Trace:  [  745.551590]  <TASK>  [  745.551866]  ? __die+0x20/0x60  [  745.552218]  ? page_fault_oops+0x150/0x400  [  745.555307]  ? exc_page_fault+0x79/0x240  [  745.555729]  ? asm_exc_page_fault+0x22/0x30  [  745.556166]  ? mlx5e_remove+0x6b/0xb0 [mlx5_core]  [  745.556698]  auxiliary_bus_remove+0x18/0x30  [  745.557134]  device_release_driver_internal+0x1df/0x240  [  745.557654]  bus_remove_device+0xd7/0x140  [  745.558075]  device_del+0x15b/0x3c0  [  745.558456]  mlx5_rescan_drivers_locked.part.0+0xb1/0x2f0 [mlx5_core]  [  745.559112]  mlx5_unregister_device+0x34/0x50 [mlx5_core]  [  745.559686]  mlx5_uninit_one+0x46/0xf0 [mlx5_core]  [  745.560203]  remove_one+0x4e/0xd0 [mlx5_core]  [  745.560694]  pci_device_remove+0x39/0xa0  [  745.561112]  device_release_driver_internal+0x1df/0x240  [  745.561631]  driver_detach+0x47/0x90  [  745.562022]  bus_remove_driver+0x84/0x100  [  745.562444]  pci_unregister_driver+0x3b/0x90  [  745.562890]  mlx5_cleanup+0xc/0x1b [mlx5_core]  [  745.563415]  __x64_sys_delete_module+0x14d/0x2f0  [  745.563886]  ? kmem_cache_free+0x1b0/0x460  [  745.564313]  ? lockdep_hardirqs_on_prepare+0xe2/0x190  [  745.564825]  do_syscall_64+0x6d/0x140  [  745.565223]  entry_SYSCALL_64_after_hwframe+0x4b/0x53  [  745.565725] RIP: 0033:0x7f1579b1288b

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | bpftool amzn 2023 | 6.1.124-134.200.amzn2023 | [ALAS2023-2025-809](https://patchblox.com/security/data/fix/linux/alas2023-2025-809.md) | Jan 21, 2025 |
| Linux | bpftool-debuginfo amzn 2023 | 6.1.124-134.200.amzn2023 | [ALAS2023-2025-809](https://patchblox.com/security/data/fix/linux/alas2023-2025-809.md) | Jan 21, 2025 |
| 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 amzn 2023 | 6.1.124-134.200.amzn2023 | [ALAS2023-2025-809](https://patchblox.com/security/data/fix/linux/alas2023-2025-809.md) | Jan 21, 2025 |
| 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-debuginfo amzn 2023 | 6.1.124-134.200.amzn2023 | [ALAS2023-2025-809](https://patchblox.com/security/data/fix/linux/alas2023-2025-809.md) | Jan 21, 2025 |
| Linux | kernel-debuginfo-common-aarch64 amzn 2023 | 6.1.124-134.200.amzn2023 | [ALAS2023-2025-809](https://patchblox.com/security/data/fix/linux/alas2023-2025-809.md) | Jan 21, 2025 |
| Linux | kernel-debuginfo-common-x86_64 amzn 2023 | 6.1.124-134.200.amzn2023 | [ALAS2023-2025-809](https://patchblox.com/security/data/fix/linux/alas2023-2025-809.md) | Jan 21, 2025 |
| 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-devel amzn 2023 | 6.1.124-134.200.amzn2023 | [ALAS2023-2025-809](https://patchblox.com/security/data/fix/linux/alas2023-2025-809.md) | Jan 21, 2025 |
| 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-headers amzn 2023 | 6.1.124-134.200.amzn2023 | [ALAS2023-2025-809](https://patchblox.com/security/data/fix/linux/alas2023-2025-809.md) | Jan 21, 2025 |
| 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-libbpf amzn 2023 | 6.1.124-134.200.amzn2023 | [ALAS2023-2025-809](https://patchblox.com/security/data/fix/linux/alas2023-2025-809.md) | Jan 21, 2025 |
| Linux | kernel-libbpf-devel amzn 2023 | 6.1.124-134.200.amzn2023 | [ALAS2023-2025-809](https://patchblox.com/security/data/fix/linux/alas2023-2025-809.md) | Jan 21, 2025 |
| Linux | kernel-libbpf-static amzn 2023 | 6.1.124-134.200.amzn2023 | [ALAS2023-2025-809](https://patchblox.com/security/data/fix/linux/alas2023-2025-809.md) | Jan 21, 2025 |
| Linux | kernel-livepatch-6.1.124-134.200 amzn 2023 | 1.0-0.amzn2023 | [ALAS2023-2025-809](https://patchblox.com/security/data/fix/linux/alas2023-2025-809.md) | Jan 21, 2025 |
| 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-modules-extra amzn 2023 | 6.1.124-134.200.amzn2023 | [ALAS2023-2025-809](https://patchblox.com/security/data/fix/linux/alas2023-2025-809.md) | Jan 21, 2025 |
| Linux | kernel-modules-extra-common amzn 2023 | 6.1.124-134.200.amzn2023 | [ALAS2023-2025-809](https://patchblox.com/security/data/fix/linux/alas2023-2025-809.md) | Jan 21, 2025 |
| 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-tools amzn 2023 | 6.1.124-134.200.amzn2023 | [ALAS2023-2025-809](https://patchblox.com/security/data/fix/linux/alas2023-2025-809.md) | Jan 21, 2025 |
| Linux | kernel-tools-debuginfo amzn 2023 | 6.1.124-134.200.amzn2023 | [ALAS2023-2025-809](https://patchblox.com/security/data/fix/linux/alas2023-2025-809.md) | Jan 21, 2025 |
| Linux | kernel-tools-devel amzn 2023 | 6.1.124-134.200.amzn2023 | [ALAS2023-2025-809](https://patchblox.com/security/data/fix/linux/alas2023-2025-809.md) | Jan 21, 2025 |
| 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 12.15 (bookworm) | 6.1.123-1 | [DEBIAN-CVE-2024-50146](https://patchblox.com/security/data/fix/linux/debian-cve-2024-50146.md) | Nov 7, 2024 |
| Linux | linux Debian 13.5 (trixie) | 6.11.6-1 | [DEBIAN-CVE-2024-50146](https://patchblox.com/security/data/fix/linux/debian-cve-2024-50146.md) | Nov 7, 2024 |
| Linux | linux Debian 14 | 6.11.6-1 | [DEBIAN-CVE-2024-50146](https://patchblox.com/security/data/fix/linux/debian-cve-2024-50146.md) | Nov 7, 2024 |
| Linux | perf amzn 2023 | 6.1.124-134.200.amzn2023 | [ALAS2023-2025-809](https://patchblox.com/security/data/fix/linux/alas2023-2025-809.md) | Jan 21, 2025 |
| Linux | perf-debuginfo amzn 2023 | 6.1.124-134.200.amzn2023 | [ALAS2023-2025-809](https://patchblox.com/security/data/fix/linux/alas2023-2025-809.md) | Jan 21, 2025 |
| Linux | python3-perf amzn 2023 | 6.1.124-134.200.amzn2023 | [ALAS2023-2025-809](https://patchblox.com/security/data/fix/linux/alas2023-2025-809.md) | Jan 21, 2025 |
| Linux | python3-perf-debuginfo amzn 2023 | 6.1.124-134.200.amzn2023 | [ALAS2023-2025-809](https://patchblox.com/security/data/fix/linux/alas2023-2025-809.md) | Jan 21, 2025 |

---

Data as of 2026-11-08T13:06:02Z 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.
