{"id":"CVE-2021-47609","aliases":["CVE-2021-47609"],"related":[],"kind":"vulnerability","state":"published","title":"firmware: arm_scpi: Fix string overflow in SCPI genpd driver","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nfirmware: arm_scpi: Fix string overflow in SCPI genpd driver\n\nWithout the bound checks for scpi_pd->name, it could result in the buffer\noverflow when copying the SCPI device name from the corresponding device\ntree node as the name string is set at maximum size of 30.\n\nLet us fix it by using devm_kasprintf so that the string buffer is\nallocated dynamically.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nfirmware: arm_scpi: Fix string overflow in SCPI genpd driver\n\nWithout the bound checks for scpi_pd->name, it could result in the buffer\noverflow when copying the SCPI device name from the corresponding device\ntree node as the name string is set at maximum size of 30.\n\nLet us fix it by using devm_kasprintf so that the string buffer is\nallocated dynamically.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: firmware: arm_scpi: corrige el desbordamiento de cadena en el controlador SCPI genpd. Sin las comprobaciones vinculadas para scpi_pd-&gt;name, podría provocar un desbordamiento del búfer al copiar el nombre del dispositivo SCPI del dispositivo correspondiente. El nodo del árbol como cadena de nombre se establece en un tamaño máximo de 30. Arreglemoslo usando devm_kasprintf para que el búfer de cadena se asigne dinámicamente.","source":"nvd"}],"published":"2024-06-19T14:57:59.001Z","modified":"2026-06-17T04:18:09.407Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-120"],"affected":[{"ranges":[{"type":"git","introduced":"8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7","fixed":"639901b9429a3195e0fead981ed74b51f5f31538","status":"affected"},{"type":"git","introduced":"8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7","fixed":"4694b1ec425a2d20d6f8ca3db594829fdf5f2672","status":"affected"},{"type":"git","introduced":"8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7","fixed":"7e8645ca2c0046f7cd2f0f7d569fc036c8abaedb","status":"affected"},{"type":"git","introduced":"8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7","fixed":"802a1a8501563714a5fe8824f4ed27fec04a0719","status":"affected"},{"type":"git","introduced":"8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7","fixed":"f0f484714f35d24ffa0ecb4afe3df1c5b225411d","status":"affected"},{"type":"git","introduced":"8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7","fixed":"976389cbb16cee46847e5d06250a3a0b5506781e","status":"affected"},{"type":"git","introduced":"8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7","fixed":"865ed67ab955428b9aa771d8b4f1e4fb7fd08945","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.8","status":"unaffected"},{"type":"semver","introduced":"4.9.294","lastAffected":"4.9.*","status":"unaffected"},{"type":"semver","introduced":"4.14.259","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.222","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.168","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.88","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.11","lastAffected":"5.15.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.16","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":"4.8","fixed":"4.9.294"},{"status":"affected","introduced":"4.10","fixed":"4.14.259"},{"status":"affected","introduced":"4.15","fixed":"4.19.222"},{"status":"affected","introduced":"4.20","fixed":"5.4.168"},{"status":"affected","introduced":"5.5","fixed":"5.10.88"},{"status":"affected","introduced":"5.11","fixed":"5.15.11"},{"status":"affected","version":"5.16"},{"status":"affected","version":"5.16"},{"status":"affected","version":"5.16"},{"status":"affected","version":"5.16"},{"status":"affected","version":"5.16"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/639901b9429a3195e0fead981ed74b51f5f31538","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4694b1ec425a2d20d6f8ca3db594829fdf5f2672","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7e8645ca2c0046f7cd2f0f7d569fc036c8abaedb","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/802a1a8501563714a5fe8824f4ed27fec04a0719","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f0f484714f35d24ffa0ecb4afe3df1c5b225411d","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/976389cbb16cee46847e5d06250a3a0b5506781e","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/865ed67ab955428b9aa771d8b4f1e4fb7fd08945","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T17:11:58.482Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-47609","url":"https://www.cve.org/CVERecord?id=CVE-2021-47609","licence":"CVE Terms of Use","modified":"2026-05-11T13:57:51.300Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-47609","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-47609","licence":"Public domain","modified":"2026-06-17T04:18:09.407Z"}],"updatedAt":"2026-11-25T22:58:08.943Z","epss":{"score":0.00262,"percentile":0.19244,"date":"2026-12-01T12:00:22.000Z"}}