{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-50870","id":"CVE-2022-50870","title":"powerpc/rtas: avoid device tree lookups in rtas_os_term()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\npowerpc/rtas: avoid device tree lookups in rtas_os_term()\n\nrtas_os_term() is called during panic. Its behavior depends on a couple\nof conditions in the /rtas node of the device tree, the traversal of\nwhich entails locking and local IRQ state changes. If the kernel panics\nwhile devtree_lock is held, rtas_os_term() as currently wri","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\npowerpc/rtas: avoid device tree lookups in rtas_os_term()\n\nrtas_os_term() is called during panic. Its behavior depends on a couple\nof conditions in the /rtas node of the device tree, the traversal of\nwhich entails locking and local IRQ state changes. If the kernel panics\nwhile devtree_lock is held, rtas_os_term() as currently written could\nhang.\n\nInstead of discovering the relevant characteristics at panic time,\ncache them in file-static variables at boot. Note the lookup for\n\"ibm,extended-os-term\" is converted to of_property_read_bool() since it\nis a boolean property, not an RTAS function token.\n\n[mpe: Incorporate suggested change from Nick]","published":"2025-12-30T12:15:40.718Z","updated":"2026-10-28T02:30:58.314164251Z","reserved":"2025-12-30T12:06:07.136Z","status":"Deferred","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"088186ded490ced80758200cf8f906ed741df306","lessThan":"e23822c7381c59d9e42e65771b6e17c71ed30ea7","status":"affected","versionType":"git"},{"version":"088186ded490ced80758200cf8f906ed741df306","lessThan":"06a07fbb32b3a23eec20a42b1e64474da0a3b33e","status":"affected","versionType":"git"},{"version":"088186ded490ced80758200cf8f906ed741df306","lessThan":"c2fa91abf22a705cf02f886cd99cff41f4ceda60","status":"affected","versionType":"git"},{"version":"088186ded490ced80758200cf8f906ed741df306","lessThan":"f2167f10fcca68ab9ae3f8d94d2c704c5541ac69","status":"affected","versionType":"git"},{"version":"088186ded490ced80758200cf8f906ed741df306","lessThan":"d8939315b7342860df143afe0adda6212cdd3193","status":"affected","versionType":"git"},{"version":"088186ded490ced80758200cf8f906ed741df306","lessThan":"698e682c849e356fb47a8be47ca8baa817cf31e0","status":"affected","versionType":"git"},{"version":"088186ded490ced80758200cf8f906ed741df306","lessThan":"464d10e8d797454e16a173ef1292a446b2adf21c","status":"affected","versionType":"git"},{"version":"088186ded490ced80758200cf8f906ed741df306","lessThan":"ed2213bfb192ab51f09f12e9b49b5d482c6493f3","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.16","status":"affected"},{"version":"0","lessThan":"2.6.16","status":"unaffected","versionType":"semver"},{"version":"4.14.303","lessThanOrEqual":"4.14.*","status":"unaffected","versionType":"semver"},{"version":"4.19.270","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.229","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.163","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.87","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.0.17","lessThanOrEqual":"6.0.*","status":"unaffected","versionType":"semver"},{"version":"6.1.3","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/e23822c7381c59d9e42e65771b6e17c71ed30ea7","tags":["web"]},{"url":"https://git.kernel.org/stable/c/06a07fbb32b3a23eec20a42b1e64474da0a3b33e","tags":["web"]},{"url":"https://git.kernel.org/stable/c/c2fa91abf22a705cf02f886cd99cff41f4ceda60","tags":["web"]},{"url":"https://git.kernel.org/stable/c/f2167f10fcca68ab9ae3f8d94d2c704c5541ac69","tags":["web"]},{"url":"https://git.kernel.org/stable/c/d8939315b7342860df143afe0adda6212cdd3193","tags":["web"]},{"url":"https://git.kernel.org/stable/c/698e682c849e356fb47a8be47ca8baa817cf31e0","tags":["web"]},{"url":"https://git.kernel.org/stable/c/464d10e8d797454e16a173ef1292a446b2adf21c","tags":["web"]},{"url":"https://git.kernel.org/stable/c/ed2213bfb192ab51f09f12e9b49b5d482c6493f3","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50870.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50870","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00211,"epssPercentile":0.11339,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-50870","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50870","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-50870","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-50870","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}