CVE-2024-56720CWE-193CWE-401

CVE-2024-56720

High · published December 29, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
14.4
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

bpf, sockmap: Several fixes to bpf_msg_pop_data

Several fixes to bpf_msg_pop_data,

1. In sk_msg_shift_left, we should put_page

2. if (len == 0), return early is better

3. pop the entire sk_msg (last == msg->sg.size) should be supported

4. Fix for the value of variable "a"

5. In sk_msg_shift_left, after shifting, i has already pointed to the next

element. Addtional sk_msg_iter_var_next may result in BUG.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00242 · 14.4th percentile
Weaknesses
CWE-193 · Off-by-one Error; CWE-401 · Missing Release of Memory after Effective Lifetime
Published
2024-12-29T17:15Z
Affected products (7)
ProductVersionsFixed in
linux/linux_kernel≥ 5.0, < 5.4.2875.4.287
linux/linux_kernel≥ 5.5, < 5.10.2315.10.231
linux/linux_kernel≥ 5.11, < 5.15.1745.15.174
linux/linux_kernel≥ 5.16, < 6.1.1206.1.120
linux/linux_kernel≥ 6.2, < 6.6.646.6.64
linux/linux_kernel≥ 6.7, < 6.11.116.11.11
linux/linux_kernel≥ 6.12, < 6.12.26.12.2
References (10)
EPSS history
Timeline
  • 29 DEC 11:29Z
    bpf, sockmap: Several fixes to bpf_msg_pop_data
    cvelistv5