CVE-2023-53857

Description

A locking context violation was found in the BPF socket local storage implementation in the Linux kernel. The code attempts to allocate memory (via kzalloc) while holding a raw_spin_lock, which is unsafe for PREEMPT_RT kernels. This can cause lockdep warnings and potential issues on real-time kernels where sleeping with raw spinlocks held is not permitted.

Statement

This is a locking context issue in BPF socket local storage that primarily affects PREEMPT_RT kernels. The impact is limited as it mainly causes lockdep warnings and affects only systems with specific BPF program configurations.

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 Score5.5N/AN/A
Attack VectorLocalN/AN/A
Attack ComplexityLowN/AN/A
Privileges RequiredLowN/AN/A
User InteractionNoneN/AN/A
ScopeUnchangedN/AN/A
ConfidentialityNoneN/AN/A
Integrity ImpactNoneN/AN/A
Availability ImpactHighN/AN/A

Vector

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

Understanding the Weakness (CWE)

Integrity,Availability

Technical Impact: Modify Application Data; DoS: Instability; DoS: Crash, Exit, or Restart

Frequently Asked Questions

Want to get errata notifications? Sign up here.