In the Linux kernel, the following vulnerability has been resolved:
pinctrl: single: fix potential NULL dereference
Added checking of pointer "function" in pcssetmux(). pinmuxgenericget_function() can return NULL and the pointer "function" was dereferenced without checking against NULL.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
[
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"186875178751407834302390568409409778430",
"227442466147464160748668762984589354100",
"273132240007863800067107229882830794377",
"248410241654507074434331229712809464380"
]
},
"target": {
"file": "drivers/pinctrl/pinctrl-single.c"
},
"signature_version": "v1",
"id": "CVE-2022-48708-112c5fff",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1177bdafe87cbe543a2dc48a9bbac265aa5864db",
"signature_type": "Line"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"186875178751407834302390568409409778430",
"227442466147464160748668762984589354100",
"273132240007863800067107229882830794377",
"248410241654507074434331229712809464380"
]
},
"target": {
"file": "drivers/pinctrl/pinctrl-single.c"
},
"signature_version": "v1",
"id": "CVE-2022-48708-19c0ac09",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@71668706fbe7d20e6f172fa3287fa8aac1b56c26",
"signature_type": "Line"
},
{
"digest": {
"function_hash": "162717863998255486546680934152656044591",
"length": 776.0
},
"target": {
"file": "drivers/pinctrl/pinctrl-single.c",
"function": "pcs_set_mux"
},
"signature_version": "v1",
"id": "CVE-2022-48708-2280d33a",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bcc487001a15f71f103d102cba4ac8145d7a68f2",
"signature_type": "Function"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"186875178751407834302390568409409778430",
"227442466147464160748668762984589354100",
"273132240007863800067107229882830794377",
"248410241654507074434331229712809464380"
]
},
"target": {
"file": "drivers/pinctrl/pinctrl-single.c"
},
"signature_version": "v1",
"id": "CVE-2022-48708-2e3b8773",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bcc487001a15f71f103d102cba4ac8145d7a68f2",
"signature_type": "Line"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"186875178751407834302390568409409778430",
"227442466147464160748668762984589354100",
"273132240007863800067107229882830794377",
"248410241654507074434331229712809464380"
]
},
"target": {
"file": "drivers/pinctrl/pinctrl-single.c"
},
"signature_version": "v1",
"id": "CVE-2022-48708-5a9de0d1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d2d73e6d4822140445ad4a7b1c6091e0f5fe703b",
"signature_type": "Line"
},
{
"digest": {
"function_hash": "162717863998255486546680934152656044591",
"length": 776.0
},
"target": {
"file": "drivers/pinctrl/pinctrl-single.c",
"function": "pcs_set_mux"
},
"signature_version": "v1",
"id": "CVE-2022-48708-6332b4a0",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1177bdafe87cbe543a2dc48a9bbac265aa5864db",
"signature_type": "Function"
},
{
"digest": {
"function_hash": "162717863998255486546680934152656044591",
"length": 776.0
},
"target": {
"file": "drivers/pinctrl/pinctrl-single.c",
"function": "pcs_set_mux"
},
"signature_version": "v1",
"id": "CVE-2022-48708-90dfedd1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@71668706fbe7d20e6f172fa3287fa8aac1b56c26",
"signature_type": "Function"
},
{
"digest": {
"function_hash": "162717863998255486546680934152656044591",
"length": 776.0
},
"target": {
"file": "drivers/pinctrl/pinctrl-single.c",
"function": "pcs_set_mux"
},
"signature_version": "v1",
"id": "CVE-2022-48708-f7a50ef7",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d2d73e6d4822140445ad4a7b1c6091e0f5fe703b",
"signature_type": "Function"
}
]