# powerpc/rtas: avoid scheduling in rtas_os_term()

CVE record · `CVE-2022-50504`

- **Identifiers:** `CVE-2022-50504`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 4 Oct 2025
- **Updated:** 5 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 4 Oct 2025, 15:43 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `507279db1819aacf4022e790b3fc8bc8cf56debf to before f413135b337c4e90c1e593c6613f8717e17bc724` (git)
  - affected: `507279db1819aacf4022e790b3fc8bc8cf56debf to before 4768935b8cc2d2afeb7956292df0f6e2c49ca0a5` (git)
  - affected: `507279db1819aacf4022e790b3fc8bc8cf56debf to before ffa991a003abb4f8cb9e5004646bfe2d9a46912c` (git)
  - affected: `507279db1819aacf4022e790b3fc8bc8cf56debf to before 515959eb49e6d218a46979d66f36fdef329ac7d2` (git)
  - affected: `507279db1819aacf4022e790b3fc8bc8cf56debf to before 6f7e2fcab73372a371ab4017cbedf7a71f4f9b40` (git)
  - affected: `507279db1819aacf4022e790b3fc8bc8cf56debf to before 7280fdb80bf0fe35d9b799fc7009f2cbe0a397d7` (git)
  - affected: `507279db1819aacf4022e790b3fc8bc8cf56debf to before bed48651c87bef59ea1a9d6dbc381bcbc452f4ff` (git)
  - affected: `507279db1819aacf4022e790b3fc8bc8cf56debf to before 482d990a5dd1027ee0b70a8a570d56749cac8103` (git)
  - affected: `507279db1819aacf4022e790b3fc8bc8cf56debf to before 6c606e57eecc37d6b36d732b1ff7e55b7dc32dd4` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `2.6.18`
  - unaffected: `before 2.6.18` (semver)
  - unaffected: `4.9.337 to 4.9.*, inclusive` (semver)
  - unaffected: `4.14.303 to 4.14.*, inclusive` (semver)
  - unaffected: `4.19.270 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.229 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.163 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.87 to 5.15.*, inclusive` (semver)
  - unaffected: `6.0.17 to 6.0.*, inclusive` (semver)
  - unaffected: `6.1.3 to 6.1.*, inclusive` (semver)
  - unaffected: `6.2 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Linux kernel's powerpc RTAS code can sleep in atomic context during a panic on the ibm,os-term path, which triggers a kernel BUG. The source gives few details on attacker requirements or impact. Upgrade to a kernel release that includes the fix; the stable branches 4.9.337, 4.14.303, 4.19.270 and 5.4.229 and later are listed as unaffected.

Written 16 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0016, the 5th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 4 Oct 2025, 15:43 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2022-50504)
- 4 Oct 2025, 16:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2022-50504)

## Sources

- [CVE List: CVE-2022-50504](https://www.cve.org/CVERecord?id=CVE-2022-50504)
- [NVD: CVE-2022-50504](https://nvd.nist.gov/vuln/detail/CVE-2022-50504)

### References from the CNA

- <https://git.kernel.org/stable/c/f413135b337c4e90c1e593c6613f8717e17bc724>
- <https://git.kernel.org/stable/c/4768935b8cc2d2afeb7956292df0f6e2c49ca0a5>
- <https://git.kernel.org/stable/c/ffa991a003abb4f8cb9e5004646bfe2d9a46912c>
- <https://git.kernel.org/stable/c/515959eb49e6d218a46979d66f36fdef329ac7d2>
- <https://git.kernel.org/stable/c/6f7e2fcab73372a371ab4017cbedf7a71f4f9b40>
- <https://git.kernel.org/stable/c/7280fdb80bf0fe35d9b799fc7009f2cbe0a397d7>
- <https://git.kernel.org/stable/c/bed48651c87bef59ea1a9d6dbc381bcbc452f4ff>
- <https://git.kernel.org/stable/c/482d990a5dd1027ee0b70a8a570d56749cac8103>
- <https://git.kernel.org/stable/c/6c606e57eecc37d6b36d732b1ff7e55b7dc32dd4>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2022-50504>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2022-50504/>. Everything for agents: <https://agentprime.io/llms.txt>.
