In the Linux kernel, the following vulnerability has been resolved:
ALSA: usb-audio: Fix an out-of-bounds bug in _sndusbparseaudio_interface()
There may be a bad USB audio device with a USB ID of (0x04fa, 0x4201) and the number of it's interfaces less than 4, an out-of-bounds read bug occurs when parsing the interface descriptor for this device.
Fix this by checking the number of interfaces.
[
{
"id": "CVE-2022-48701-1521386f",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6123bec8480d23369e2ee0b2208611619f269faf",
"signature_version": "v1",
"digest": {
"line_hashes": [
"100623411815116097688980505371582653575",
"259419971986281934236413780425413462723",
"103013356348037280684905420554245431699",
"63704807239903139342956872934758244738"
],
"threshold": 0.9
},
"target": {
"file": "sound/usb/stream.c"
},
"signature_type": "Line",
"deprecated": false
},
{
"id": "CVE-2022-48701-28df2039",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@91904870370fd986c29719846ed76d559de43251",
"signature_version": "v1",
"digest": {
"line_hashes": [
"100623411815116097688980505371582653575",
"259419971986281934236413780425413462723",
"103013356348037280684905420554245431699",
"63704807239903139342956872934758244738"
],
"threshold": 0.9
},
"target": {
"file": "sound/usb/stream.c"
},
"signature_type": "Line",
"deprecated": false
},
{
"id": "CVE-2022-48701-3405ef91",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6123bec8480d23369e2ee0b2208611619f269faf",
"signature_version": "v1",
"digest": {
"length": 2662.0,
"function_hash": "122226200742783473183166006219834647341"
},
"target": {
"function": "__snd_usb_parse_audio_interface",
"file": "sound/usb/stream.c"
},
"signature_type": "Function",
"deprecated": false
},
{
"id": "CVE-2022-48701-35d72bef",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@98e8e67395cc6d0cdf3a771f86ea42d0ee6e59dd",
"signature_version": "v1",
"digest": {
"length": 2980.0,
"function_hash": "46953550342465464441457210876773224861"
},
"target": {
"function": "__snd_usb_parse_audio_interface",
"file": "sound/usb/stream.c"
},
"signature_type": "Function",
"deprecated": false
},
{
"id": "CVE-2022-48701-387ee025",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2a308e415d247a23d4d64c964c02e782eede2936",
"signature_version": "v1",
"digest": {
"length": 2504.0,
"function_hash": "236851730521348144355447069241754183173"
},
"target": {
"function": "snd_usb_parse_audio_interface",
"file": "sound/usb/stream.c"
},
"signature_type": "Function",
"deprecated": false
},
{
"id": "CVE-2022-48701-4128c049",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@98e8e67395cc6d0cdf3a771f86ea42d0ee6e59dd",
"signature_version": "v1",
"digest": {
"line_hashes": [
"100623411815116097688980505371582653575",
"259419971986281934236413780425413462723",
"103013356348037280684905420554245431699",
"63704807239903139342956872934758244738"
],
"threshold": 0.9
},
"target": {
"file": "sound/usb/stream.c"
},
"signature_type": "Line",
"deprecated": false
},
{
"id": "CVE-2022-48701-44376bee",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2a308e415d247a23d4d64c964c02e782eede2936",
"signature_version": "v1",
"digest": {
"line_hashes": [
"100623411815116097688980505371582653575",
"259419971986281934236413780425413462723",
"103013356348037280684905420554245431699",
"63704807239903139342956872934758244738"
],
"threshold": 0.9
},
"target": {
"file": "sound/usb/stream.c"
},
"signature_type": "Line",
"deprecated": false
},
{
"id": "CVE-2022-48701-62c64ad8",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e53f47f6c1a56d2af728909f1cb894da6b43d9bf",
"signature_version": "v1",
"digest": {
"line_hashes": [
"100623411815116097688980505371582653575",
"259419971986281934236413780425413462723",
"103013356348037280684905420554245431699",
"63704807239903139342956872934758244738"
],
"threshold": 0.9
},
"target": {
"file": "sound/usb/stream.c"
},
"signature_type": "Line",
"deprecated": false
},
{
"id": "CVE-2022-48701-687e5fd2",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b970518014f2f0f6c493fb86c1e092b936899061",
"signature_version": "v1",
"digest": {
"line_hashes": [
"100623411815116097688980505371582653575",
"259419971986281934236413780425413462723",
"103013356348037280684905420554245431699",
"63704807239903139342956872934758244738"
],
"threshold": 0.9
},
"target": {
"file": "sound/usb/stream.c"
},
"signature_type": "Line",
"deprecated": false
},
{
"id": "CVE-2022-48701-733298a0",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@91904870370fd986c29719846ed76d559de43251",
"signature_version": "v1",
"digest": {
"length": 5642.0,
"function_hash": "137531654022571558554349661342344643545"
},
"target": {
"function": "snd_usb_parse_audio_interface",
"file": "sound/usb/stream.c"
},
"signature_type": "Function",
"deprecated": false
},
{
"id": "CVE-2022-48701-7c74f04a",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8293e61bbf908b18ff9935238d4fc2ad359e3fe0",
"signature_version": "v1",
"digest": {
"line_hashes": [
"100623411815116097688980505371582653575",
"259419971986281934236413780425413462723",
"103013356348037280684905420554245431699",
"63704807239903139342956872934758244738"
],
"threshold": 0.9
},
"target": {
"file": "sound/usb/stream.c"
},
"signature_type": "Line",
"deprecated": false
},
{
"id": "CVE-2022-48701-8efef28e",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e53f47f6c1a56d2af728909f1cb894da6b43d9bf",
"signature_version": "v1",
"digest": {
"length": 2980.0,
"function_hash": "46953550342465464441457210876773224861"
},
"target": {
"function": "__snd_usb_parse_audio_interface",
"file": "sound/usb/stream.c"
},
"signature_type": "Function",
"deprecated": false
},
{
"id": "CVE-2022-48701-99add92c",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0492798bf8dfcc09c9337a1ba065da1d1ca68712",
"signature_version": "v1",
"digest": {
"line_hashes": [
"100623411815116097688980505371582653575",
"259419971986281934236413780425413462723",
"103013356348037280684905420554245431699",
"63704807239903139342956872934758244738"
],
"threshold": 0.9
},
"target": {
"file": "sound/usb/stream.c"
},
"signature_type": "Line",
"deprecated": false
},
{
"id": "CVE-2022-48701-a6d8045c",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b970518014f2f0f6c493fb86c1e092b936899061",
"signature_version": "v1",
"digest": {
"length": 5694.0,
"function_hash": "122132708082427819436451802066915176966"
},
"target": {
"function": "snd_usb_parse_audio_interface",
"file": "sound/usb/stream.c"
},
"signature_type": "Function",
"deprecated": false
},
{
"id": "CVE-2022-48701-b3e71209",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8293e61bbf908b18ff9935238d4fc2ad359e3fe0",
"signature_version": "v1",
"digest": {
"length": 2980.0,
"function_hash": "46953550342465464441457210876773224861"
},
"target": {
"function": "__snd_usb_parse_audio_interface",
"file": "sound/usb/stream.c"
},
"signature_type": "Function",
"deprecated": false
},
{
"id": "CVE-2022-48701-edd11aec",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0492798bf8dfcc09c9337a1ba065da1d1ca68712",
"signature_version": "v1",
"digest": {
"length": 2648.0,
"function_hash": "317669061319862376754646114031586245847"
},
"target": {
"function": "__snd_usb_parse_audio_interface",
"file": "sound/usb/stream.c"
},
"signature_type": "Function",
"deprecated": false
}
]