CVE-2021-47503

See a problem?
Source
https://nvd.nist.gov/vuln/detail/CVE-2021-47503
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-47503.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-47503
Related
Published
2024-05-24T15:15:10Z
Modified
2024-09-11T04:41:12.757422Z
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved:

scsi: pm80xx: Do not call scsiremovehost() in pm8001_alloc()

Calling scsiremovehost() before scsiaddhost() results in a crash:

BUG: kernel NULL pointer dereference, address: 0000000000000108 RIP: 0010:devicedel+0x63/0x440 Call Trace: deviceunregister+0x17/0x60 scsiremovehost+0xee/0x2a0 pm8001pciprobe+0x6ef/0x1b90 [pm80xx] localpciprobe+0x3f/0x90

We cannot call scsiremovehost() in pm8001alloc() because scsiadd_host() has not been called yet at that point in time.

Function call tree:

pm8001pciprobe() | - pm8001_pci_alloc() | | |- pm8001alloc() | | | - scsi_remove_host() | - scsiadd_host()

References

Affected packages

Debian:11 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.10.92-1

Affected versions

5.*

5.10.46-4
5.10.46-5
5.10.70-1~bpo10+1
5.10.70-1
5.10.84-1
5.10.92-1~bpo10+1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.15.15-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.15.15-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}