CVE-2022-50047

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-50047
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50047.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-50047
Downstream
Related
Published
2025-06-18T11:15:33Z
Modified
2025-06-18T16:47:52.693593Z
Summary
[none]
Details

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

net: dsa: mv88e6060: prevent crash on an unused port

If the port isn't a CPU port nor a user port, 'cpudp' is a null pointer and a crash happened on dereferencing it in mv88e6060setup_port():

[ 9.575872] Unable to handle kernel NULL pointer dereference at virtual address 00000014 ... [ 9.942216] mv88e6060setup from dsaregisterswitch+0x814/0xe84 [ 9.948616] dsaregisterswitch from mdioprobe+0x2c/0x54 [ 9.954433] mdioprobe from reallyprobe.part.0+0x98/0x2a0 [ 9.960375] reallyprobe.part.0 from driverprobedevice+0x30/0x10c [ 9.967029] driverprobedevice from _deviceattachdriver+0xb8/0x13c [ 9.973946] _deviceattachdriver from busforeachdrv+0x90/0xe0 [ 9.980509] busforeachdrv from _deviceattach+0x110/0x184 [ 9.986632] _deviceattach from busprobedevice+0x8c/0x94 [ 9.992577] busprobedevice from deferredprobeworkfunc+0x78/0xa8 [ 9.999311] deferredprobeworkfunc from processonework+0x290/0x73c [ 10.006292] processonework from workerthread+0x30/0x4b8 [ 10.012155] workerthread from kthread+0xd4/0x10c [ 10.017238] kthread from retfrom_fork+0x14/0x3c

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.140-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
5.10.92-1
5.10.92-2
5.10.103-1~bpo10+1
5.10.103-1
5.10.106-1
5.10.113-1
5.10.120-1~bpo10+1
5.10.120-1
5.10.127-1
5.10.127-2~bpo10+1
5.10.127-2
5.10.136-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
6.0.2-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
6.0.2-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}