CVE-2021-47503
published 2024-05-24CVE-2021-47503: In the Linux kernel, the following vulnerability has been resolved: scsi: pm80xx: Do not call scsi_remove_host() in pm8001_alloc() Calling scsi_remove_host()…
PriorityP420medium6.2CVSS 3.1
AVLACLPRNUINSUCNINAH
EPSS
0.25%
16.2th percentile
In the Linux kernel, the following vulnerability has been resolved:
scsi: pm80xx: Do not call scsi_remove_host() in pm8001_alloc()
Calling scsi_remove_host() before scsi_add_host() results in a crash:
BUG: kernel NULL pointer dereference, address: 0000000000000108
RIP: 0010:device_del+0x63/0x440
Call Trace:
device_unregister+0x17/0x60
scsi_remove_host+0xee/0x2a0
pm8001_pci_probe+0x6ef/0x1b90 [pm80xx]
local_pci_probe+0x3f/0x90
We cannot call scsi_remove_host() in pm8001_alloc() because scsi_add_host()
has not been called yet at that point in time.
Function call tree:
pm8001_pci_probe()
|
`- pm8001_pci_alloc()
| |
| `- pm8001_alloc()
| |
| `- scsi_remove_host()
|
`- scsi_add_host()
Affected
12 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 5.15.15-1 (bookworm) | linux 5.15.15-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 05c6c029a44d9f43715577e33e95eba87f44d285 < 1e434d2687e8bc0b3cdc9dd093c0e9047c0b4add | 1e434d2687e8bc0b3cdc9dd093c0e9047c0b4add |
| linux | linux | >= 05c6c029a44d9f43715577e33e95eba87f44d285 < f8dccc1bdea7e21b5ec06c957aef8831c772661c | f8dccc1bdea7e21b5ec06c957aef8831c772661c |
| linux | linux | >= 05c6c029a44d9f43715577e33e95eba87f44d285 < 653926205741add87a6cf452e21950eebc6ac10b | 653926205741add87a6cf452e21950eebc6ac10b |
| linux | linux_kernel | — | — |
| linux | linux_kernel | >= 0 < 5.10.92-1 | 5.10.92-1 |
| linux | linux_kernel | >= 0 < 5.15.15-1 | 5.15.15-1 |
| linux | linux_kernel | >= 0 < 5.15.15-1 | 5.15.15-1 |
| linux | linux_kernel | >= 0 < 5.15.15-1 | 5.15.15-1 |
| linux | linux_kernel | >= 5.10 < 5.10.85 | 5.10.85 |
| linux | linux_kernel | >= 5.11 < 5.15.8 | 5.15.8 |
CVSS provenance
nvdv3.16.2MEDIUMCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
osv6.2MEDIUM
vendor_debian6.2MEDIUM
vendor_redhat6.2MEDIUM
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.
Red Hat
kernel: scsi: pm80xx: Do not call scsi_remove_host() in pm8001_alloc()
vendor_redhat·2024-05-24·CVSS 6.2
CVE-2021-47503 [MEDIUM] CWE-476 kernel: scsi: pm80xx: Do not call scsi_remove_host() in pm8001_alloc()
kernel: scsi: pm80xx: Do not call scsi_remove_host() in pm8001_alloc()
In the Linux kernel, the following vulnerability has been resolved:
scsi: pm80xx: Do not call scsi_remove_host() in pm8001_alloc()
Calling scsi_remove_host() before scsi_add_host() results in a crash:
BUG: kernel NULL pointer dereference, address: 0000000000000108
RIP: 0010:device_del+0x63/0x440
Call Trace:
device_unregister+0x17/0x60
scsi_remove_host+0xee/0x2a0
pm8001_pci_probe+0x6ef/0x1b90 [pm80xx]
local_pci_probe+0x3f/0x90
We cannot call scsi_remove_host() in pm8001_alloc() because scsi_add_host()
has not been called yet at that point in time.
Function call tree:
pm8001_pci_probe()
|
`- pm8001_pci_alloc()
| |
| `- pm8001_alloc()
| |
| `- scsi_remove_host()
|
`- scsi_add_host()
Statement: Following issue marked as m
Debian
CVE-2021-47503: linux - In the Linux kernel, the following vulnerability has been resolved: scsi: pm80x...
vendor_debian·2021·CVSS 6.2
CVE-2021-47503 [MEDIUM] CVE-2021-47503: linux - In the Linux kernel, the following vulnerability has been resolved: scsi: pm80x...
In the Linux kernel, the following vulnerability has been resolved: scsi: pm80xx: Do not call scsi_remove_host() in pm8001_alloc() Calling scsi_remove_host() before scsi_add_host() results in a crash: BUG: kernel NULL pointer dereference, address: 0000000000000108 RIP: 0010:device_del+0x63/0x440 Call Trace: device_unregister+0x17/0x60 scsi_remove_host+0xee/0x2a0 pm8001_pci_probe+0x6ef/0x1b90 [pm80xx] local_pci_probe+0x3f/0x90 We cannot call scsi_remove_host() in pm8001_alloc() because scsi_add_host() has not been called yet at that point in time. Function call tree: pm8001_pci_probe() | `- pm8001_pci_alloc() | | | `- pm8001_alloc() | | | `- scsi_remove_host() | `- scsi_add_host()
Scope: local
bookworm: resolved (fixed in 5.15.15-1)
bullseye: resolved (fixed in 5.10.92-1)
forky: resolved (f
OSV
CVE-2021-47503: In the Linux kernel, the following vulnerability has been resolved: scsi: pm80xx: Do not call scsi_remove_host() in pm8001_alloc() Calling scsi_remove
osv·2024-05-24·CVSS 6.2
CVE-2021-47503 [MEDIUM] CVE-2021-47503: In the Linux kernel, the following vulnerability has been resolved: scsi: pm80xx: Do not call scsi_remove_host() in pm8001_alloc() Calling scsi_remove
In the Linux kernel, the following vulnerability has been resolved: scsi: pm80xx: Do not call scsi_remove_host() in pm8001_alloc() Calling scsi_remove_host() before scsi_add_host() results in a crash: BUG: kernel NULL pointer dereference, address: 0000000000000108 RIP: 0010:device_del+0x63/0x440 Call Trace: device_unregister+0x17/0x60 scsi_remove_host+0xee/0x2a0 pm8001_pci_probe+0x6ef/0x1b90 [pm80xx] local_pci_probe+0x3f/0x90 We cannot call scsi_remove_host() in pm8001_alloc() because scsi_add_host() has not been called yet at that point in time. Function call tree: pm8001_pci_probe() | `- pm8001_pci_alloc() | | | `- pm8001_alloc() | | | `- scsi_remove_host() | `- scsi_add_host()
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/1e434d2687e8bc0b3cdc9dd093c0e9047c0b4addhttps://git.kernel.org/stable/c/653926205741add87a6cf452e21950eebc6ac10bhttps://git.kernel.org/stable/c/f8dccc1bdea7e21b5ec06c957aef8831c772661chttps://git.kernel.org/stable/c/1e434d2687e8bc0b3cdc9dd093c0e9047c0b4addhttps://git.kernel.org/stable/c/653926205741add87a6cf452e21950eebc6ac10bhttps://git.kernel.org/stable/c/f8dccc1bdea7e21b5ec06c957aef8831c772661c
2024-05-24
Published