Upstream information

CVE-2024-27050 at MITRE

Description

In the Linux kernel, the following vulnerability has been resolved: libbpf: Use OPTS_SET() macro in bpf_xdp_query() When the feature_flags and xdp_zc_max_segs fields were added to the libbpf bpf_xdp_query_opts, the code writing them did not use the OPTS_SET() macro. This causes libbpf to write to those fields unconditionally, which means that programs compiled against an older version of libbpf (with a smaller size of the bpf_xdp_query_opts struct) will have its stack corrupted by libbpf writing out of bounds. The patch adding the feature_flags field has an early bail out if the feature_flags field is not part of the opts struct (via the OPTS_HAS) macro, but the patch adding xdp_zc_max_segs does not. For consistency, this fix just changes the assignments to both fields to use the OPTS_SET() macro.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having important severity.

CVSS v3 Scores
  SUSE
Base Score 7.8
Vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality Impact High
Integrity Impact High
Availability Impact High
CVSSv3 Version 3.1
SUSE Bugzilla entry: 1223767 [RESOLVED / UPSTREAM]

No SUSE Security Announcements cross referenced.


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SUSE Enterprise Storage 7.1 libbpf Not affected
SUSE Linux Enterprise Desktop 15 SP5 libbpf Not affected
SUSE Linux Enterprise Desktop 15 SP6 libbpf Not affected
SUSE Linux Enterprise High Performance Computing 15 SP5 libbpf Not affected
SUSE Linux Enterprise High Performance Computing 15 SP6 libbpf Not affected
SUSE Linux Enterprise Micro 5.5 libbpf Not affected
SUSE Linux Enterprise Micro 6.0 libbpf Not affected
SUSE Linux Enterprise Module for Basesystem 15 SP5 libbpf Not affected
SUSE Linux Enterprise Module for Basesystem 15 SP6 libbpf Not affected
SUSE Linux Enterprise Module for Development Tools 15 SP5 libbpf Not affected
SUSE Linux Enterprise Module for Development Tools 15 SP6 libbpf Not affected
SUSE Linux Enterprise Server 15 SP5 libbpf Not affected
SUSE Linux Enterprise Server 15 SP6 libbpf Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP5 libbpf Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP6 libbpf Not affected
SUSE Manager Proxy 4.3 libbpf Not affected
SUSE Manager Retail Branch Server 4.3 libbpf Not affected
SUSE Manager Server 4.3 libbpf Not affected
openSUSE Leap 15.5 libbpf Not affected
openSUSE Leap 15.6 libbpf Not affected
openSUSE Leap Micro 5.5 libbpf Not affected
Products under Long Term Service Pack support and receiving important and critical security fixes.
SUSE Linux Enterprise Desktop 15 SP4 libbpf Not affected
SUSE Linux Enterprise High Performance Computing 15 SP3 libbpf Not affected
SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS libbpf Not affected
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS libbpf Not affected
SUSE Linux Enterprise High Performance Computing 15 SP4 libbpf Not affected
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS libbpf Not affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS libbpf Not affected
SUSE Linux Enterprise Module for Basesystem 15 SP4 libbpf Not affected
SUSE Linux Enterprise Module for Development Tools 15 SP3 libbpf Not affected
SUSE Linux Enterprise Server 15 SP3 libbpf Not affected
SUSE Linux Enterprise Server 15 SP3-LTSS libbpf Not affected
SUSE Linux Enterprise Server 15 SP4 libbpf Not affected
SUSE Linux Enterprise Server 15 SP4-LTSS libbpf Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP3 libbpf Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP4 libbpf Not affected
Products past their end of life and not receiving proactive updates anymore.
SUSE Linux Enterprise Desktop 15 SP3 libbpf Not affected
SUSE Linux Enterprise Real Time 15 SP3 libbpf Not affected
SUSE Linux Enterprise Real Time 15 SP4 libbpf Not affected
SUSE Linux Enterprise Server 15 SP3-BCL libbpf Not affected
SUSE Manager Proxy 4.2 libbpf Not affected
SUSE Manager Retail Branch Server 4.2 libbpf Not affected
SUSE Manager Server 4.2 libbpf Not affected
openSUSE Leap 15.3 libbpf Not affected
openSUSE Leap 15.4 libbpf Not affected


SUSE Timeline for this CVE

CVE page created: Wed May 1 16:01:24 2024
CVE page last modified: Wed Jul 3 13:49:06 2024