{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-50087","id":"CVE-2022-50087","title":"firmware: arm_scpi: Ensure scpi_info is not assigned if the probe fails","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nfirmware: arm_scpi: Ensure scpi_info is not assigned if the probe fails\n\nWhen scpi probe fails, at any point, we need to ensure that the scpi_info\nis not set and will remain NULL until the probe succeeds. If it is not\ntaken care, then it could result use-after-free as the value is exported\nvia get_scpi_ops() and could refer to a ","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nfirmware: arm_scpi: Ensure scpi_info is not assigned if the probe fails\n\nWhen scpi probe fails, at any point, we need to ensure that the scpi_info\nis not set and will remain NULL until the probe succeeds. If it is not\ntaken care, then it could result use-after-free as the value is exported\nvia get_scpi_ops() and could refer to a memory allocated via devm_kzalloc()\nbut freed when the probe fails.","published":"2025-06-18T11:02:28.079Z","updated":"2026-10-28T02:31:12.809894107Z","reserved":"2025-06-18T10:57:27.410Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"8cb7cf56c9fe5412de238465b27ef35b4d2801aa","lessThan":"5aa558232edc30468d1f35108826dd5b3ffe978f","status":"affected","versionType":"git"},{"version":"8cb7cf56c9fe5412de238465b27ef35b4d2801aa","lessThan":"18048cba444a7c41dbf42c180d6b46606fc24c51","status":"affected","versionType":"git"},{"version":"8cb7cf56c9fe5412de238465b27ef35b4d2801aa","lessThan":"08272646cd7c310642c39b7f54348fddd7987643","status":"affected","versionType":"git"},{"version":"8cb7cf56c9fe5412de238465b27ef35b4d2801aa","lessThan":"0c29e149b6bb498778ed8a1c9597b51acfba7856","status":"affected","versionType":"git"},{"version":"8cb7cf56c9fe5412de238465b27ef35b4d2801aa","lessThan":"87c4896d5dd7fd9927c814cf3c6289f41de3b562","status":"affected","versionType":"git"},{"version":"8cb7cf56c9fe5412de238465b27ef35b4d2801aa","lessThan":"4f2d7b46d6b53c07f44a4f8f8f4438888f0e9e87","status":"affected","versionType":"git"},{"version":"8cb7cf56c9fe5412de238465b27ef35b4d2801aa","lessThan":"689640efc0a2c4e07e6f88affe6d42cd40cc3f85","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.4","status":"affected"},{"version":"0","lessThan":"4.4","status":"unaffected","versionType":"semver"},{"version":"4.19.256","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.211","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.137","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.61","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.18.18","lessThanOrEqual":"5.18.*","status":"unaffected","versionType":"semver"},{"version":"5.19.2","lessThanOrEqual":"5.19.*","status":"unaffected","versionType":"semver"},{"version":"6.0","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/5aa558232edc30468d1f35108826dd5b3ffe978f","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/18048cba444a7c41dbf42c180d6b46606fc24c51","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/08272646cd7c310642c39b7f54348fddd7987643","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/0c29e149b6bb498778ed8a1c9597b51acfba7856","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/87c4896d5dd7fd9927c814cf3c6289f41de3b562","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/4f2d7b46d6b53c07f44a4f8f8f4438888f0e9e87","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/689640efc0a2c4e07e6f88affe6d42cd40cc3f85","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50087.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50087","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00208,"epssPercentile":0.11009,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-50087","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50087","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-50087","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-50087","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}