CVE-2024-26591

CVE Details

Release Date:2024-02-22

Description


In the Linux kernel, the following vulnerability has been resolved:\nbpf: Fix re-attachment branch in bpf_tracing_prog_attach\nThe following case can cause a crash due to missing attach_btf:\n1) load rawtp program\n2) load fentry program with rawtp as target_fd\n3) create tracing link for fentry program with target_fd = 0\n4) repeat 3\nIn the end we have:\n- prog->aux->dst_trampoline == NULL\n- tgt_prog == NULL (because we did not provide target_fd to link_create)\n- prog->aux->attach_btf == NULL (the program was loaded with attach_prog_fd=X)\n- the program was loaded for tgt_prog but we have no way to find out which one\nBUG: kernel NULL pointer dereference, address: 0000000000000058\nCall Trace:\n\n? __die+0x20/0x70\n? page_fault_oops+0x15b/0x430\n? fixup_exception+0x22/0x330\n? exc_page_fault+0x6f/0x170\n? asm_exc_page_fault+0x22/0x30\n? bpf_tracing_prog_attach+0x279/0x560\n? btf_obj_id+0x5/0x10\nbpf_tracing_prog_attach+0x439/0x560\n__sys_bpf+0x1cf4/0x2de0\n__x64_sys_bpf+0x1c/0x30\ndo_syscall_64+0x41/0xf0\nentry_SYSCALL_64_after_hwframe+0x6e/0x76\nReturn -EINVAL in this situation.

See more information about CVE-2024-26591 from MITRE CVE dictionary and NIST NVD


CVSS Scoring


NOTE: The following CVSS v3.1 metrics and score provided are preliminary and subject to review.

Base Score: 5.5 CVSS Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack Vector: Local network Attack Complexity: Low
Privileges Required: Low User Interaction: None
Scope: Unchanged Confidentiality Impact: None
Integrity Impact: None Availability Impact: High

Errata information


PlatformErrataRelease Date
Oracle Linux version 9 (kernel)ELSA-2024-93152024-11-14


This page is generated automatically and has not been checked for errors or omissions. For clarification or corrections:

software.hardware.complete