CVE-2022-50087

HighCVSS 7.8/10Last modified Aug 4, 2026

Description

In the Linux kernel, the following vulnerability has been resolved:

firmware: arm_scpi: Ensure scpi_info is not assigned if the probe fails

When scpi probe fails, at any point, we need to ensure that the scpi_info is not set and will remain NULL until the probe succeeds. If it is not taken care, then it could result use-after-free as the value is exported via get_scpi_ops() and could refer to a memory allocated via devm_kzalloc() but freed when the probe fails.

Metrics

CVSS 3.1 7.8/10CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weakness enumeration

Affected software

VendorProductVersions
LinuxLinux>= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, < 5aa558232edc30468d1f35108826dd5b3ffe978f; >= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, < 18048cba444a7c41dbf42c180d6b46606fc24c51; >= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, < 08272646cd7c310642c39b7f54348fddd7987643; >= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, < 0c29e149b6bb498778ed8a1c9597b51acfba7856; >= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, < 87c4896d5dd7fd9927c814cf3c6289f41de3b562; >= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, < 4f2d7b46d6b53c07f44a4f8f8f4438888f0e9e87; >= 8cb7cf56c9fe5412de238465b27ef35b4d2801aa, < 689640efc0a2c4e07e6f88affe6d42cd40cc3f85
LinuxLinux4.4

References

Timeline

Published
Jun 18, 2025
Last modified
Aug 4, 2026
NVD status
Modified

Related CVEs from 2022

CVE-2022-500885.5In the Linux kernel, the following vulnerability has been resolved: mm/damon/reclaim: fix potential memory leak in damon_reclaim_init() daCVE-2022-500895.5In the Linux kernel, the following vulnerability has been resolved: btrfs: ensure pages are unlocked on cow_file_range() failure There is CVE-2022-500907.8In the Linux kernel, the following vulnerability has been resolved: btrfs: replace BTRFS_MAX_EXTENT_SIZE with fs_info->max_extent_size On CVE-2022-500915.5In the Linux kernel, the following vulnerability has been resolved: locking/csd_lock: Change csdlock_debug from early_param to __setup TheCVE-2022-500925.5In the Linux kernel, the following vulnerability has been resolved: dm thin: fix use-after-free crash in dm_sm_register_threshold_callback CVE-2022-500937.1In the Linux kernel, the following vulnerability has been resolved: iommu/vt-d: avoid invalid memory access via node_online(NUMA_NO_NODE) CVE-2022-500947.1In the Linux kernel, the following vulnerability has been resolved: spmi: trace: fix stack-out-of-bound access in SPMI tracing functions tCVE-2022-500957.8In the Linux kernel, the following vulnerability has been resolved: posix-cpu-timers: Cleanup CPU timers before freeing them during exec CCVE-2022-500965.5In the Linux kernel, the following vulnerability has been resolved: x86/kprobes: Update kcb status flag after singlestepping Fix kprobes tCVE-2022-500977.8In the Linux kernel, the following vulnerability has been resolved: video: fbdev: s3fb: Check the size of screen before memset_io() In theCVE-2022-500985.5In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Fix crash due to stale SRB access around I/O timeouts ECVE-2022-500997.8In the Linux kernel, the following vulnerability has been resolved: video: fbdev: arkfb: Check the size of screen before memset_io() In th