In the Linux kernel, the following vulnerability has been resolved:
scsi: ufs: bsg: Set bsg_queue to NULL after removal
Currently, this does not cause any issues, but I believe it is necessary to set bsg_queue to NULL after removing it to prevent potential use-after-free (UAF) access.
[
{
"id": "CVE-2024-54458-27a4d428",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1e95c798d8a7f70965f0f88d4657b682ff0ec75f",
"signature_version": "v1",
"target": {
"file": "drivers/ufs/core/ufs_bsg.c"
},
"deprecated": false,
"digest": {
"line_hashes": [
"42666161269451669225536580917599357956",
"42623806729010367755723552155955892940",
"238137896667672138688935067131024209008",
"169852950198858717293794445104298696667"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"id": "CVE-2024-54458-5e493463",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5e7b6e44468c3242c21c2a8656d009fb3eb50a73",
"signature_version": "v1",
"target": {
"file": "drivers/ufs/core/ufs_bsg.c"
},
"deprecated": false,
"digest": {
"line_hashes": [
"42666161269451669225536580917599357956",
"42623806729010367755723552155955892940",
"238137896667672138688935067131024209008",
"169852950198858717293794445104298696667"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"id": "CVE-2024-54458-776c0b36",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9193bdc170cc23fe98aca71d1a63c0bf6e1e853b",
"signature_version": "v1",
"target": {
"file": "drivers/ufs/core/ufs_bsg.c"
},
"deprecated": false,
"digest": {
"line_hashes": [
"42666161269451669225536580917599357956",
"42623806729010367755723552155955892940",
"238137896667672138688935067131024209008",
"169852950198858717293794445104298696667"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"id": "CVE-2024-54458-83b29d0b",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bb4783c670180b922267222408e1c48d22dfbb46",
"signature_version": "v1",
"target": {
"file": "drivers/scsi/ufs/ufs_bsg.c",
"function": "ufs_bsg_remove"
},
"deprecated": false,
"digest": {
"length": 176.0,
"function_hash": "88307633237865565080116958559486735436"
},
"signature_type": "Function"
},
{
"id": "CVE-2024-54458-9739f65a",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5f782d4741bf558def60df192b858b0efc6a5f0a",
"signature_version": "v1",
"target": {
"file": "drivers/ufs/core/ufs_bsg.c"
},
"deprecated": false,
"digest": {
"line_hashes": [
"42666161269451669225536580917599357956",
"42623806729010367755723552155955892940",
"238137896667672138688935067131024209008",
"169852950198858717293794445104298696667"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"id": "CVE-2024-54458-9a4bf8e6",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1e95c798d8a7f70965f0f88d4657b682ff0ec75f",
"signature_version": "v1",
"target": {
"file": "drivers/ufs/core/ufs_bsg.c",
"function": "ufs_bsg_remove"
},
"deprecated": false,
"digest": {
"length": 176.0,
"function_hash": "88307633237865565080116958559486735436"
},
"signature_type": "Function"
},
{
"id": "CVE-2024-54458-a31b6deb",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5f782d4741bf558def60df192b858b0efc6a5f0a",
"signature_version": "v1",
"target": {
"file": "drivers/ufs/core/ufs_bsg.c",
"function": "ufs_bsg_remove"
},
"deprecated": false,
"digest": {
"length": 176.0,
"function_hash": "88307633237865565080116958559486735436"
},
"signature_type": "Function"
},
{
"id": "CVE-2024-54458-db53a708",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@22018622e1e9e371198dbd983af946a844d5924c",
"signature_version": "v1",
"target": {
"file": "drivers/scsi/ufs/ufs_bsg.c"
},
"deprecated": false,
"digest": {
"line_hashes": [
"42666161269451669225536580917599357956",
"42623806729010367755723552155955892940",
"238137896667672138688935067131024209008",
"169852950198858717293794445104298696667"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"id": "CVE-2024-54458-ddfe8d9f",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@88a01e9c9ad40c075756ba93b47984461d4ff15d",
"signature_version": "v1",
"target": {
"file": "drivers/ufs/core/ufs_bsg.c"
},
"deprecated": false,
"digest": {
"line_hashes": [
"42666161269451669225536580917599357956",
"42623806729010367755723552155955892940",
"238137896667672138688935067131024209008",
"169852950198858717293794445104298696667"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"id": "CVE-2024-54458-e5e09ce9",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@88a01e9c9ad40c075756ba93b47984461d4ff15d",
"signature_version": "v1",
"target": {
"file": "drivers/ufs/core/ufs_bsg.c",
"function": "ufs_bsg_remove"
},
"deprecated": false,
"digest": {
"length": 176.0,
"function_hash": "88307633237865565080116958559486735436"
},
"signature_type": "Function"
},
{
"id": "CVE-2024-54458-e769be09",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9193bdc170cc23fe98aca71d1a63c0bf6e1e853b",
"signature_version": "v1",
"target": {
"file": "drivers/ufs/core/ufs_bsg.c",
"function": "ufs_bsg_remove"
},
"deprecated": false,
"digest": {
"length": 176.0,
"function_hash": "88307633237865565080116958559486735436"
},
"signature_type": "Function"
},
{
"id": "CVE-2024-54458-eed43189",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5e7b6e44468c3242c21c2a8656d009fb3eb50a73",
"signature_version": "v1",
"target": {
"file": "drivers/ufs/core/ufs_bsg.c",
"function": "ufs_bsg_remove"
},
"deprecated": false,
"digest": {
"length": 176.0,
"function_hash": "88307633237865565080116958559486735436"
},
"signature_type": "Function"
},
{
"id": "CVE-2024-54458-f06441f6",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bb4783c670180b922267222408e1c48d22dfbb46",
"signature_version": "v1",
"target": {
"file": "drivers/scsi/ufs/ufs_bsg.c"
},
"deprecated": false,
"digest": {
"line_hashes": [
"42666161269451669225536580917599357956",
"42623806729010367755723552155955892940",
"238137896667672138688935067131024209008",
"169852950198858717293794445104298696667"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"id": "CVE-2024-54458-f491467d",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@22018622e1e9e371198dbd983af946a844d5924c",
"signature_version": "v1",
"target": {
"file": "drivers/scsi/ufs/ufs_bsg.c",
"function": "ufs_bsg_remove"
},
"deprecated": false,
"digest": {
"length": 176.0,
"function_hash": "88307633237865565080116958559486735436"
},
"signature_type": "Function"
}
]