CWE data temporarily unavailableCWE data is currently experiencing intermittent outages, which may cause incomplete section loading on CVE pages. We are actively working on a fix.

CVE-2022-50363

Description

A denial of service exists in the pass gfp argument to alloc_sk_msg() of the linux kernel, such that an attacker creating a specially crafted payload could result in damage to system availability.

Statement

A MODERATE severity denial of service vulnerability was found in the Linux kernel's skmsg (sockmap) subsystem. When data is received on a socket attached to a sockmap verdict program, sk_psock_verdict_recv() processes the packet under rcu_read_lock() protection, but alloc_sk_msg() may perform a sleeping memory allocation from this non-sleepable context. A local user with low privileges who can trigger sockmap verdict processing on an affected system could cause a kernel BUG ("sleeping function called from invalid context"), resulting in a denial of service affecting system availability.

In Red Hat Enterprise Linux 9, the kernel and kernel-rt components are affected and a fix is being pursued through the delegated maintenance process. Red Hat Enterprise Linux 6, 7, 8, and 10, as well as Red Hat In-Vehicle OS, are not affected because the vulnerable code is not present in those products.

The CRITICAL severity in the upstream CVE record (CVSS 9.8, network attack vector) does not reflect the technical nature of this flaw: triggering it requires local access to the system and its impact is limited to availability, which is consistent with the NIST and CISA assessments (CVSS 5.5, local attack vector, low privileges required, availability-only impact).

Mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria, comprising ease of use and deployment, applicability to widespread installation base or stability.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score75.55.5
Attack VectorLocalLocalLocal
Attack ComplexityHighLowLow
Privileges RequiredLowLowLow
User InteractionNoneNoneNone
ScopeUnchangedUnchangedUnchanged
ConfidentialityHighNoneNone
Integrity ImpactHighNoneNone
Availability ImpactHighHighHigh

Vector

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

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

cve.org: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Frequently Asked Questions

Want to get errata notifications? Sign up here.