In the Linux kernel, the following vulnerability has been resolved:
gpio: gpio-xilinx: Fix integer overflow
Current implementation is not able to configure more than 32 pins due to incorrect data type. So type casting with unsigned long to avoid it.
[
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"185838875538784691888280619849901674762",
"83455041350741997950361986452243505687",
"173582107415512382831405369573176808269",
"102503584041715043377447025397001246290"
]
},
"id": "CVE-2022-49570-0c69141a",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6f16a5390640807dde420ee5ccbc4c95577aea6a",
"signature_version": "v1",
"target": {
"file": "drivers/gpio/gpio-xilinx.c"
},
"deprecated": false
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"185838875538784691888280619849901674762",
"83455041350741997950361986452243505687",
"173582107415512382831405369573176808269",
"102503584041715043377447025397001246290"
]
},
"id": "CVE-2022-49570-0fce0002",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@32c094a09d5829ad9b02cdf667569aefa8de0ea6",
"signature_version": "v1",
"target": {
"file": "drivers/gpio/gpio-xilinx.c"
},
"deprecated": false
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"185838875538784691888280619849901674762",
"83455041350741997950361986452243505687",
"173582107415512382831405369573176808269",
"102503584041715043377447025397001246290"
]
},
"id": "CVE-2022-49570-3024b5c4",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e129e5486b981d324057e6986059f852658b0d00",
"signature_version": "v1",
"target": {
"file": "drivers/gpio/gpio-xilinx.c"
},
"deprecated": false
},
{
"digest": {
"function_hash": "93325473129159895134037026521943094450",
"length": 275.0
},
"id": "CVE-2022-49570-ad6d7b4d",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6f16a5390640807dde420ee5ccbc4c95577aea6a",
"signature_version": "v1",
"target": {
"file": "drivers/gpio/gpio-xilinx.c",
"function": "xgpio_set_value32"
},
"deprecated": false
},
{
"digest": {
"function_hash": "93325473129159895134037026521943094450",
"length": 275.0
},
"id": "CVE-2022-49570-f218a2e8",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@32c094a09d5829ad9b02cdf667569aefa8de0ea6",
"signature_version": "v1",
"target": {
"file": "drivers/gpio/gpio-xilinx.c",
"function": "xgpio_set_value32"
},
"deprecated": false
},
{
"digest": {
"function_hash": "93325473129159895134037026521943094450",
"length": 275.0
},
"id": "CVE-2022-49570-f449e1f5",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e129e5486b981d324057e6986059f852658b0d00",
"signature_version": "v1",
"target": {
"file": "drivers/gpio/gpio-xilinx.c",
"function": "xgpio_set_value32"
},
"deprecated": false
}
]