In the Linux kernel, the following vulnerability has been resolved:
net: usb: aqc111: Fix out-of-bounds accesses in RX fixup
aqc111rxfixup() contains several out-of-bounds accesses that can be triggered by a malicious (or defective) USB device, in particular:
Found doing variant analysis. Tested it with another driver (ax88179_178a), since I don't have a aqc111 device to test it, but the code looks very similar.
[
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/net/usb/aqc111.c",
"function": "aqc111_rx_fixup"
},
"digest": {
"length": 1649.0,
"function_hash": "108383855037476167444058287644147238873"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@afb8e246527536848b9b4025b40e613edf776a9d",
"signature_version": "v1",
"id": "CVE-2022-49051-009f1969"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/net/usb/aqc111.c",
"function": "aqc111_rx_fixup"
},
"digest": {
"length": 1649.0,
"function_hash": "108383855037476167444058287644147238873"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@404998a137bcb8a926f7c949030afbe285472593",
"signature_version": "v1",
"id": "CVE-2022-49051-22c3f161"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/net/usb/aqc111.c"
},
"digest": {
"line_hashes": [
"204242401822138166208664882320699587709",
"9937133800807694170687122129953322783",
"36809248365350276130284209936934254834",
"330614484966643156371737413265869487635",
"187618697322636723562967976485698265469"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@36311fe98f55dea9200c69e2dd6d6ddb8fc94080",
"signature_version": "v1",
"id": "CVE-2022-49051-43ffc635"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/net/usb/aqc111.c"
},
"digest": {
"line_hashes": [
"204242401822138166208664882320699587709",
"9937133800807694170687122129953322783",
"36809248365350276130284209936934254834",
"330614484966643156371737413265869487635",
"187618697322636723562967976485698265469"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@afb8e246527536848b9b4025b40e613edf776a9d",
"signature_version": "v1",
"id": "CVE-2022-49051-484bea56"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/net/usb/aqc111.c"
},
"digest": {
"line_hashes": [
"204242401822138166208664882320699587709",
"9937133800807694170687122129953322783",
"36809248365350276130284209936934254834",
"330614484966643156371737413265869487635",
"187618697322636723562967976485698265469"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b416898442f2b6aa9f1b2f2968ce07e3abaa05f7",
"signature_version": "v1",
"id": "CVE-2022-49051-5daca836"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/net/usb/aqc111.c",
"function": "aqc111_rx_fixup"
},
"digest": {
"length": 1649.0,
"function_hash": "108383855037476167444058287644147238873"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b416898442f2b6aa9f1b2f2968ce07e3abaa05f7",
"signature_version": "v1",
"id": "CVE-2022-49051-6547d07f"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/net/usb/aqc111.c"
},
"digest": {
"line_hashes": [
"204242401822138166208664882320699587709",
"9937133800807694170687122129953322783",
"36809248365350276130284209936934254834",
"330614484966643156371737413265869487635",
"187618697322636723562967976485698265469"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d90df6da50c56ad8b1a132e3cf86b6cdf8f507b7",
"signature_version": "v1",
"id": "CVE-2022-49051-6efdbcd4"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/net/usb/aqc111.c",
"function": "aqc111_rx_fixup"
},
"digest": {
"length": 1649.0,
"function_hash": "108383855037476167444058287644147238873"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d90df6da50c56ad8b1a132e3cf86b6cdf8f507b7",
"signature_version": "v1",
"id": "CVE-2022-49051-73a900dc"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/net/usb/aqc111.c",
"function": "aqc111_rx_fixup"
},
"digest": {
"length": 1649.0,
"function_hash": "108383855037476167444058287644147238873"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@36311fe98f55dea9200c69e2dd6d6ddb8fc94080",
"signature_version": "v1",
"id": "CVE-2022-49051-78dc14fa"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/net/usb/aqc111.c"
},
"digest": {
"line_hashes": [
"204242401822138166208664882320699587709",
"9937133800807694170687122129953322783",
"36809248365350276130284209936934254834",
"330614484966643156371737413265869487635",
"187618697322636723562967976485698265469"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@404998a137bcb8a926f7c949030afbe285472593",
"signature_version": "v1",
"id": "CVE-2022-49051-b38f6473"
}
]