{"id":"CVE-2022-50085","summary":"dm raid: fix address sanitizer warning in raid_resume","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndm raid: fix address sanitizer warning in raid_resume\n\nThere is a KASAN warning in raid_resume when running the lvm test\nlvconvert-raid.sh. The reason for the warning is that mddev-\u003eraid_disks\nis greater than rs-\u003eraid_disks, so the loop touches one entry beyond\nthe allocated length.","modified":"2026-04-03T13:14:43.109796Z","published":"2025-06-18T11:02:26.700Z","related":["SUSE-SU-2025:02264-1","SUSE-SU-2025:02308-1","SUSE-SU-2025:02320-1","SUSE-SU-2025:02321-1","SUSE-SU-2025:02322-1","SUSE-SU-2025:02334-1","SUSE-SU-2025:02537-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50085.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2a9faa704d83ff0b04387e385efd8ae21cd95af6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3bfdc95466f5be4d8d95db5a5b470d61641a7c24"},{"type":"WEB","url":"https://git.kernel.org/stable/c/50235d9a1f1f742619ed9963cb9f240e5b821d46"},{"type":"WEB","url":"https://git.kernel.org/stable/c/71f601c779b3cc1baf497796f5b922c3fe5d2a1e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/74af83732a39ab7d3bc9b49219a535853e25679f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7dad24db59d2d2803576f2e3645728866a056dab"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c2d47bef93fb74aa97d90f9a40ca657b8f376083"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c2f075e729636a44e98d9722e3852c2fa6fa49b6"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50085.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50085"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"33e53f06850f44ec9722e08a993ecf8816e447a5"},{"fixed":"c2f075e729636a44e98d9722e3852c2fa6fa49b6"},{"fixed":"3bfdc95466f5be4d8d95db5a5b470d61641a7c24"},{"fixed":"71f601c779b3cc1baf497796f5b922c3fe5d2a1e"},{"fixed":"c2d47bef93fb74aa97d90f9a40ca657b8f376083"},{"fixed":"50235d9a1f1f742619ed9963cb9f240e5b821d46"},{"fixed":"74af83732a39ab7d3bc9b49219a535853e25679f"},{"fixed":"2a9faa704d83ff0b04387e385efd8ae21cd95af6"},{"fixed":"7dad24db59d2d2803576f2e3645728866a056dab"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50085.json"}}],"schema_version":"1.7.5"}