Menu

Star on GitHub · 3.2k

CVE-2022-50171

7.5 · HIGH

In the Linux kernel, the following vulnerability has been resolved: crypto: hisilicon/sec - don't sleep when in softirq When kunpeng920 encryption driver is used to deencrypt and decrypt packets…

Published Jun 18, 2025EPSS 0.36%

Overview

CVE-2022-50171 is a high-severity vulnerability. It was published on June 18, 2025 and has a CVSS 3.1 base score of 7.5 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical description

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

crypto: hisilicon/sec - don't sleep when in softirq

When kunpeng920 encryption driver is used to deencrypt and decrypt

packets during the softirq, it is not allowed to use mutex lock. The

kernel will report the following error:

BUG: scheduling while atomic: swapper/57/0/0x00000300

Call trace:

dump_backtrace+0x0/0x1e4

show_stack+0x20/0x2c

dump_stack+0xd8/0x140

__schedule_bug+0x68/0x80

__schedule+0x728/0x840

schedule+0x50/0xe0

schedule_preempt_disabled+0x18/0x24

__mutex_lock.constprop.0+0x594/0x5dc

__mutex_lock_slowpath+0x1c/0x30

mutex_lock+0x50/0x60

sec_request_init+0x8c/0x1a0 [hisi_sec2]

sec_process+0x28/0x1ac [hisi_sec2]

sec_skcipher_crypto+0xf4/0x1d4 [hisi_sec2]

sec_skcipher_encrypt+0x1c/0x30 [hisi_sec2]

crypto_skcipher_encrypt+0x2c/0x40

crypto_authenc_encrypt+0xc8/0xfc [authenc]

crypto_aead_encrypt+0x2c/0x40

echainiv_encrypt+0x144/0x1a0 [echainiv]

crypto_aead_encrypt+0x2c/0x40

esp_output_tail+0x348/0x5c0 [esp4]

e

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2022-50171?

CVE-2022-50171 is a high-severity vulnerability. It was published on June 18, 2025 and has a CVSS 3.1 base score of 7.5 (HIGH).

How severe is CVE-2022-50171?

This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2022-50171?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2022-50171?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2022-50171 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2022

View all