CVE-2021-47583
media: mxl111sf: change mutex_init() location
Reported by linux · Published June 19, 2024
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 5.15.11, 5.10.88, 5.4.168, 4.19.222 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 8572211842afc53c8450fb470f2b8d02ba7592e0, 8572211842afc53c8450fb470f2b8d02ba7592e0, 8572211842afc53c8450fb470f2b8d02ba7592e0 |
| Linux | Linux | 3.7, 0, 4.19.222 |
| linux | linux_kernel | 3.7, 3.7, 3.7 |
| Linux | Linux | 8572211842afc53c8450fb470f2b8d02ba7592e0, 8572211842afc53c8450fb470f2b8d02ba7592e0, 8572211842afc53c8450fb470f2b8d02ba7592e0 |
Timeline
- Jun 19, 2024 CVE Published
- Jun 20, 2024 EPSS Score (30 in total, the first dated here)
- Nov 21, 2024 CVE Updated
- Jun 2, 2026 Security Advisory (303 in total, the first dated here)
- Jul 13, 2026 Coalition ESS Score
- Sep 9, 2026 Distribution Patch (226 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-47583
vulnetix vdb fixes CVE-2021-47583
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-47583/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart