CVE-2022-50870
published 2025-12-30CVE-2022-50870: In the Linux kernel, the following vulnerability has been resolved: powerpc/rtas: avoid device tree lookups in rtas_os_term() rtas_os_term() is called during…
PriorityP422low2.5
EPSS
0.18%
8.2th percentile
In the Linux kernel, the following vulnerability has been resolved:
powerpc/rtas: avoid device tree lookups in rtas_os_term()
rtas_os_term() is called during panic. Its behavior depends on a couple
of conditions in the /rtas node of the device tree, the traversal of
which entails locking and local IRQ state changes. If the kernel panics
while devtree_lock is held, rtas_os_term() as currently written could
hang.
Instead of discovering the relevant characteristics at panic time,
cache them in file-static variables at boot. Note the lookup for
"ibm,extended-os-term" is converted to of_property_read_bool() since it
is a boolean property, not an RTAS function token.
[mpe: Incorporate suggested change from Nick]
Affected
21 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 6.1.4-1 (bookworm) | linux 6.1.4-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 088186ded490ced80758200cf8f906ed741df306 < e23822c7381c59d9e42e65771b6e17c71ed30ea7 | e23822c7381c59d9e42e65771b6e17c71ed30ea7 |
| linux | linux | >= 088186ded490ced80758200cf8f906ed741df306 < 06a07fbb32b3a23eec20a42b1e64474da0a3b33e | 06a07fbb32b3a23eec20a42b1e64474da0a3b33e |
| linux | linux | >= 088186ded490ced80758200cf8f906ed741df306 < c2fa91abf22a705cf02f886cd99cff41f4ceda60 | c2fa91abf22a705cf02f886cd99cff41f4ceda60 |
| linux | linux | >= 088186ded490ced80758200cf8f906ed741df306 < f2167f10fcca68ab9ae3f8d94d2c704c5541ac69 | f2167f10fcca68ab9ae3f8d94d2c704c5541ac69 |
| linux | linux | >= 088186ded490ced80758200cf8f906ed741df306 < d8939315b7342860df143afe0adda6212cdd3193 | d8939315b7342860df143afe0adda6212cdd3193 |
| linux | linux | >= 088186ded490ced80758200cf8f906ed741df306 < 698e682c849e356fb47a8be47ca8baa817cf31e0 | 698e682c849e356fb47a8be47ca8baa817cf31e0 |
| linux | linux | >= 088186ded490ced80758200cf8f906ed741df306 < 464d10e8d797454e16a173ef1292a446b2adf21c | 464d10e8d797454e16a173ef1292a446b2adf21c |
| linux | linux | >= 088186ded490ced80758200cf8f906ed741df306 < ed2213bfb192ab51f09f12e9b49b5d482c6493f3 | ed2213bfb192ab51f09f12e9b49b5d482c6493f3 |
| linux | linux_kernel | >= 0 < 5.10.178-1 | 5.10.178-1 |
| linux | linux_kernel | >= 0 < 6.1.4-1 | 6.1.4-1 |
| linux | linux_kernel | >= 0 < 6.1.4-1 | 6.1.4-1 |
| linux | linux_kernel | >= 0 < 6.1.4-1 | 6.1.4-1 |
| linux | linux_kernel | >= 2.6.16 < 4.14.303 | 4.14.303 |
| linux | linux_kernel | >= 4.15.0 < 4.19.270 | 4.19.270 |
| linux | linux_kernel | >= 4.20.0 < 5.4.229 | 5.4.229 |
| linux | linux_kernel | >= 5.11.0 < 5.15.87 | 5.15.87 |
| linux | linux_kernel | >= 5.16.0 < 6.0.17 | 6.0.17 |
| linux | linux_kernel | >= 5.5.0 < 5.10.163 | 5.10.163 |
| linux | linux_kernel | >= 6.1.0 < 6.1.3 | 6.1.3 |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
powerpc/rtas: avoid device tree lookups in rtas_os_term()
osv·2025-12-30
CVE-2022-50870 powerpc/rtas: avoid device tree lookups in rtas_os_term()
powerpc/rtas: avoid device tree lookups in rtas_os_term()
In the Linux kernel, the following vulnerability has been resolved:
powerpc/rtas: avoid device tree lookups in rtas_os_term()
rtas_os_term() is called during panic. Its behavior depends on a couple
of conditions in the /rtas node of the device tree, the traversal of
which entails locking and local IRQ state changes. If the kernel panics
while devtree_lock is held, rtas_os_term() as currently written could
hang.
Instead of discovering the relevant characteristics at panic time,
cache them in file-static variables at boot. Note the lookup for
"ibm,extended-os-term" is converted to of_property_read_bool() since it
is a boolean property, not an RTAS function token.
[mpe: Incorporate suggested change from Nick]
GHSA
GHSA-87x8-vfrq-6cww: In the Linux kernel, the following vulnerability has been resolved:
powerpc/rtas: avoid device tree lookups in rtas_os_term()
rtas_os_term() is call
ghsa_unreviewed·2025-12-30
CVE-2022-50870 GHSA-87x8-vfrq-6cww: In the Linux kernel, the following vulnerability has been resolved:
powerpc/rtas: avoid device tree lookups in rtas_os_term()
rtas_os_term() is call
In the Linux kernel, the following vulnerability has been resolved:
powerpc/rtas: avoid device tree lookups in rtas_os_term()
rtas_os_term() is called during panic. Its behavior depends on a couple
of conditions in the /rtas node of the device tree, the traversal of
which entails locking and local IRQ state changes. If the kernel panics
while devtree_lock is held, rtas_os_term() as currently written could
hang.
Instead of discovering the relevant characteristics at panic time,
cache them in file-static variables at boot. Note the lookup for
"ibm,extended-os-term" is converted to of_property_read_bool() since it
is a boolean property, not an RTAS function token.
[mpe: Incorporate suggested change from Nick]
OSV
CVE-2022-50870: In the Linux kernel, the following vulnerability has been resolved: powerpc/rtas: avoid device tree lookups in rtas_os_term() rtas_os_term() is called
osv·2025-12-30
CVE-2022-50870 CVE-2022-50870: In the Linux kernel, the following vulnerability has been resolved: powerpc/rtas: avoid device tree lookups in rtas_os_term() rtas_os_term() is called
In the Linux kernel, the following vulnerability has been resolved: powerpc/rtas: avoid device tree lookups in rtas_os_term() rtas_os_term() is called during panic. Its behavior depends on a couple of conditions in the /rtas node of the device tree, the traversal of which entails locking and local IRQ state changes. If the kernel panics while devtree_lock is held, rtas_os_term() as currently written could hang. Instead of discovering the relevant characteristics at panic time, cache them in file-static variables at boot. Note the lookup for "ibm,extended-os-term" is converted to of_property_read_bool() since it is a boolean property, not an RTAS function token. [mpe: Incorporate suggested change from Nick]
Red Hat
kernel: powerpc/rtas: avoid device tree lookups in rtas_os_term()
vendor_redhat·2025-12-30·CVSS 2.5
CVE-2022-50870 [LOW] CWE-833 kernel: powerpc/rtas: avoid device tree lookups in rtas_os_term()
kernel: powerpc/rtas: avoid device tree lookups in rtas_os_term()
In the Linux kernel, the following vulnerability has been resolved:
powerpc/rtas: avoid device tree lookups in rtas_os_term()
rtas_os_term() is called during panic. Its behavior depends on a couple
of conditions in the /rtas node of the device tree, the traversal of
which entails locking and local IRQ state changes. If the kernel panics
while devtree_lock is held, rtas_os_term() as currently written could
hang.
Instead of discovering the relevant characteristics at panic time,
cache them in file-static variables at boot. Note the lookup for
"ibm,extended-os-term" is converted to of_property_read_bool() since it
is a boolean property, not an RTAS function token.
[mpe: Incorporate suggested change from Nick]
A flaw was found
Debian
CVE-2022-50870: linux - In the Linux kernel, the following vulnerability has been resolved: powerpc/rta...
vendor_debian·2022
CVE-2022-50870 CVE-2022-50870: linux - In the Linux kernel, the following vulnerability has been resolved: powerpc/rta...
In the Linux kernel, the following vulnerability has been resolved: powerpc/rtas: avoid device tree lookups in rtas_os_term() rtas_os_term() is called during panic. Its behavior depends on a couple of conditions in the /rtas node of the device tree, the traversal of which entails locking and local IRQ state changes. If the kernel panics while devtree_lock is held, rtas_os_term() as currently written could hang. Instead of discovering the relevant characteristics at panic time, cache them in file-static variables at boot. Note the lookup for "ibm,extended-os-term" is converted to of_property_read_bool() since it is a boolean property, not an RTAS function token. [mpe: Incorporate suggested change from Nick]
Scope: local
bookworm: resolved (fixed in 6.1.4-1)
bullseye: resolved (fixed in 5.10
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2022-50870 kernel: powerpc/rtas: avoid device tree lookups in rtas_os_term()
bugzilla·2025-12-30
CVE-2022-50870 [LOW] CVE-2022-50870 kernel: powerpc/rtas: avoid device tree lookups in rtas_os_term()
CVE-2022-50870 kernel: powerpc/rtas: avoid device tree lookups in rtas_os_term()
In the Linux kernel, the following vulnerability has been resolved:
powerpc/rtas: avoid device tree lookups in rtas_os_term()
rtas_os_term() is called during panic. Its behavior depends on a couple
of conditions in the /rtas node of the device tree, the traversal of
which entails locking and local IRQ state changes. If the kernel panics
while devtree_lock is held, rtas_os_term() as currently written could
hang.
Instead of discovering the relevant characteristics at panic time,
cache them in file-static variables at boot. Note the lookup for
"ibm,extended-os-term" is converted to of_property_read_bool() since it
is a boolean property, not an RTAS function token.
[mpe: Incorporate suggested change from Nick
Wiz
CVE-2022-50870 Impact, Exploitability, and Mitigation Steps | Wiz
blogs_wiz
CVE-2022-50870 CVE-2022-50870 Impact, Exploitability, and Mitigation Steps | Wiz
## CVE-2022-50870 :
Linux Kernel vulnerability analysis and mitigation
In the Linux kernel, the following vulnerability has been resolved:
powerpc/rtas: avoid device tree lookups in rtas_os_term()
rtas_os_term() is called during panic. Its behavior depends on a couple
of conditions in the /rtas node of the device tree, the traversal of
which entails locking and local IRQ state changes. If the kernel panics
while devtree_lock is held, rtas_os_term() as currently written could
hang.
Instead of discovering the relevant characteristics at panic time,
cache them in file-static variables at boot. Note the lookup for
"ibm,extended-os-term" is converted to of_property_read_bool() since it
is a boolean property, not an RTAS function token.
[mpe: Incorporate suggested change from Nick]
Source
https://git.kernel.org/stable/c/06a07fbb32b3a23eec20a42b1e64474da0a3b33ehttps://git.kernel.org/stable/c/464d10e8d797454e16a173ef1292a446b2adf21chttps://git.kernel.org/stable/c/698e682c849e356fb47a8be47ca8baa817cf31e0https://git.kernel.org/stable/c/c2fa91abf22a705cf02f886cd99cff41f4ceda60https://git.kernel.org/stable/c/d8939315b7342860df143afe0adda6212cdd3193https://git.kernel.org/stable/c/e23822c7381c59d9e42e65771b6e17c71ed30ea7https://git.kernel.org/stable/c/ed2213bfb192ab51f09f12e9b49b5d482c6493f3https://git.kernel.org/stable/c/f2167f10fcca68ab9ae3f8d94d2c704c5541ac69
2025-12-30
Published