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

Note from the SUSE Security Team on the kernel-default package

SUSE will no longer fix all CVEs in the Linux Kernel anymore, but declare some bug classes as won't fix. Please refer to TID 21496 for more details.

SUSE Bugzilla entry: 1223767 [RESOLVED / UPSTREAM]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
SUSE Linux Enterprise High Performance Computing 15 SP6
SUSE Linux Enterprise Module for Public Cloud 15 SP6
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server for SAP Applications 15 SP6
  • kernel-azure >= 6.4.0-150600.8.11.1
  • kernel-azure-devel >= 6.4.0-150600.8.11.1
  • kernel-devel-azure >= 6.4.0-150600.8.11.1
  • kernel-source-azure >= 6.4.0-150600.8.11.1
  • kernel-syms-azure >= 6.4.0-150600.8.11.1
Patchnames:
SUSE-SLE-Module-Public-Cloud-15-SP6-2024-3194
SUSE Linux Enterprise Live Patching 15 SP6
    Patchnames:
    SUSE-SLE-Module-Live-Patching-15-SP6-2024-3195
    SUSE Linux Enterprise Real Time 15 SP6
    SUSE Real Time Module 15 SP6
    • cluster-md-kmp-rt >= 6.4.0-150600.10.8.3
    • dlm-kmp-rt >= 6.4.0-150600.10.8.3
    • gfs2-kmp-rt >= 6.4.0-150600.10.8.3
    • kernel-devel-rt >= 6.4.0-150600.10.8.3
    • kernel-rt >= 6.4.0-150600.10.8.3
    • kernel-rt-devel >= 6.4.0-150600.10.8.3
    • kernel-rt_debug >= 6.4.0-150600.10.8.3
    • kernel-rt_debug-devel >= 6.4.0-150600.10.8.3
    • kernel-source-rt >= 6.4.0-150600.10.8.3
    • kernel-syms-rt >= 6.4.0-150600.10.8.1
    • ocfs2-kmp-rt >= 6.4.0-150600.10.8.3
    Patchnames:
    SUSE-SLE-Module-RT-15-SP6-2024-3195
    openSUSE Leap 15.6
    • cluster-md-kmp-azure >= 6.4.0-150600.8.11.1
    • cluster-md-kmp-rt >= 6.4.0-150600.10.8.3
    • dlm-kmp-azure >= 6.4.0-150600.8.11.1
    • dlm-kmp-rt >= 6.4.0-150600.10.8.3
    • gfs2-kmp-azure >= 6.4.0-150600.8.11.1
    • gfs2-kmp-rt >= 6.4.0-150600.10.8.3
    • kernel-azure >= 6.4.0-150600.8.11.1
    • kernel-azure-devel >= 6.4.0-150600.8.11.1
    • kernel-azure-extra >= 6.4.0-150600.8.11.1
    • kernel-azure-livepatch-devel >= 6.4.0-150600.8.11.1
    • kernel-azure-optional >= 6.4.0-150600.8.11.1
    • kernel-azure-vdso >= 6.4.0-150600.8.11.1
    • kernel-devel-azure >= 6.4.0-150600.8.11.1
    • kernel-devel-rt >= 6.4.0-150600.10.8.3
    • kernel-rt >= 6.4.0-150600.10.8.3
    • kernel-rt-devel >= 6.4.0-150600.10.8.3
    • kernel-rt-extra >= 6.4.0-150600.10.8.3
    • kernel-rt-livepatch-devel >= 6.4.0-150600.10.8.3
    • kernel-rt-optional >= 6.4.0-150600.10.8.3
    • kernel-rt-vdso >= 6.4.0-150600.10.8.3
    • kernel-rt_debug >= 6.4.0-150600.10.8.3
    • kernel-rt_debug-devel >= 6.4.0-150600.10.8.3
    • kernel-rt_debug-livepatch-devel >= 6.4.0-150600.10.8.3
    • kernel-rt_debug-vdso >= 6.4.0-150600.10.8.3
    • kernel-source-azure >= 6.4.0-150600.8.11.1
    • kernel-source-rt >= 6.4.0-150600.10.8.3
    • kernel-syms-azure >= 6.4.0-150600.8.11.1
    • kernel-syms-rt >= 6.4.0-150600.10.8.1
    • kselftests-kmp-azure >= 6.4.0-150600.8.11.1
    • kselftests-kmp-rt >= 6.4.0-150600.10.8.3
    • ocfs2-kmp-azure >= 6.4.0-150600.8.11.1
    • ocfs2-kmp-rt >= 6.4.0-150600.10.8.3
    • reiserfs-kmp-azure >= 6.4.0-150600.8.11.1
    • reiserfs-kmp-rt >= 6.4.0-150600.10.8.3
    Patchnames:
    openSUSE-SLE-15.6-2024-3194
    openSUSE-SLE-15.6-2024-3195

    List of packages in QA

    Product(s) Package(s)
    SUSE Linux Enterprise High Availability Extension 15 SP6
    • cluster-md-kmp-default >= 6.4.0-150600.23.22.1
    • dlm-kmp-default >= 6.4.0-150600.23.22.1
    • gfs2-kmp-default >= 6.4.0-150600.23.22.1
    • ocfs2-kmp-default >= 6.4.0-150600.23.22.1
    SUSE Linux Enterprise Live Patching 15 SP6
    • kernel-default-livepatch >= 6.4.0-150600.23.22.1
    • kernel-default-livepatch-devel >= 6.4.0-150600.23.22.1
    • kernel-livepatch-6_4_0-150600_23_22-default >= 1-150600.13.3.3
    SUSE Linux Enterprise Module for Basesystem 15 SP6
    • kernel-64kb >= 6.4.0-150600.23.22.1
    • kernel-64kb-devel >= 6.4.0-150600.23.22.1
    • kernel-default >= 6.4.0-150600.23.22.1
    • kernel-default-base >= 6.4.0-150600.23.22.1.150600.12.8.3
    • kernel-default-devel >= 6.4.0-150600.23.22.1
    • kernel-devel >= 6.4.0-150600.23.22.1
    • kernel-macros >= 6.4.0-150600.23.22.1
    • kernel-zfcpdump >= 6.4.0-150600.23.22.1
    SUSE Linux Enterprise Server 15 SP6
    • kernel-64kb >= 6.4.0-150600.23.22.1
    • kernel-64kb-devel >= 6.4.0-150600.23.22.1
    • kernel-default >= 6.4.0-150600.23.22.1
    • kernel-default-base >= 6.4.0-150600.23.22.1.150600.12.8.3
    • kernel-default-devel >= 6.4.0-150600.23.22.1
    • kernel-devel >= 6.4.0-150600.23.22.1
    • kernel-macros >= 6.4.0-150600.23.22.1
    • kernel-zfcpdump >= 6.4.0-150600.23.22.1
    SUSE Linux Enterprise Desktop 15 SP6
    • kernel-64kb >= 6.4.0-150600.23.22.1
    • kernel-64kb-devel >= 6.4.0-150600.23.22.1
    • kernel-default >= 6.4.0-150600.23.22.1
    • kernel-default-base >= 6.4.0-150600.23.22.1.150600.12.8.3
    • kernel-default-devel >= 6.4.0-150600.23.22.1
    • kernel-devel >= 6.4.0-150600.23.22.1
    • kernel-macros >= 6.4.0-150600.23.22.1
    • kernel-zfcpdump >= 6.4.0-150600.23.22.1
    SUSE Linux Enterprise Server for SAP Applications 15 SP6
    • kernel-64kb >= 6.4.0-150600.23.22.1
    • kernel-64kb-devel >= 6.4.0-150600.23.22.1
    • kernel-default >= 6.4.0-150600.23.22.1
    • kernel-default-base >= 6.4.0-150600.23.22.1.150600.12.8.3
    • kernel-default-devel >= 6.4.0-150600.23.22.1
    • kernel-devel >= 6.4.0-150600.23.22.1
    • kernel-macros >= 6.4.0-150600.23.22.1
    • kernel-zfcpdump >= 6.4.0-150600.23.22.1
    SUSE Linux Enterprise High Performance Computing 15 SP6
    • kernel-64kb >= 6.4.0-150600.23.22.1
    • kernel-64kb-devel >= 6.4.0-150600.23.22.1
    • kernel-default >= 6.4.0-150600.23.22.1
    • kernel-default-base >= 6.4.0-150600.23.22.1.150600.12.8.3
    • kernel-default-devel >= 6.4.0-150600.23.22.1
    • kernel-devel >= 6.4.0-150600.23.22.1
    • kernel-macros >= 6.4.0-150600.23.22.1
    • kernel-zfcpdump >= 6.4.0-150600.23.22.1
    SUSE Linux Enterprise Module for Development Tools 15 SP6
    • kernel-docs >= 6.4.0-150600.23.22.1
    • kernel-obs-build >= 6.4.0-150600.23.22.1
    • kernel-source >= 6.4.0-150600.23.22.1
    • kernel-syms >= 6.4.0-150600.23.22.1
    SUSE Linux Enterprise Server 15 SP6
    • kernel-docs >= 6.4.0-150600.23.22.1
    • kernel-obs-build >= 6.4.0-150600.23.22.1
    • kernel-source >= 6.4.0-150600.23.22.1
    • kernel-syms >= 6.4.0-150600.23.22.1
    SUSE Linux Enterprise Desktop 15 SP6
    • kernel-docs >= 6.4.0-150600.23.22.1
    • kernel-obs-build >= 6.4.0-150600.23.22.1
    • kernel-source >= 6.4.0-150600.23.22.1
    • kernel-syms >= 6.4.0-150600.23.22.1
    SUSE Linux Enterprise Server for SAP Applications 15 SP6
    • kernel-docs >= 6.4.0-150600.23.22.1
    • kernel-obs-build >= 6.4.0-150600.23.22.1
    • kernel-source >= 6.4.0-150600.23.22.1
    • kernel-syms >= 6.4.0-150600.23.22.1
    SUSE Linux Enterprise High Performance Computing 15 SP6
    • kernel-docs >= 6.4.0-150600.23.22.1
    • kernel-obs-build >= 6.4.0-150600.23.22.1
    • kernel-source >= 6.4.0-150600.23.22.1
    • kernel-syms >= 6.4.0-150600.23.22.1
    SUSE Linux Enterprise Module for Legacy 15 SP6
    • reiserfs-kmp-default >= 6.4.0-150600.23.22.1
    SUSE Linux Enterprise Server 15 SP6
    • reiserfs-kmp-default >= 6.4.0-150600.23.22.1
    SUSE Linux Enterprise Server for SAP Applications 15 SP6
    • reiserfs-kmp-default >= 6.4.0-150600.23.22.1
    SUSE Linux Enterprise High Performance Computing 15 SP6
    • reiserfs-kmp-default >= 6.4.0-150600.23.22.1
    SUSE Linux Enterprise Workstation Extension 15 SP6
    • kernel-default-extra >= 6.4.0-150600.23.22.1
    SUSE Linux Enterprise Server 15 SP6
    • kernel-default-extra >= 6.4.0-150600.23.22.1
    SUSE Linux Enterprise Server for SAP Applications 15 SP6
    • kernel-default-extra >= 6.4.0-150600.23.22.1
    SUSE Linux Enterprise Desktop 15 SP6
    • kernel-default-extra >= 6.4.0-150600.23.22.1


    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 Linux Enterprise Desktop 15 SP5 libbpf Not affected
    SUSE Linux Enterprise Desktop 15 SP6 kernel-64kb In progress
    SUSE Linux Enterprise Desktop 15 SP6 kernel-default In progress
    SUSE Linux Enterprise Desktop 15 SP6 kernel-default-base In progress
    SUSE Linux Enterprise Desktop 15 SP6 kernel-docs In progress
    SUSE Linux Enterprise Desktop 15 SP6 kernel-obs-build In progress
    SUSE Linux Enterprise Desktop 15 SP6 kernel-source In progress
    SUSE Linux Enterprise Desktop 15 SP6 kernel-syms In progress
    SUSE Linux Enterprise Desktop 15 SP6 kernel-zfcpdump In progress
    SUSE Linux Enterprise Desktop 15 SP6 libbpf Not affected
    SUSE Linux Enterprise High Availability Extension 15 SP6 kernel-default In progress
    SUSE Linux Enterprise High Performance Computing 15 SP5 libbpf Not affected
    SUSE Linux Enterprise High Performance Computing 15 SP6 kernel-64kb In progress
    SUSE Linux Enterprise High Performance Computing 15 SP6 kernel-azure Released
    SUSE Linux Enterprise High Performance Computing 15 SP6 kernel-default In progress
    SUSE Linux Enterprise High Performance Computing 15 SP6 kernel-default-base In progress
    SUSE Linux Enterprise High Performance Computing 15 SP6 kernel-docs In progress
    SUSE Linux Enterprise High Performance Computing 15 SP6 kernel-obs-build In progress
    SUSE Linux Enterprise High Performance Computing 15 SP6 kernel-source In progress
    SUSE Linux Enterprise High Performance Computing 15 SP6 kernel-source-azure Released
    SUSE Linux Enterprise High Performance Computing 15 SP6 kernel-syms In progress
    SUSE Linux Enterprise High Performance Computing 15 SP6 kernel-syms-azure Released
    SUSE Linux Enterprise High Performance Computing 15 SP6 kernel-zfcpdump In progress
    SUSE Linux Enterprise High Performance Computing 15 SP6 libbpf Not affected
    SUSE Linux Enterprise Live Patching 15 SP6 kernel-default In progress
    SUSE Linux Enterprise Live Patching 15 SP6 kernel-livepatch-SLE15-SP6-RT_Update_2 Released
    SUSE Linux Enterprise Live Patching 15 SP6 kernel-livepatch-SLE15-SP6_Update_4 In progress
    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 kernel-64kb In progress
    SUSE Linux Enterprise Module for Basesystem 15 SP6 kernel-default In progress
    SUSE Linux Enterprise Module for Basesystem 15 SP6 kernel-default-base In progress
    SUSE Linux Enterprise Module for Basesystem 15 SP6 kernel-source In progress
    SUSE Linux Enterprise Module for Basesystem 15 SP6 kernel-zfcpdump In progress
    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 kernel-docs In progress
    SUSE Linux Enterprise Module for Development Tools 15 SP6 kernel-obs-build In progress
    SUSE Linux Enterprise Module for Development Tools 15 SP6 kernel-source In progress
    SUSE Linux Enterprise Module for Development Tools 15 SP6 kernel-syms In progress
    SUSE Linux Enterprise Module for Development Tools 15 SP6 libbpf Not affected
    SUSE Linux Enterprise Module for Legacy 15 SP6 kernel-default In progress
    SUSE Linux Enterprise Module for Public Cloud 15 SP6 kernel-azure Released
    SUSE Linux Enterprise Module for Public Cloud 15 SP6 kernel-source-azure Released
    SUSE Linux Enterprise Module for Public Cloud 15 SP6 kernel-syms-azure Released
    SUSE Linux Enterprise Real Time 15 SP6 kernel-rt Released
    SUSE Linux Enterprise Real Time 15 SP6 kernel-rt_debug Released
    SUSE Linux Enterprise Real Time 15 SP6 kernel-source-rt Released
    SUSE Linux Enterprise Real Time 15 SP6 kernel-syms-rt Released
    SUSE Linux Enterprise Server 15 SP5 libbpf Not affected
    SUSE Linux Enterprise Server 15 SP6 kernel-64kb In progress
    SUSE Linux Enterprise Server 15 SP6 kernel-azure Released
    SUSE Linux Enterprise Server 15 SP6 kernel-default In progress
    SUSE Linux Enterprise Server 15 SP6 kernel-default-base In progress
    SUSE Linux Enterprise Server 15 SP6 kernel-docs In progress
    SUSE Linux Enterprise Server 15 SP6 kernel-obs-build In progress
    SUSE Linux Enterprise Server 15 SP6 kernel-source In progress
    SUSE Linux Enterprise Server 15 SP6 kernel-source-azure Released
    SUSE Linux Enterprise Server 15 SP6 kernel-syms In progress
    SUSE Linux Enterprise Server 15 SP6 kernel-syms-azure Released
    SUSE Linux Enterprise Server 15 SP6 kernel-zfcpdump In progress
    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 kernel-64kb In progress
    SUSE Linux Enterprise Server for SAP Applications 15 SP6 kernel-azure Released
    SUSE Linux Enterprise Server for SAP Applications 15 SP6 kernel-default In progress
    SUSE Linux Enterprise Server for SAP Applications 15 SP6 kernel-default-base In progress
    SUSE Linux Enterprise Server for SAP Applications 15 SP6 kernel-docs In progress
    SUSE Linux Enterprise Server for SAP Applications 15 SP6 kernel-obs-build In progress
    SUSE Linux Enterprise Server for SAP Applications 15 SP6 kernel-source In progress
    SUSE Linux Enterprise Server for SAP Applications 15 SP6 kernel-source-azure Released
    SUSE Linux Enterprise Server for SAP Applications 15 SP6 kernel-syms In progress
    SUSE Linux Enterprise Server for SAP Applications 15 SP6 kernel-syms-azure Released
    SUSE Linux Enterprise Server for SAP Applications 15 SP6 kernel-zfcpdump In progress
    SUSE Linux Enterprise Server for SAP Applications 15 SP6 libbpf Not affected
    SUSE Linux Enterprise Workstation Extension 15 SP6 kernel-default In progress
    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
    SUSE Real Time Module 15 SP6 kernel-rt Released
    SUSE Real Time Module 15 SP6 kernel-rt_debug Released
    SUSE Real Time Module 15 SP6 kernel-source-rt Released
    SUSE Real Time Module 15 SP6 kernel-syms-rt Released
    openSUSE Leap 15.5 libbpf Not affected
    openSUSE Leap 15.6 kernel-azure Released
    openSUSE Leap 15.6 kernel-rt Released
    openSUSE Leap 15.6 kernel-rt_debug Released
    openSUSE Leap 15.6 kernel-source-azure Released
    openSUSE Leap 15.6 kernel-source-rt Released
    openSUSE Leap 15.6 kernel-syms-azure Released
    openSUSE Leap 15.6 kernel-syms-rt Released
    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 Enterprise Storage 7.1 libbpf Not affected
    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: Tue Sep 17 15:49:08 2024