{"id":"CVE-2021-47583","published":"2024-06-19T14:53:49Z","modified":"2026-05-11T13:57:21Z","title":"media: mxl111sf: change mutex_init() location","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00239,"percentile":0.15253,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/4b2d9600b31f9ba7adbc9f3c54a068615d27b390","tags":[]},{"url":"https://git.kernel.org/stable/c/96f182c9f48b984447741f054ec301fdc8517035","tags":[]},{"url":"https://git.kernel.org/stable/c/b99bdf127af91d53919e96292c05f737c45ea59a","tags":[]},{"url":"https://git.kernel.org/stable/c/8c6fdf62bfe1bc72bfceeaf832ef7499c7ed09ba","tags":[]},{"url":"https://git.kernel.org/stable/c/44870a9e7a3c24acbb3f888b2a7cc22c9bdf7e7f","tags":[]}],"priority":{"score":3.1,"factors":[{"name":"EPSS percentile","points":3.05}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 8572211842afc53c8450fb470f2b8d02ba7592e0, < 4b2d9600b31f9ba7adbc9f3c54a068615d27b390",">= 8572211842afc53c8450fb470f2b8d02ba7592e0, < 96f182c9f48b984447741f054ec301fdc8517035",">= 8572211842afc53c8450fb470f2b8d02ba7592e0, < b99bdf127af91d53919e96292c05f737c45ea59a",">= 8572211842afc53c8450fb470f2b8d02ba7592e0, < 8c6fdf62bfe1bc72bfceeaf832ef7499c7ed09ba",">= 8572211842afc53c8450fb470f2b8d02ba7592e0, < 44870a9e7a3c24acbb3f888b2a7cc22c9bdf7e7f"]},{"vendor":"Linux","product":"Linux","versions":["3.7"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-06-24T18:10:30.676527Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2021-34585","exploited":false,"provenance":"source"}}