Bug 2336541 (CVE-2024-56786) - CVE-2024-56786 kernel: bpf: put bpf_link's program when link is safe to be deallocated
Summary: CVE-2024-56786 kernel: bpf: put bpf_link's program when link is safe to be de...
Keywords:
Status: NEW
Alias: CVE-2024-56786
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-01-09 12:55 UTC by OSIDB Bzimport
Modified: 2025-11-11 10:24 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2025:20518 0 None None None 2025-11-11 10:24:32 UTC

Description OSIDB Bzimport 2025-01-09 12:55:43 UTC
In the Linux kernel, the following vulnerability has been resolved:

bpf: put bpf_link's program when link is safe to be deallocated

The Linux kernel CVE team has assigned CVE-2024-56786 to this issue.

Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025010808-CVE-2024-56786-1f56@gregkh/T

Comment 2 TEJ RATHI 2025-08-20 11:55:00 UTC
This CVE has been rejected by the Linux kernel community. Refer to the announcement: https://lore.kernel.org/linux-cve-announce/2025061920-REJECTED-c79f@gregkh/

The default Red Hat Enterprise Linux kernel prevents unprivileged users from being able to use eBPF by the kernel.unprivileged_bpf_disabled sysctl. This would require a privileged user with CAP_SYS_ADMIN or root to be able to abuse this flaw reducing its attack space.

For the Red Hat Enterprise Linux 9 to confirm the current state, inspect the sysctl with the command:

    cat /proc/sys/kernel/unprivileged_bpf_disabled

The setting of 1 would mean that unprivileged users can not use eBPF, mitigating the flaw.

Comment added by: Automated Script

Comment 3 errata-xmlrpc 2025-11-11 10:24:31 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2025:20518 https://access.redhat.com/errata/RHSA-2025:20518


Note You need to log in before you can comment on or make changes to this bug.