CVE-2022-50047
net: dsa: mv88e6060: prevent crash on an unused port
Check your servers for CVE-2022-50047
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-50047 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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, 'cpu_dp' is a null pointer and a crash happened on dereferencing it in mv88e6060_setup_port():
[ 9.575872] Unable to handle kernel NULL pointer dereference at virtual address 00000014 ... [ 9.942216] mv88e6060_setup from dsa_register_switch+0x814/0xe84 [ 9.948616] dsa_register_switch from mdio_probe+0x2c/0x54 [ 9.954433] mdio_probe from really_probe.part.0+0x98/0x2a0 [ 9.960375] really_probe.part.0 from driver_probe_device+0x30/0x10c [ 9.967029] driver_probe_device from __device_attach_driver+0xb8/0x13c [ 9.973946] __device_attach_driver from bus_for_each_drv+0x90/0xe0 [ 9.980509] bus_for_each_drv from __device_attach+0x110/0x184 [ 9.986632] __device_attach from bus_probe_device+0x8c/0x94 [ 9.992577] bus_probe_device from deferred_probe_work_func+0x78/0xa8 [ 9.999311] deferred_probe_work_func from process_one_work+0x290/0x73c [ 10.006292] process_one_work from worker_thread+0x30/0x4b8 [ 10.012155] worker_thread from kthread+0xd4/0x10c [ 10.017238] kthread from ret_from_fork+0x14/0x3c
Exploitation
EPSS 0.20%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 10.6% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 0abfd494deefdbab66ac03c1181a614285e7d90c, before cb1753bc689c7a7f94da6eee7efc1ae6d8abb36c affected from 0abfd494deefdbab66ac03c1181a614285e7d90c, before 92dc64e8f591425ce4dabf7d479ebf6e67fb8853 affected from 0abfd494deefdbab66ac03c1181a614285e7d90c, before dd236b62d25e44ecfa26b0910a12f8d8251aff00 affected from 0abfd494deefdbab66ac03c1181a614285e7d90c, before f3a4b55829617cad2d36fa6524367ef629566ba6 affected from 0abfd494deefdbab66ac03c1181a614285e7d90c, before 246bbf2f977ea36aaf41f5d24370fef433250728
Other versions: unaffected
|
| Linux |
affected 4.15 unaffected before 4.15 unaffected from 5.4.211 up to and including 5.4.* unaffected from 5.10.138 up to and including 5.10.* unaffected from 5.15.63 up to and including 5.15.* unaffected from 5.19.4 up to and including 5.19.* unaffected 6.0 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-50047 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-50047
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2022-50047
trivy image --scanners vuln IMAGE | grep CVE-2022-50047
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/cb1753bc689c7a7f94da6eee7efc1ae6d8abb36c git.kernel.org
- https://git.kernel.org/stable/c/92dc64e8f591425ce4dabf7d479ebf6e67fb8853 git.kernel.org
- https://git.kernel.org/stable/c/dd236b62d25e44ecfa26b0910a12f8d8251aff00 git.kernel.org
- https://git.kernel.org/stable/c/f3a4b55829617cad2d36fa6524367ef629566ba6 git.kernel.org
- https://git.kernel.org/stable/c/246bbf2f977ea36aaf41f5d24370fef433250728 git.kernel.org
Source: the record CVE-2022-50047 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse