{"id":"CVE-2022-49475","aliases":["CVE-2022-49475"],"related":[],"kind":"vulnerability","state":"published","title":"spi: spi-fsl-qspi: check return value after calling platform_get_resource_byname()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nspi: spi-fsl-qspi: check return value after calling platform_get_resource_byname()\n\nIt will cause null-ptr-deref if platform_get_resource_byname() returns NULL,\nwe need check the return value.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nspi: spi-fsl-qspi: check return value after calling platform_get_resource_byname()\n\nIt will cause null-ptr-deref if platform_get_resource_byname() returns NULL,\nwe need check the return value.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: spi: spi-fsl-qspi: verificar el valor de retorno después de llamar a platform_get_resource_byname() Causará null-ptr-deref si platform_get_resource_byname() devuelve NULL, necesitamos verificar el valor de retorno.","source":"nvd"}],"published":"2025-02-26T02:13:17.353Z","modified":"2026-06-17T05:18:10.037Z","severity":{"scorer":"CISA-ADP","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":"CISA-ADP","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"},{"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":"858e26a515c28df3ef542d9c09493b54a329d6cf","fixed":"560dcbe1c7a78f597f2167371ebdbe2bca3d0735","status":"affected"},{"type":"git","introduced":"858e26a515c28df3ef542d9c09493b54a329d6cf","fixed":"10f537219629769498ecb8515e096be213224c24","status":"affected"},{"type":"git","introduced":"858e26a515c28df3ef542d9c09493b54a329d6cf","fixed":"33dda87d04598ac5d9a849218a373443f7d3de66","status":"affected"},{"type":"git","introduced":"858e26a515c28df3ef542d9c09493b54a329d6cf","fixed":"9d9c84825c3ec359b165c762a424cfdefe87fdd7","status":"affected"},{"type":"git","introduced":"858e26a515c28df3ef542d9c09493b54a329d6cf","fixed":"a2b331ac11e1cac56f5b7d367e9f3c5796deaaed","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.8","status":"unaffected"},{"type":"semver","introduced":"5.10.121","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.46","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.17.14","lastAffected":"5.17.*","status":"unaffected"},{"type":"semver","introduced":"5.18.3","lastAffected":"5.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.19","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":"5.8","fixed":"5.10.121"},{"status":"affected","introduced":"5.11","fixed":"5.15.46"},{"status":"affected","introduced":"5.16","fixed":"5.17.14"},{"status":"affected","introduced":"5.18","fixed":"5.18.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/560dcbe1c7a78f597f2167371ebdbe2bca3d0735","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/10f537219629769498ecb8515e096be213224c24","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/33dda87d04598ac5d9a849218a373443f7d3de66","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9d9c84825c3ec359b165c762a424cfdefe87fdd7","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a2b331ac11e1cac56f5b7d367e9f3c5796deaaed","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-01T19:39:39.524Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49475","url":"https://www.cve.org/CVERecord?id=CVE-2022-49475","licence":"CVE Terms of Use","modified":"2026-05-11T19:00:36.458Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49475","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49475","licence":"Public domain","modified":"2026-06-17T05:18:10.037Z"}],"updatedAt":"2026-11-25T22:58:20.679Z","epss":{"score":0.00283,"percentile":0.2239,"date":"2026-12-01T12:00:22.000Z"}}