Oqt+3CCVE-2022-50045

CVE-2022-50045
Linux Kernel 5FOqC0

6/dCYd

A vulnerability was identified in the Linux kernel's powerpc/pci subsystem (CVE-2022-50045) related to getphbnumber() locking. The issue was discovered when a recent change to getphbnumber() caused a DEBUGATOMICSLEEP warning on some systems due to improper lock handling (NVD).

69Gavs

The vulnerability stems from pcibiosalloccontroller() holding hosespinlock while ofaliasgetid() attempts to take ofmutex, which can sleep. The hosespinlock protects the phbbitmap and hoselist, but it doesn't need to be held while getphbnumber() calls the OF routines since those are only looking up information in the device tree (NVD, Wiz).

k4I7F8

When triggered, this vulnerability causes a DEBUGATOMICSLEEP warning and potential system instability due to improper lock handling in the PowerPC PCI subsystem (Wiz).

Cv1hTD

The fix involves modifying getphbnumber() to take the hosespinlock only where required and dropping it before returning. The pcibiosalloccontroller() function then needs to take the lock again before the listadd() operation. This is safe as the order of the list is not important (NVD).

eODNrw


wdxz7KlXzpe4

Sn+yiv

yRZyYq

BDHA/i

Eq6YVV

qBL0qL

3pJ7V5

yd/Ltz

LfWFUw

MefUT7

CVE-2025-40258HIGH7
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-devel-matched
1UzENP1UzENPDec 04, 2025
CVE-2025-40259MEDIUM6.2
  • Linux KernelLinux Kernel
  • kernel-64k-devel
1UzENP1UzENPDec 04, 2025
CVE-2025-40264MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-kvm
1UzENP1UzENPDec 04, 2025
CVE-2025-40254MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-modules-partner
1UzENP1UzENPDec 04, 2025
CVE-2025-40253MEDIUM5.5
  • Linux KernelLinux Kernel
  • python3-perf
1UzENP1UzENPDec 04, 2025

0Y8wfh

fX1rcP

Rkx7gz

lVlJIo

hg51QW

Rm1gZh

v5ktBc

"shq3dj"
htk05AkgqPHn
"hFkAdK"
3uy78sXKvT9s
"KLylDc"
hanb5o7KXyr8