{"id":"CVE-2022-49832","aliases":["CVE-2022-49832"],"related":[],"kind":"vulnerability","state":"published","title":"pinctrl: devicetree: fix null pointer dereferencing in pinctrl_dt_to_map","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\npinctrl: devicetree: fix null pointer dereferencing in pinctrl_dt_to_map\n\nHere is the BUG report by KASAN about null pointer dereference:\n\nBUG: KASAN: null-ptr-deref in strcmp+0x2e/0x50\nRead of size 1 at addr 0000000000000000 by task python3/2640\nCall Trace:\n strcmp\n __of_find_property\n of_find_property\n pinctrl_dt_to_map\n\nkasprintf() would return NULL pointer when kmalloc() fail to allocate.\nSo directly return ENOMEM, if kasprintf() return NULL pointer.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\npinctrl: devicetree: fix null pointer dereferencing in pinctrl_dt_to_map\n\nHere is the BUG report by KASAN about null pointer dereference:\n\nBUG: KASAN: null-ptr-deref in strcmp+0x2e/0x50\nRead of size 1 at addr 0000000000000000 by task python3/2640\nCall Trace:\n strcmp\n __of_find_property\n of_find_property\n pinctrl_dt_to_map\n\nkasprintf() would return NULL pointer when kmalloc() fail to allocate.\nSo directly return ENOMEM, if kasprintf() return NULL pointer.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: pinctrl: devicetree: corrección de la desreferencia de puntero nulo en pinctrl_dt_to_map Aquí está el informe de ERROR de KASAN sobre la desreferencia de puntero nulo: ERROR: KASAN: null-ptr-deref en strcmp+0x2e/0x50 Lectura de tamaño 1 en la dirección 0000000000000000 por la tarea python3/2640 Rastreo de llamadas: strcmp __of_find_property of_find_property pinctrl_dt_to_map kasprintf() devolvería un puntero NULL cuando kmalloc() no pudiera asignar. Por lo tanto, devuelve directamente ENOMEM, si kasprintf() devuelve un puntero NULL.","source":"nvd"}],"published":"2025-05-01T14:09:50.435Z","modified":"2026-11-05T20:17:15.353Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"57291ce295c0aca738dd284c4a9c591c09ebee71","fixed":"aaf552c5d53abe4659176e099575fe870d2e4768","status":"affected"},{"type":"git","introduced":"57291ce295c0aca738dd284c4a9c591c09ebee71","fixed":"b4d9f55cd38435358bc16d580612bc0d798d7b4c","status":"affected"},{"type":"git","introduced":"57291ce295c0aca738dd284c4a9c591c09ebee71","fixed":"a988dcd3dd9e691c5ccc3324b209688f3b5453e9","status":"affected"},{"type":"git","introduced":"57291ce295c0aca738dd284c4a9c591c09ebee71","fixed":"040f726fecd88121f3b95e70369785ad452dddf9","status":"affected"},{"type":"git","introduced":"57291ce295c0aca738dd284c4a9c591c09ebee71","fixed":"777430aa4ddccaa5accec6db90ffc1d47f00d471","status":"affected"},{"type":"git","introduced":"57291ce295c0aca738dd284c4a9c591c09ebee71","fixed":"97e5b508e96176f1a73888ed89df396d7041bfcb","status":"affected"},{"type":"git","introduced":"57291ce295c0aca738dd284c4a9c591c09ebee71","fixed":"5834a3a98cd266ad35a229923c0adbd0addc8d68","status":"affected"},{"type":"git","introduced":"57291ce295c0aca738dd284c4a9c591c09ebee71","fixed":"91d5c5060ee24fe8da88cd585bb43b843d2f0dce","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.5","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.5","status":"unaffected"},{"type":"semver","introduced":"4.9.334","lastAffected":"4.9.*","status":"unaffected"},{"type":"semver","introduced":"4.14.300","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.267","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.225","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.156","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.80","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.0.10","lastAffected":"6.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.5","fixed":"4.9.334"},{"status":"affected","introduced":"4.10","fixed":"4.14.300"},{"status":"affected","introduced":"4.15","fixed":"4.19.267"},{"status":"affected","introduced":"4.20","fixed":"5.4.225"},{"status":"affected","introduced":"5.5","fixed":"5.10.156"},{"status":"affected","introduced":"5.11","fixed":"5.15.80"},{"status":"affected","introduced":"5.16","fixed":"6.0.10"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/aaf552c5d53abe4659176e099575fe870d2e4768","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b4d9f55cd38435358bc16d580612bc0d798d7b4c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a988dcd3dd9e691c5ccc3324b209688f3b5453e9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/040f726fecd88121f3b95e70369785ad452dddf9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/777430aa4ddccaa5accec6db90ffc1d47f00d471","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/97e5b508e96176f1a73888ed89df396d7041bfcb","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5834a3a98cd266ad35a229923c0adbd0addc8d68","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/91d5c5060ee24fe8da88cd585bb43b843d2f0dce","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T19:50:21.700Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49832","url":"https://www.cve.org/CVERecord?id=CVE-2022-49832","licence":"CVE Terms of Use","modified":"2026-11-05T20:00:08.996Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49832","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49832","licence":"Public domain","modified":"2026-11-05T20:17:15.353Z"}],"updatedAt":"2026-11-25T22:58:20.891Z","epss":{"score":0.0022,"percentile":0.13398,"date":"2026-12-01T12:00:22.000Z"}}