CVE-2021-47583
media: mxl111sf: change mutex_init() location
Check your servers for CVE-2021-47583
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-2021-47583 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:
media: mxl111sf: change mutex_init() location
Syzbot reported, that mxl111sf_ctrl_msg() uses uninitialized mutex. The problem was in wrong mutex_init() location.
Previous mutex_init(&state->msg_lock) call was in ->init() function, but dvb_usbv2_init() has this order of calls:
dvb_usbv2_init() dvb_usbv2_adapter_init() dvb_usbv2_adapter_frontend_init() props->frontend_attach()
props->init()
Since mxl111sf_* devices call mxl111sf_ctrl_msg() in ->frontend_attach() internally we need to initialize state->msg_lock before frontend_attach(). To achieve it, ->probe() call added to all mxl111sf_* devices, which will simply initiaize mutex.
Exploitation
EPSS 0.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 16.0% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 24 Jun 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 8572211842afc53c8450fb470f2b8d02ba7592e0, before 4b2d9600b31f9ba7adbc9f3c54a068615d27b390 affected from 8572211842afc53c8450fb470f2b8d02ba7592e0, before 96f182c9f48b984447741f054ec301fdc8517035 affected from 8572211842afc53c8450fb470f2b8d02ba7592e0, before b99bdf127af91d53919e96292c05f737c45ea59a affected from 8572211842afc53c8450fb470f2b8d02ba7592e0, before 8c6fdf62bfe1bc72bfceeaf832ef7499c7ed09ba affected from 8572211842afc53c8450fb470f2b8d02ba7592e0, before 44870a9e7a3c24acbb3f888b2a7cc22c9bdf7e7f
Other versions: unaffected
|
| Linux |
affected 3.7 unaffected before 3.7 unaffected from 4.19.222 up to and including 4.19.* unaffected from 5.4.168 up to and including 5.4.* unaffected from 5.10.88 up to and including 5.10.* unaffected from 5.15.11 up to and including 5.15.* unaffected 5.16 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-2021-47583 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2021-47583
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-2021-47583
trivy image --scanners vuln IMAGE | grep CVE-2021-47583
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/4b2d9600b31f9ba7adbc9f3c54a068615d27b390 git.kernel.org
- https://git.kernel.org/stable/c/96f182c9f48b984447741f054ec301fdc8517035 git.kernel.org
- https://git.kernel.org/stable/c/b99bdf127af91d53919e96292c05f737c45ea59a git.kernel.org
- https://git.kernel.org/stable/c/8c6fdf62bfe1bc72bfceeaf832ef7499c7ed09ba git.kernel.org
- https://git.kernel.org/stable/c/44870a9e7a3c24acbb3f888b2a7cc22c9bdf7e7f git.kernel.org
Source: the record CVE-2021-47583 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse