CVE-2024-50262

high
Published 2024-12-19 · Modified 2025-01-13
CVSS v3
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v2
VIR risk
7.8

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: Fix out-of-bounds write in trie_get_next_key() trie_get_next_key() allocates a node stack with size trie->max_prefixlen, while it writes (trie->max_prefixlen + 1) nodes to the stack when it has full paths from the root to leaves. For example, consider a trie with max_prefixlen is 8, and the nodes with key 0x00/0, 0x00/1, 0x00/2, ... 0x00/8 inserted. Subsequent calls to trie_get_next_key with _key with .prefixlen = 8 make 9 nodes be written on the node stack with size 8.

Predictions

Exploit likelihood
75%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: alma — https://errata.almalinux.org/9/ALSA-2024-11486.html

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2324892

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2324868

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2324867

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2324612

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2324332

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2324315

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2323955

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2323944

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2323937

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2323930

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2323904

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2320517

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2320254

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2312085

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2311717

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2293429

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2280462

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2024-50262

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2024-50262.html

vendor Authored 2026-05-27

Vendor advisory: 416baaa9-dc9f-4396-8d5f-8c081fb06d67 — https://git.kernel.org/stable/c/e8494ac079814a53fbc2258d2743e720907488ed

vendor Authored 2026-05-27

Vendor advisory: 416baaa9-dc9f-4396-8d5f-8c081fb06d67 — https://git.kernel.org/stable/c/c4b4f9a9ab82238cb158fa4fe61a8c0ae21a4980

vendor Authored 2026-05-27

Vendor advisory: 416baaa9-dc9f-4396-8d5f-8c081fb06d67 — https://git.kernel.org/stable/c/a035df0b98df424559fd383e8e1a268f422ea2ba

vendor Authored 2026-05-27

Vendor advisory: 416baaa9-dc9f-4396-8d5f-8c081fb06d67 — https://git.kernel.org/stable/c/91afbc0eb3c90258ae378ae3c6ead3d2371e926d

vendor Authored 2026-05-27

Vendor advisory: 416baaa9-dc9f-4396-8d5f-8c081fb06d67 — https://git.kernel.org/stable/c/90a6e0e1e151ef7a9282e78f54c3091de2dcc99c

vendor Authored 2026-05-27

Vendor advisory: 416baaa9-dc9f-4396-8d5f-8c081fb06d67 — https://git.kernel.org/stable/c/86c8ebe02d8806dd8878d0063e8e185622ab6ea6

vendor Authored 2026-05-27

Vendor advisory: 416baaa9-dc9f-4396-8d5f-8c081fb06d67 — https://git.kernel.org/stable/c/590976f921723d53ac199c01d5b7b73a94875e68

vendor Authored 2026-05-27

Vendor advisory: 416baaa9-dc9f-4396-8d5f-8c081fb06d67 — https://git.kernel.org/stable/c/13400ac8fb80c57c2bfb12ebd35ee121ce9b4d21

vendor Authored 2026-05-27

Vendor advisory: redhat — https://access.redhat.com/errata/RHSA-2024:11486

OS impact

OSVersionStatusFixed in
redhat rhel9fixed
suse slesaffected
debian debianbookwormfixed6.1.119-1
debian debianbullseyefixed5.10.234-1
debian debianforkyfixed6.11.7-1
debian debiansidfixed6.11.7-1
debian debiantrixiefixed6.11.7-1
linux linux-kernelaffected4.19.323
linux linux-kernel6.12affected

References

CWEs

CWE-787

Verify integrity in audit chain (admin only). AS-IS.