CVE-2024-38662
Linux Kernel BPF Sockmap/Sockhash Deletion Denial of Update
Description
In the Linux kernel, the following vulnerability has been resolved: bpf: Allow delete from sockmap/sockhash only if update is allowed We have seen an influx of syzkaller reports where a BPF program attached to a tracepoint triggers a locking rule violation by performing a map_delete on a sockmap/sockhash. We don't intend to support this artificial use scenario. Extend the existing verifier allowed-program-type check for updating sockmap/sockhash to also cover deleting from a map. From now on only BPF programs which were previously allowed to update sockmap/sockhash can delete from these map types.
INFO
Published Date :
June 21, 2024, 12:15 p.m.
Last Modified :
Nov. 21, 2024, 9:26 a.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
3.6
Exploitability Score :
1.0
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-38662
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-38662
vulnerability anywhere in the article.

-
tripwire.com
VERT Threat Alert: August 2024 Patch Tuesday Analysis
Today’s VERT Alert addresses Microsoft’s August 2024 Security Updates. VERT is actively working on coverage for these vulnerabilities and expects to ship ASPL-1119 as soon as coverage is completed.CVE ... Read more
The following table lists the changes that have been made to the
CVE-2024-38662
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/000a65bf1dc04fb2b65e2abf116f0bc0fc2ee7b1 Added Reference https://git.kernel.org/stable/c/11e8ecc5b86037fec43d07b1c162e233e131b1d9 Added Reference https://git.kernel.org/stable/c/29467edc23818dc5a33042ffb4920b49b090e63d Added Reference https://git.kernel.org/stable/c/6693b172f008846811f48a099f33effc26068e1e Added Reference https://git.kernel.org/stable/c/98e948fb60d41447fd8d2d0c3b8637fc6b6dc26d Added Reference https://git.kernel.org/stable/c/b81e1c5a3c70398cf76631ede63a03616ed1ba3c -
Initial Analysis by [email protected]
Jun. 24, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N Changed Reference Type https://git.kernel.org/stable/c/000a65bf1dc04fb2b65e2abf116f0bc0fc2ee7b1 No Types Assigned https://git.kernel.org/stable/c/000a65bf1dc04fb2b65e2abf116f0bc0fc2ee7b1 Mailing List, Patch Changed Reference Type https://git.kernel.org/stable/c/11e8ecc5b86037fec43d07b1c162e233e131b1d9 No Types Assigned https://git.kernel.org/stable/c/11e8ecc5b86037fec43d07b1c162e233e131b1d9 Mailing List, Patch Changed Reference Type https://git.kernel.org/stable/c/29467edc23818dc5a33042ffb4920b49b090e63d No Types Assigned https://git.kernel.org/stable/c/29467edc23818dc5a33042ffb4920b49b090e63d Mailing List, Patch Changed Reference Type https://git.kernel.org/stable/c/6693b172f008846811f48a099f33effc26068e1e No Types Assigned https://git.kernel.org/stable/c/6693b172f008846811f48a099f33effc26068e1e Mailing List, Patch Changed Reference Type https://git.kernel.org/stable/c/98e948fb60d41447fd8d2d0c3b8637fc6b6dc26d No Types Assigned https://git.kernel.org/stable/c/98e948fb60d41447fd8d2d0c3b8637fc6b6dc26d Mailing List, Patch Changed Reference Type https://git.kernel.org/stable/c/b81e1c5a3c70398cf76631ede63a03616ed1ba3c No Types Assigned https://git.kernel.org/stable/c/b81e1c5a3c70398cf76631ede63a03616ed1ba3c Mailing List, Patch Added CWE NIST NVD-CWE-noinfo Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.10 up to (excluding) 5.10.219 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.15 up to (excluding) 5.15.161 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.1 up to (excluding) 6.1.93 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.6 up to (excluding) 6.6.33 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.9 up to (excluding) 6.9.4 *cpe:2.3:o:linux:linux_kernel:6.10.0:rc1:*:*:*:*:*:* -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 21, 2024
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: bpf: Allow delete from sockmap/sockhash only if update is allowed We have seen an influx of syzkaller reports where a BPF program attached to a tracepoint triggers a locking rule violation by performing a map_delete on a sockmap/sockhash. We don't intend to support this artificial use scenario. Extend the existing verifier allowed-program-type check for updating sockmap/sockhash to also cover deleting from a map. From now on only BPF programs which were previously allowed to update sockmap/sockhash can delete from these map types. Added Reference kernel.org https://git.kernel.org/stable/c/29467edc23818dc5a33042ffb4920b49b090e63d [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/11e8ecc5b86037fec43d07b1c162e233e131b1d9 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/6693b172f008846811f48a099f33effc26068e1e [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/000a65bf1dc04fb2b65e2abf116f0bc0fc2ee7b1 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/b81e1c5a3c70398cf76631ede63a03616ed1ba3c [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/98e948fb60d41447fd8d2d0c3b8637fc6b6dc26d [No types assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-38662
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-38662
weaknesses.