CVE-2022-49094

Description

A flaw was discovered in the Linux kernel’s TLS subsystem (net/tls) related to AES128‑CCM decryption in the decrypt_internal() function. The issue stems from a mismatch between the initialization vector (IV) buffer size (tls_ctx->rx.iv) set to 12 bytes in tls_set_sw_offload() and the 16-byte IV size returned by crypto_aead_ivsize("ccm(aes)"). As a result, a memcpy() operation copies 16 bytes into a 12-byte buffer, causing a slab out-of-bounds access. A local attacker with low privileges could exploit this flaw to trigger memory corruption, leading to system instability or denial of service.

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).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score5.57.19.8
Attack VectorLocalLocalNetwork
Attack ComplexityLowLowLow
Privileges RequiredLowLowNone
User InteractionNoneNoneNone
ScopeUnchangedUnchangedUnchanged
ConfidentialityNoneHighHigh
Integrity ImpactNoneNoneHigh
Availability ImpactHighHighHigh

Vector

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

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

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

Frequently Asked Questions

Want to get errata notifications? Sign up here.