In the Linux kernel, the following vulnerability has been resolved:
dm raid: fix address sanitizer warning in raid_resume
There is a KASAN warning in raidresume when running the lvm test lvconvert-raid.sh. The reason for the warning is that mddev->raiddisks is greater than rs->raid_disks, so the loop touches one entry beyond the allocated length.
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c2d47bef93fb74aa97d90f9a40ca657b8f376083",
"target": {
"function": "attempt_restore_of_faulty_devices",
"file": "drivers/md/dm-raid.c"
},
"id": "CVE-2022-50085-12f86007",
"deprecated": false,
"digest": {
"function_hash": "243324749123997125773890554918960292903",
"length": 1616.0
},
"signature_version": "v1",
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@74af83732a39ab7d3bc9b49219a535853e25679f",
"target": {
"function": "attempt_restore_of_faulty_devices",
"file": "drivers/md/dm-raid.c"
},
"id": "CVE-2022-50085-263f304e",
"deprecated": false,
"digest": {
"function_hash": "243324749123997125773890554918960292903",
"length": 1616.0
},
"signature_version": "v1",
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c2f075e729636a44e98d9722e3852c2fa6fa49b6",
"target": {
"file": "drivers/md/dm-raid.c"
},
"id": "CVE-2022-50085-3845681d",
"deprecated": false,
"digest": {
"line_hashes": [
"60301763144210673469189907198937435866",
"335744780851806400982856165635229833810",
"17585759119904938910477354809101205426",
"6699733361302044326132739160651112750"
],
"threshold": 0.9
},
"signature_version": "v1",
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3bfdc95466f5be4d8d95db5a5b470d61641a7c24",
"target": {
"function": "attempt_restore_of_faulty_devices",
"file": "drivers/md/dm-raid.c"
},
"id": "CVE-2022-50085-44608c71",
"deprecated": false,
"digest": {
"function_hash": "243324749123997125773890554918960292903",
"length": 1616.0
},
"signature_version": "v1",
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2a9faa704d83ff0b04387e385efd8ae21cd95af6",
"target": {
"function": "attempt_restore_of_faulty_devices",
"file": "drivers/md/dm-raid.c"
},
"id": "CVE-2022-50085-490e6156",
"deprecated": false,
"digest": {
"function_hash": "243324749123997125773890554918960292903",
"length": 1616.0
},
"signature_version": "v1",
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@71f601c779b3cc1baf497796f5b922c3fe5d2a1e",
"target": {
"file": "drivers/md/dm-raid.c"
},
"id": "CVE-2022-50085-4bedccb7",
"deprecated": false,
"digest": {
"line_hashes": [
"60301763144210673469189907198937435866",
"335744780851806400982856165635229833810",
"17585759119904938910477354809101205426",
"6699733361302044326132739160651112750"
],
"threshold": 0.9
},
"signature_version": "v1",
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2a9faa704d83ff0b04387e385efd8ae21cd95af6",
"target": {
"file": "drivers/md/dm-raid.c"
},
"id": "CVE-2022-50085-609eacc8",
"deprecated": false,
"digest": {
"line_hashes": [
"60301763144210673469189907198937435866",
"335744780851806400982856165635229833810",
"17585759119904938910477354809101205426",
"6699733361302044326132739160651112750"
],
"threshold": 0.9
},
"signature_version": "v1",
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c2f075e729636a44e98d9722e3852c2fa6fa49b6",
"target": {
"function": "attempt_restore_of_faulty_devices",
"file": "drivers/md/dm-raid.c"
},
"id": "CVE-2022-50085-6660c6a1",
"deprecated": false,
"digest": {
"function_hash": "243324749123997125773890554918960292903",
"length": 1616.0
},
"signature_version": "v1",
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@50235d9a1f1f742619ed9963cb9f240e5b821d46",
"target": {
"function": "attempt_restore_of_faulty_devices",
"file": "drivers/md/dm-raid.c"
},
"id": "CVE-2022-50085-6d24d4ab",
"deprecated": false,
"digest": {
"function_hash": "243324749123997125773890554918960292903",
"length": 1616.0
},
"signature_version": "v1",
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@71f601c779b3cc1baf497796f5b922c3fe5d2a1e",
"target": {
"function": "attempt_restore_of_faulty_devices",
"file": "drivers/md/dm-raid.c"
},
"id": "CVE-2022-50085-a6f02302",
"deprecated": false,
"digest": {
"function_hash": "243324749123997125773890554918960292903",
"length": 1616.0
},
"signature_version": "v1",
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c2d47bef93fb74aa97d90f9a40ca657b8f376083",
"target": {
"file": "drivers/md/dm-raid.c"
},
"id": "CVE-2022-50085-b573edb7",
"deprecated": false,
"digest": {
"line_hashes": [
"60301763144210673469189907198937435866",
"335744780851806400982856165635229833810",
"17585759119904938910477354809101205426",
"6699733361302044326132739160651112750"
],
"threshold": 0.9
},
"signature_version": "v1",
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3bfdc95466f5be4d8d95db5a5b470d61641a7c24",
"target": {
"file": "drivers/md/dm-raid.c"
},
"id": "CVE-2022-50085-c5b80681",
"deprecated": false,
"digest": {
"line_hashes": [
"60301763144210673469189907198937435866",
"335744780851806400982856165635229833810",
"17585759119904938910477354809101205426",
"6699733361302044326132739160651112750"
],
"threshold": 0.9
},
"signature_version": "v1",
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7dad24db59d2d2803576f2e3645728866a056dab",
"target": {
"function": "attempt_restore_of_faulty_devices",
"file": "drivers/md/dm-raid.c"
},
"id": "CVE-2022-50085-e3a36386",
"deprecated": false,
"digest": {
"function_hash": "243324749123997125773890554918960292903",
"length": 1616.0
},
"signature_version": "v1",
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7dad24db59d2d2803576f2e3645728866a056dab",
"target": {
"file": "drivers/md/dm-raid.c"
},
"id": "CVE-2022-50085-e71058b0",
"deprecated": false,
"digest": {
"line_hashes": [
"60301763144210673469189907198937435866",
"335744780851806400982856165635229833810",
"17585759119904938910477354809101205426",
"6699733361302044326132739160651112750"
],
"threshold": 0.9
},
"signature_version": "v1",
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@50235d9a1f1f742619ed9963cb9f240e5b821d46",
"target": {
"file": "drivers/md/dm-raid.c"
},
"id": "CVE-2022-50085-ecfb9126",
"deprecated": false,
"digest": {
"line_hashes": [
"60301763144210673469189907198937435866",
"335744780851806400982856165635229833810",
"17585759119904938910477354809101205426",
"6699733361302044326132739160651112750"
],
"threshold": 0.9
},
"signature_version": "v1",
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@74af83732a39ab7d3bc9b49219a535853e25679f",
"target": {
"file": "drivers/md/dm-raid.c"
},
"id": "CVE-2022-50085-efc242b0",
"deprecated": false,
"digest": {
"line_hashes": [
"60301763144210673469189907198937435866",
"335744780851806400982856165635229833810",
"17585759119904938910477354809101205426",
"6699733361302044326132739160651112750"
],
"threshold": 0.9
},
"signature_version": "v1",
"signature_type": "Line"
}
]