cbcvebase.
CVE-2024-50059
published 2024-10-21

CVE-2024-50059: In the Linux kernel, the following vulnerability has been resolved: ntb: ntb_hw_switchtec: Fix use after free vulnerability in switchtec_ntb_remove due to race…

PriorityP430high7CVSS 3.1
AVLACHPRLUINSUCHIHAH
EPSS
0.23%
14.2th percentile
In the Linux kernel, the following vulnerability has been resolved: ntb: ntb_hw_switchtec: Fix use after free vulnerability in switchtec_ntb_remove due to race condition In the switchtec_ntb_add function, it can call switchtec_ntb_init_sndev function, then &sndev->check_link_status_work is bound with check_link_status_work. switchtec_ntb_link_notification may be called to start the work. If we remove the module which will call switchtec_ntb_remove to make cleanup, it will free sndev through kfree(sndev), while the work mentioned above will be used. The sequence of operations that may lead to a UAF bug is as follows: CPU0 CPU1 | check_link_status_work switchtec_ntb_remove | kfree(sndev); | | if (sndev->link_force_down) | // use sndev Fix it by ensuring that the work is canceled before proceeding with the cleanup in switchtec_ntb_remove.

Affected

31 ranges· showing 25
VendorProductVersion rangeFixed in
debianlinux< linux 6.1.115-1 (bookworm)linux 6.1.115-1 (bookworm)
debianlinux-6.1< linux 6.1.115-1 (bookworm)linux 6.1.115-1 (bookworm)
linuxlinux
linuxlinux>= d04be142b8b61ffb3c9cc5c6d1abda8fc59a16c9 < 5126d8f5567f49b52e21fca320eaa979770550995126d8f5567f49b52e21fca320eaa97977055099
linuxlinux>= d04be142b8b61ffb3c9cc5c6d1abda8fc59a16c9 < b650189687822b705711f0567a65a164a314d8dfb650189687822b705711f0567a65a164a314d8df
linuxlinux>= d04be142b8b61ffb3c9cc5c6d1abda8fc59a16c9 < 92728fceefdaa2a0a3aae675f86193b006eeaa4392728fceefdaa2a0a3aae675f86193b006eeaa43
linuxlinux>= d04be142b8b61ffb3c9cc5c6d1abda8fc59a16c9 < 3ae45be8492460a35b5aebf6acac1f1d327089463ae45be8492460a35b5aebf6acac1f1d32708946
linuxlinux>= d04be142b8b61ffb3c9cc5c6d1abda8fc59a16c9 < fa840ba4bd9f3bad7f104e5b32028ee73af8b3ddfa840ba4bd9f3bad7f104e5b32028ee73af8b3dd
linuxlinux>= d04be142b8b61ffb3c9cc5c6d1abda8fc59a16c9 < 177925d9c8715a897bb79eca62628862213ba956177925d9c8715a897bb79eca62628862213ba956
linuxlinux>= d04be142b8b61ffb3c9cc5c6d1abda8fc59a16c9 < e51aded92d42784313ba16c12f4f88cc4f973bbbe51aded92d42784313ba16c12f4f88cc4f973bbb
linuxlinux_kernel< 5.10.2275.10.227
linuxlinux_kernel>= 0 < 5.10.234-15.10.234-1
linuxlinux_kernel>= 0 < 6.1.115-16.1.115-1
linuxlinux_kernel>= 0 < 6.11.4-16.11.4-1
linuxlinux_kernel>= 0 < 6.11.4-16.11.4-1
linuxlinux_kernel>= 0 < 5.4.0-208.2285.4.0-208.228
linuxlinux_kernel>= 0 < 5.15.0-127.1375.15.0-127.137
linuxlinux_kernel>= 0 < 6.8.0-56.586.8.0-56.58
linuxlinux_kernel>= 0 < 6.11.0-18.186.11.0-18.18
linuxlinux_kernel>= 5.11 < 5.15.1685.15.168
linuxlinux_kernel>= 5.16 < 6.1.1136.1.113
linuxlinux_kernel>= 6.2 < 6.6.576.6.57
linuxlinux_kernel>= 6.7 < 6.11.46.11.4
msrcazl3_kernel_6.6.56.1-5_on_azure_linux_3.0
msrcazl3_kernel_6.6.57.1-1_on_azure_linux_3.0

CVSS provenance

nvdv3.17.0HIGHCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
osv8.8HIGH
vendor_ubuntu8.8HIGH
vendor_debian7.0HIGH
vendor_msrc7.0HIGH
vendor_redhat7.0HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.