In the Linux kernel, the following vulnerability has been resolved:
net/mlx5: Always drain health in shutdown callback
There is no point in recovery during device shutdown. if health work started need to wait for it to avoid races and NULL pointer access.
Hence, drain health WQ on shutdown callback.
[ { "signature_version": "v1", "deprecated": false, "id": "CVE-2024-43866-198f8144", "signature_type": "Function", "target": { "function": "mlx5_sf_dev_shutdown", "file": "drivers/net/ethernet/mellanox/mlx5/core/sf/dev/driver.c" }, "digest": { "function_hash": "90621872115819975327919009887314775536", "length": 165.0 }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5005e2e159b300c1b8c6820a1e13a62eb0127b9b" }, { "signature_version": "v1", "deprecated": false, "id": "CVE-2024-43866-222eba65", "signature_type": "Function", "target": { "function": "mlx5_try_fast_unload", "file": "drivers/net/ethernet/mellanox/mlx5/core/main.c" }, "digest": { "function_hash": "51635994305302401314277282175639541789", "length": 827.0 }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5005e2e159b300c1b8c6820a1e13a62eb0127b9b" }, { "signature_version": "v1", "deprecated": false, "id": "CVE-2024-43866-34d387a1", "signature_type": "Function", "target": { "function": "shutdown", "file": "drivers/net/ethernet/mellanox/mlx5/core/main.c" }, "digest": { "function_hash": "164559283505417641553275729950972326601", "length": 273.0 }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6048dec754554a1303d632be6042d3feb3295285" }, { "signature_version": "v1", "deprecated": false, "id": "CVE-2024-43866-38512ec2", "signature_type": "Line", "target": { "file": "drivers/net/ethernet/mellanox/mlx5/core/main.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "17321675746365775532507939219152527425", "296988731912450499181762258466660617397", "281252725924419591354331248472467022224", "255281713162004660901951843786398973802", "339905885297325841116406441587546003896", "100299280175870623408344086678466422339", "96326943545973125262601883985177083261", "226858866682764404717776390315959176409" ] }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6048dec754554a1303d632be6042d3feb3295285" }, { "signature_version": "v1", "deprecated": false, "id": "CVE-2024-43866-3a578f3f", "signature_type": "Line", "target": { "file": "drivers/net/ethernet/mellanox/mlx5/core/sf/dev/driver.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "141394220610183142340165217736777790076", "44680296975682269451074682507301997450", "295999868564428465247624660391954792847", "133879455560535091054567090616949472993" ] }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6b6c2ebd83f2bf97e8f221479372aaca97a4a9b2" }, { "signature_version": "v1", "deprecated": false, "id": "CVE-2024-43866-60fc05cd", "signature_type": "Line", "target": { "file": "drivers/net/ethernet/mellanox/mlx5/core/main.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "17321675746365775532507939219152527425", "296988731912450499181762258466660617397", "281252725924419591354331248472467022224", "255281713162004660901951843786398973802", "339905885297325841116406441587546003896", "100299280175870623408344086678466422339", "96326943545973125262601883985177083261", "226858866682764404717776390315959176409" ] }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5005e2e159b300c1b8c6820a1e13a62eb0127b9b" }, { "signature_version": "v1", "deprecated": false, "id": "CVE-2024-43866-6a1b951f", "signature_type": "Function", "target": { "function": "shutdown", "file": "drivers/net/ethernet/mellanox/mlx5/core/main.c" }, "digest": { "function_hash": "164559283505417641553275729950972326601", "length": 273.0 }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6b6c2ebd83f2bf97e8f221479372aaca97a4a9b2" }, { "signature_version": "v1", "deprecated": false, "id": "CVE-2024-43866-7db9ea86", "signature_type": "Line", "target": { "file": "drivers/net/ethernet/mellanox/mlx5/core/sf/dev/driver.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "141394220610183142340165217736777790076", "44680296975682269451074682507301997450", "295999868564428465247624660391954792847", "133879455560535091054567090616949472993" ] }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1b75da22ed1e6171e261bc9265370162553d5393" }, { "signature_version": "v1", "deprecated": false, "id": "CVE-2024-43866-81a8662b", "signature_type": "Line", "target": { "file": "drivers/net/ethernet/mellanox/mlx5/core/main.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "17321675746365775532507939219152527425", "296988731912450499181762258466660617397", "281252725924419591354331248472467022224", "255281713162004660901951843786398973802", "339905885297325841116406441587546003896", "100299280175870623408344086678466422339", "96326943545973125262601883985177083261", "226858866682764404717776390315959176409" ] }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6b6c2ebd83f2bf97e8f221479372aaca97a4a9b2" }, { "signature_version": "v1", "deprecated": false, "id": "CVE-2024-43866-8e00deaa", "signature_type": "Function", "target": { "function": "mlx5_sf_dev_shutdown", "file": "drivers/net/ethernet/mellanox/mlx5/core/sf/dev/driver.c" }, "digest": { "function_hash": "174195891379710627684955148924060957453", "length": 240.0 }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6b6c2ebd83f2bf97e8f221479372aaca97a4a9b2" }, { "signature_version": "v1", "deprecated": false, "id": "CVE-2024-43866-8f2672ae", "signature_type": "Function", "target": { "function": "shutdown", "file": "drivers/net/ethernet/mellanox/mlx5/core/main.c" }, "digest": { "function_hash": "164559283505417641553275729950972326601", "length": 273.0 }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5005e2e159b300c1b8c6820a1e13a62eb0127b9b" }, { "signature_version": "v1", "deprecated": false, "id": "CVE-2024-43866-8f4aa034", "signature_type": "Function", "target": { "function": "mlx5_try_fast_unload", "file": "drivers/net/ethernet/mellanox/mlx5/core/main.c" }, "digest": { "function_hash": "51635994305302401314277282175639541789", "length": 827.0 }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6b6c2ebd83f2bf97e8f221479372aaca97a4a9b2" }, { "signature_version": "v1", "deprecated": false, "id": "CVE-2024-43866-9eac7017", "signature_type": "Line", "target": { "file": "drivers/net/ethernet/mellanox/mlx5/core/sf/dev/driver.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "141394220610183142340165217736777790076", "44680296975682269451074682507301997450", "295999868564428465247624660391954792847", "133879455560535091054567090616949472993" ] }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6048dec754554a1303d632be6042d3feb3295285" }, { "signature_version": "v1", "deprecated": false, "id": "CVE-2024-43866-a5d59759", "signature_type": "Line", "target": { "file": "drivers/net/ethernet/mellanox/mlx5/core/main.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "17321675746365775532507939219152527425", "296988731912450499181762258466660617397", "281252725924419591354331248472467022224", "255281713162004660901951843786398973802", "339905885297325841116406441587546003896", "100299280175870623408344086678466422339", "96326943545973125262601883985177083261", "226858866682764404717776390315959176409" ] }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1b75da22ed1e6171e261bc9265370162553d5393" }, { "signature_version": "v1", "deprecated": false, "id": "CVE-2024-43866-a951865b", "signature_type": "Line", "target": { "file": "drivers/net/ethernet/mellanox/mlx5/core/sf/dev/driver.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "163945463677343932161279820035076071538", "113312076062493113115685159242648631141", "88108029532347182760660582462749487375" ] }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5005e2e159b300c1b8c6820a1e13a62eb0127b9b" }, { "signature_version": "v1", "deprecated": false, "id": "CVE-2024-43866-cae4918f", "signature_type": "Function", "target": { "function": "shutdown", "file": "drivers/net/ethernet/mellanox/mlx5/core/main.c" }, "digest": { "function_hash": "164559283505417641553275729950972326601", "length": 273.0 }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1b75da22ed1e6171e261bc9265370162553d5393" }, { "signature_version": "v1", "deprecated": false, "id": "CVE-2024-43866-cb40f0fa", "signature_type": "Function", "target": { "function": "mlx5_try_fast_unload", "file": "drivers/net/ethernet/mellanox/mlx5/core/main.c" }, "digest": { "function_hash": "51635994305302401314277282175639541789", "length": 827.0 }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1b75da22ed1e6171e261bc9265370162553d5393" }, { "signature_version": "v1", "deprecated": false, "id": "CVE-2024-43866-d90a5386", "signature_type": "Function", "target": { "function": "mlx5_sf_dev_shutdown", "file": "drivers/net/ethernet/mellanox/mlx5/core/sf/dev/driver.c" }, "digest": { "function_hash": "174195891379710627684955148924060957453", "length": 240.0 }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1b75da22ed1e6171e261bc9265370162553d5393" }, { "signature_version": "v1", "deprecated": false, "id": "CVE-2024-43866-e7384396", "signature_type": "Function", "target": { "function": "mlx5_try_fast_unload", "file": "drivers/net/ethernet/mellanox/mlx5/core/main.c" }, "digest": { "function_hash": "51635994305302401314277282175639541789", "length": 827.0 }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6048dec754554a1303d632be6042d3feb3295285" }, { "signature_version": "v1", "deprecated": false, "id": "CVE-2024-43866-f15808c1", "signature_type": "Function", "target": { "function": "mlx5_sf_dev_shutdown", "file": "drivers/net/ethernet/mellanox/mlx5/core/sf/dev/driver.c" }, "digest": { "function_hash": "174195891379710627684955148924060957453", "length": 240.0 }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6048dec754554a1303d632be6042d3feb3295285" } ]