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.
[
{
"deprecated": false,
"target": {
"file": "drivers/pinctrl/pinctrl-single.c",
"function": "pcs_set_mux"
},
"digest": {
"length": 776.0,
"function_hash": "162717863998255486546680934152656044591"
},
"id": "CVE-2022-48708-1061ec5d",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2b763f7de108cb1a5ad5ed08e617d677341947cb",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/pinctrl/pinctrl-single.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"186875178751407834302390568409409778430",
"227442466147464160748668762984589354100",
"273132240007863800067107229882830794377",
"248410241654507074434331229712809464380"
]
},
"id": "CVE-2022-48708-112c5fff",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1177bdafe87cbe543a2dc48a9bbac265aa5864db",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/pinctrl/pinctrl-single.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"186875178751407834302390568409409778430",
"227442466147464160748668762984589354100",
"273132240007863800067107229882830794377",
"248410241654507074434331229712809464380"
]
},
"id": "CVE-2022-48708-19c0ac09",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@71668706fbe7d20e6f172fa3287fa8aac1b56c26",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/pinctrl/pinctrl-single.c",
"function": "pcs_set_mux"
},
"digest": {
"length": 776.0,
"function_hash": "162717863998255486546680934152656044591"
},
"id": "CVE-2022-48708-2280d33a",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bcc487001a15f71f103d102cba4ac8145d7a68f2",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/pinctrl/pinctrl-single.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"186875178751407834302390568409409778430",
"227442466147464160748668762984589354100",
"273132240007863800067107229882830794377",
"248410241654507074434331229712809464380"
]
},
"id": "CVE-2022-48708-2e3b8773",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bcc487001a15f71f103d102cba4ac8145d7a68f2",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/pinctrl/pinctrl-single.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"186875178751407834302390568409409778430",
"227442466147464160748668762984589354100",
"273132240007863800067107229882830794377",
"248410241654507074434331229712809464380"
]
},
"id": "CVE-2022-48708-2e72a4ac",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6e2a0521e4e84a2698f2da3950fb5c5496a4d208",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/pinctrl/pinctrl-single.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"186875178751407834302390568409409778430",
"227442466147464160748668762984589354100",
"273132240007863800067107229882830794377",
"248410241654507074434331229712809464380"
]
},
"id": "CVE-2022-48708-3840b4d0",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2b763f7de108cb1a5ad5ed08e617d677341947cb",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/pinctrl/pinctrl-single.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"186875178751407834302390568409409778430",
"227442466147464160748668762984589354100",
"273132240007863800067107229882830794377",
"248410241654507074434331229712809464380"
]
},
"id": "CVE-2022-48708-5a9de0d1",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d2d73e6d4822140445ad4a7b1c6091e0f5fe703b",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/pinctrl/pinctrl-single.c",
"function": "pcs_set_mux"
},
"digest": {
"length": 776.0,
"function_hash": "162717863998255486546680934152656044591"
},
"id": "CVE-2022-48708-6332b4a0",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1177bdafe87cbe543a2dc48a9bbac265aa5864db",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/pinctrl/pinctrl-single.c",
"function": "pcs_set_mux"
},
"digest": {
"length": 776.0,
"function_hash": "162717863998255486546680934152656044591"
},
"id": "CVE-2022-48708-72eb8ee4",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e671e63587c92b3fd767cf82e73129f6d5feeb33",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/pinctrl/pinctrl-single.c",
"function": "pcs_set_mux"
},
"digest": {
"length": 776.0,
"function_hash": "162717863998255486546680934152656044591"
},
"id": "CVE-2022-48708-90dfedd1",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@71668706fbe7d20e6f172fa3287fa8aac1b56c26",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/pinctrl/pinctrl-single.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"186875178751407834302390568409409778430",
"227442466147464160748668762984589354100",
"273132240007863800067107229882830794377",
"248410241654507074434331229712809464380"
]
},
"id": "CVE-2022-48708-a37c0d51",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e671e63587c92b3fd767cf82e73129f6d5feeb33",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/pinctrl/pinctrl-single.c",
"function": "pcs_set_mux"
},
"digest": {
"length": 776.0,
"function_hash": "162717863998255486546680934152656044591"
},
"id": "CVE-2022-48708-c547946a",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6e2a0521e4e84a2698f2da3950fb5c5496a4d208",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/pinctrl/pinctrl-single.c",
"function": "pcs_set_mux"
},
"digest": {
"length": 776.0,
"function_hash": "162717863998255486546680934152656044591"
},
"id": "CVE-2022-48708-f7a50ef7",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d2d73e6d4822140445ad4a7b1c6091e0f5fe703b",
"signature_version": "v1"
}
]