CVEBrief

Home / Linux / Linux / CVE-2022-50045

CVE-2022-50045: is it exploited, and which versions of Linux are affected and fixed?

CVE-2022-50045 is an improper locking vulnerability in Linux. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:08 UTC). Affected: Linux from 5.18.18 before 5.19, Linux from 5.10.137 before 5.10.138, Linux from 5.15.61 before 5.15.63 and 1 more (CVE record by Linux). Fixed in 5.19, 5.10.138, 5.15.63 and 5.19.4 (CVE record by Linux). Severity: Medium (5.5, CVSS 3.1, from NVD).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:08 UTC, CVE record November 28, 2026, 19:24 UTC and NVD November 19, 2026, 07:19 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 13:08 UTC
Affected
Linux from 5.18.18 before 5.19, Linux from 5.10.137 before 5.10.138, Linux from 5.15.61 before 5.15.63 and 1 more
CVE record by Linux
Fixed in
5.19, 5.10.138, 5.15.63 and 5.19.4
CVE record by Linux
Severity
Medium 5.5
CVSS 3.1 from NVD
Exploit odds (EPSS)
0.15% in 30 days
higher than 5% of CVEs; FIRST, December 2, 2026

What is CVE-2022-50045?

In the Linux kernel, the following vulnerability has been resolved: powerpc/pci: Fix get_phb_number() locking The recent change to get_phb_number() causes a DEBUG_ATOMIC_SLEEP warning on some systems: BUG: sleeping function called from invalid context at kernel/locking/mutex.c:580 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 1, name: swapper preempt_count: 1, expected: 0 RCU nest depth: 0, expected: 0 1 lock held by swapper/1: #0: c157efb0 (hose_spinlock){+.+.}-{2:2}, at: pcibios_alloc_controller+0x64/0x220 Preemption disabled at: [<00000000>] 0x0 CPU: 0 PID: 1 Comm: swapper Not tainted 5.19.0-yocto-standard+ #1 Call Trace: [d101dc90] [c073b264] dump_stack_lvl+0x50/0x8c (unreliable) [d101dcb0] [c0093b70] __might_resched+0x258/0x2a8 [d101dcd0] [c0d3e634] __mutex_lock+0x6c/0x6ec [d101dd50] [c0a84174] of_alias_get_id+0x50/0xf4 [d101dd80] [c002ec78] pcibios_alloc_controller+0x1b8/0x220 [d101ddd0] [c140c9dc] pmac_pci_init+0x198/0x784 [d101de50] [c140852c] discover_phbs+0x30/0x4c [d101de60] [c0007fd4] do_one_initcall+0x94/0x344 [d101ded0] [c1403b40] kernel_init_freeable+0x1a8/0x22c [d101df10] [c00086e0] kernel_init+0x34/0x160 [d101df30] [c001b334] ret_from_kernel_thread+0x5c/0x64 This is because pcibios_alloc_controller() holds hose_spinlock but of_alias_get_id() takes of_mutex which can sleep. The hose_spinlock protects the phb_bitmap, and also the hose_list, but it doesn't need to be held while get_phb_number() calls the OF routines, because those are only looking up information in the device tree. So fix it by having get_phb_number() take the hose_spinlock itself, only where required, and then dropping the lock before returning. pcibios_alloc_controller() then needs to take the lock again before the list_add() but that's safe, the order of the list is not important.

From the CVE record by Linux, last updated November 5, 2026, 20:00 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
LinuxLinuxfrom 5.18.18 before 5.195.19
LinuxLinuxfrom 5.10.137 before 5.10.138
from 5.15.61 before 5.15.63
from 5.19.2 before 5.19.4
5.10.138, 5.15.63, 5.19.4

As the CVE record by Linux states it, last updated November 5, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
linuxlinux kernelfrom 5.15.61 before 5.15.63operating system
linuxlinux kernelfrom 5.18.18 before 5.19operating system
linuxlinux kernelfrom 5.19.2 before 5.19.4operating system
linuxlinux kernel5.10.137operating system
linuxlinux kernel6.0operating system

NVD analysis (status Analyzed), last modified November 5, 2026, 20:17 UTC.

How severe is CVE-2022-50045?

ScoreVersionVectorSource
Medium 5.5CVSS 3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2022-50045 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: no; technical impact: partial (CISA ADP, November 5, 2026)
EPSS
0.15% probability of exploitation activity in the next 30 days, percentile 4.7 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
June 18, 2025
Published
June 18, 2025, 11:01 UTC
CVE record updated
November 5, 2026, 20:00 UTC by Linux
NVD
Analyzed, last modified November 5, 2026, 20:17 UTC
Last checked
CVE list November 28, 2026, 19:24 UTC; NVD November 19, 2026, 07:19 UTC; KEV December 3, 2026, 13:08 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect Linux?

Every CVE in Linux

Questions about CVE-2022-50045

Is CVE-2022-50045 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:08 UTC. FIRST's EPSS gives it a 0.15% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of Linux are affected by CVE-2022-50045?

Linux from 5.18.18 before 5.19, Linux from 5.10.137 before 5.10.138, Linux from 5.15.61 before 5.15.63 and Linux from 5.19.2 before 5.19.4, per the CVE record by Linux. The tables above give every range the sources list.

Which version fixes CVE-2022-50045?

5.19, 5.10.138, 5.15.63 and 5.19.4, per the CVE record by Linux. Check the vendor's advisory before you rely on it.

How severe is CVE-2022-50045?

Medium (5.5, CVSS 3.1, from NVD). The severity table above shows each score with its source.

Where is the official record of CVE-2022-50045?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.