In the Linux kernel, the following vulnerability has been resolved:
dm raid: fix KASAN warning in raid5adddisks
There's a KASAN warning in raid5adddisk when running the LVM testsuite. The warning happens in the test lvconvert-raid-reshape-lineartoraid6-single-type.sh. We fix the warning by verifying that rdev->savedraiddisk is within limits.
[
{
"deprecated": false,
"id": "CVE-2022-49673-0c9bda70",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2fb2928728038280bd925ce2aafb4997e9d47ee9",
"digest": {
"threshold": 0.9,
"line_hashes": [
"146630364748174604075667521468465161784",
"280102478094056521829671818782083849711",
"54094654654228403864967319058648065779",
"74523434994265194067838469993509499931"
]
},
"target": {
"file": "drivers/md/raid5.c"
},
"signature_type": "Line",
"signature_version": "v1"
},
{
"deprecated": false,
"id": "CVE-2022-49673-1f9e48f2",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@617b365872a247480e9dcd50a32c8d1806b21861",
"digest": {
"function_hash": "336756817543535086918976376244421960537",
"length": 1594.0
},
"target": {
"function": "raid5_add_disk",
"file": "drivers/md/raid5.c"
},
"signature_type": "Function",
"signature_version": "v1"
},
{
"deprecated": false,
"id": "CVE-2022-49673-7ee60a19",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@02cffb1921edadd9b6e4eee7ada4a5213e8ba12e",
"digest": {
"threshold": 0.9,
"line_hashes": [
"146630364748174604075667521468465161784",
"280102478094056521829671818782083849711",
"54094654654228403864967319058648065779",
"74523434994265194067838469993509499931"
]
},
"target": {
"file": "drivers/md/raid5.c"
},
"signature_type": "Line",
"signature_version": "v1"
},
{
"deprecated": false,
"id": "CVE-2022-49673-8486ea8a",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3553a69bb52be2deba61d0ca064c41aee842bb35",
"digest": {
"function_hash": "240913411506817595419144144408744497188",
"length": 1547.0
},
"target": {
"function": "raid5_add_disk",
"file": "drivers/md/raid5.c"
},
"signature_type": "Function",
"signature_version": "v1"
},
{
"deprecated": false,
"id": "CVE-2022-49673-8c7bed55",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f157bd9cf377a947fdb7035e69466b6ecdc17c17",
"digest": {
"function_hash": "240913411506817595419144144408744497188",
"length": 1547.0
},
"target": {
"function": "raid5_add_disk",
"file": "drivers/md/raid5.c"
},
"signature_type": "Function",
"signature_version": "v1"
},
{
"deprecated": false,
"id": "CVE-2022-49673-92d1cb66",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d8bca518d5272fe349e0a722fdb9e3acb661f3f0",
"digest": {
"threshold": 0.9,
"line_hashes": [
"146630364748174604075667521468465161784",
"280102478094056521829671818782083849711",
"54094654654228403864967319058648065779",
"74523434994265194067838469993509499931"
]
},
"target": {
"file": "drivers/md/raid5.c"
},
"signature_type": "Line",
"signature_version": "v1"
},
{
"deprecated": false,
"id": "CVE-2022-49673-a78f06c4",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d5b06039b195d4b6f94f5d345b1e4ac1975a9832",
"digest": {
"function_hash": "240913411506817595419144144408744497188",
"length": 1547.0
},
"target": {
"function": "raid5_add_disk",
"file": "drivers/md/raid5.c"
},
"signature_type": "Function",
"signature_version": "v1"
},
{
"deprecated": false,
"id": "CVE-2022-49673-ade192ae",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@617b365872a247480e9dcd50a32c8d1806b21861",
"digest": {
"threshold": 0.9,
"line_hashes": [
"146630364748174604075667521468465161784",
"280102478094056521829671818782083849711",
"54094654654228403864967319058648065779",
"74523434994265194067838469993509499931"
]
},
"target": {
"file": "drivers/md/raid5.c"
},
"signature_type": "Line",
"signature_version": "v1"
},
{
"deprecated": false,
"id": "CVE-2022-49673-bcd73d38",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3553a69bb52be2deba61d0ca064c41aee842bb35",
"digest": {
"threshold": 0.9,
"line_hashes": [
"146630364748174604075667521468465161784",
"280102478094056521829671818782083849711",
"54094654654228403864967319058648065779",
"74523434994265194067838469993509499931"
]
},
"target": {
"file": "drivers/md/raid5.c"
},
"signature_type": "Line",
"signature_version": "v1"
},
{
"deprecated": false,
"id": "CVE-2022-49673-be4509e7",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d8bca518d5272fe349e0a722fdb9e3acb661f3f0",
"digest": {
"function_hash": "240913411506817595419144144408744497188",
"length": 1547.0
},
"target": {
"function": "raid5_add_disk",
"file": "drivers/md/raid5.c"
},
"signature_type": "Function",
"signature_version": "v1"
},
{
"deprecated": false,
"id": "CVE-2022-49673-c96d6b30",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2fb2928728038280bd925ce2aafb4997e9d47ee9",
"digest": {
"function_hash": "101301684431598554743160822243033793984",
"length": 1455.0
},
"target": {
"function": "raid5_add_disk",
"file": "drivers/md/raid5.c"
},
"signature_type": "Function",
"signature_version": "v1"
},
{
"deprecated": false,
"id": "CVE-2022-49673-cbea2e97",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f157bd9cf377a947fdb7035e69466b6ecdc17c17",
"digest": {
"threshold": 0.9,
"line_hashes": [
"146630364748174604075667521468465161784",
"280102478094056521829671818782083849711",
"54094654654228403864967319058648065779",
"74523434994265194067838469993509499931"
]
},
"target": {
"file": "drivers/md/raid5.c"
},
"signature_type": "Line",
"signature_version": "v1"
},
{
"deprecated": false,
"id": "CVE-2022-49673-dd1722e7",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2d4e7c9898c20fb3d3f55381cab601761aab7d64",
"digest": {
"function_hash": "302342901940377414166971549905528037609",
"length": 1567.0
},
"target": {
"function": "raid5_add_disk",
"file": "drivers/md/raid5.c"
},
"signature_type": "Function",
"signature_version": "v1"
},
{
"deprecated": false,
"id": "CVE-2022-49673-e81b3d05",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2d4e7c9898c20fb3d3f55381cab601761aab7d64",
"digest": {
"threshold": 0.9,
"line_hashes": [
"146630364748174604075667521468465161784",
"280102478094056521829671818782083849711",
"54094654654228403864967319058648065779",
"74523434994265194067838469993509499931"
]
},
"target": {
"file": "drivers/md/raid5.c"
},
"signature_type": "Line",
"signature_version": "v1"
},
{
"deprecated": false,
"id": "CVE-2022-49673-e827da8d",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d5b06039b195d4b6f94f5d345b1e4ac1975a9832",
"digest": {
"threshold": 0.9,
"line_hashes": [
"146630364748174604075667521468465161784",
"280102478094056521829671818782083849711",
"54094654654228403864967319058648065779",
"74523434994265194067838469993509499931"
]
},
"target": {
"file": "drivers/md/raid5.c"
},
"signature_type": "Line",
"signature_version": "v1"
},
{
"deprecated": false,
"id": "CVE-2022-49673-fa988c55",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@02cffb1921edadd9b6e4eee7ada4a5213e8ba12e",
"digest": {
"function_hash": "240913411506817595419144144408744497188",
"length": 1547.0
},
"target": {
"function": "raid5_add_disk",
"file": "drivers/md/raid5.c"
},
"signature_type": "Function",
"signature_version": "v1"
}
]