{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-47583","id":"CVE-2021-47583","title":"media: mxl111sf: change mutex_init() location","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: mxl111sf: change mutex_init() location\n\nSyzbot reported, that mxl111sf_ctrl_msg() uses uninitialized\nmutex. The problem was in wrong mutex_init() location.\n\nPrevious mutex_init(&state->msg_lock) call was in ->init() function, but\ndvb_usbv2_init() has this order of calls:\n\n\tdvb_usbv2_init()\n\t  dvb_usbv2_adapter_init()\n\t    ","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: mxl111sf: change mutex_init() location\n\nSyzbot reported, that mxl111sf_ctrl_msg() uses uninitialized\nmutex. The problem was in wrong mutex_init() location.\n\nPrevious mutex_init(&state->msg_lock) call was in ->init() function, but\ndvb_usbv2_init() has this order of calls:\n\n\tdvb_usbv2_init()\n\t  dvb_usbv2_adapter_init()\n\t    dvb_usbv2_adapter_frontend_init()\n\t      props->frontend_attach()\n\n\t  props->init()\n\nSince mxl111sf_* devices call mxl111sf_ctrl_msg() in ->frontend_attach()\ninternally we need to initialize state->msg_lock before\nfrontend_attach(). To achieve it, ->probe() call added to all mxl111sf_*\ndevices, which will simply initiaize mutex.","published":"2024-06-19T14:53:49.459Z","updated":"2026-06-17T04:17:48.747Z","reserved":"2024-05-24T15:11:00.731Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"8572211842afc53c8450fb470f2b8d02ba7592e0","lessThan":"4b2d9600b31f9ba7adbc9f3c54a068615d27b390","status":"affected","versionType":"git"},{"version":"8572211842afc53c8450fb470f2b8d02ba7592e0","lessThan":"96f182c9f48b984447741f054ec301fdc8517035","status":"affected","versionType":"git"},{"version":"8572211842afc53c8450fb470f2b8d02ba7592e0","lessThan":"b99bdf127af91d53919e96292c05f737c45ea59a","status":"affected","versionType":"git"},{"version":"8572211842afc53c8450fb470f2b8d02ba7592e0","lessThan":"8c6fdf62bfe1bc72bfceeaf832ef7499c7ed09ba","status":"affected","versionType":"git"},{"version":"8572211842afc53c8450fb470f2b8d02ba7592e0","lessThan":"44870a9e7a3c24acbb3f888b2a7cc22c9bdf7e7f","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.7","status":"affected"},{"version":"0","lessThan":"3.7","status":"unaffected","versionType":"semver"},{"version":"4.19.222","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.168","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.88","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.11","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.16","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-908"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/4b2d9600b31f9ba7adbc9f3c54a068615d27b390","tags":["x_transferred","Patch","fix"]},{"url":"https://git.kernel.org/stable/c/96f182c9f48b984447741f054ec301fdc8517035","tags":["x_transferred","Patch","fix"]},{"url":"https://git.kernel.org/stable/c/b99bdf127af91d53919e96292c05f737c45ea59a","tags":["x_transferred","Patch","fix"]},{"url":"https://git.kernel.org/stable/c/8c6fdf62bfe1bc72bfceeaf832ef7499c7ed09ba","tags":["x_transferred","Patch","fix"]},{"url":"https://git.kernel.org/stable/c/44870a9e7a3c24acbb3f888b2a7cc22c9bdf7e7f","tags":["x_transferred","Patch","fix"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00239,"epssPercentile":0.15141,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-47583","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-47583","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-47583","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-47583","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}