bpf: Allow delete from sockmap/sockhash only if update is allowed

Summary

CVECVE-2024-38662
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2024-06-21 12:15:11 UTC
Updated2026-05-12 12:16:56 UTC
DescriptionIn 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.

Risk And Classification

Primary CVSS: v3.1 4.7 MEDIUM from [email protected]

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N

Problem Types: NVD-CWE-noinfo

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected dd54b48db0c822ae7b520bc80751f0a0a173ef75 29467edc23818dc5a33042ffb4920b49b090e63d git Not specified
CNA Linux Linux affected d1e73fb19a4c872d7a399ad3c66e8ca30e0875ec 11e8ecc5b86037fec43d07b1c162e233e131b1d9 git Not specified
CNA Linux Linux affected a44770fed86515eedb5a7c00b787f847ebb134a5 6693b172f008846811f48a099f33effc26068e1e git Not specified
CNA Linux Linux affected 668b3074aa14829e2ac2759799537a93b60fef86 000a65bf1dc04fb2b65e2abf116f0bc0fc2ee7b1 git Not specified
CNA Linux Linux affected ff91059932401894e6c86341915615c5eb0eca48 b81e1c5a3c70398cf76631ede63a03616ed1ba3c git Not specified
CNA Linux Linux affected ff91059932401894e6c86341915615c5eb0eca48 98e948fb60d41447fd8d2d0c3b8637fc6b6dc26d git Not specified
CNA Linux Linux affected f7990498b05ac41f7d6a190dc0418ef1d21bf058 git Not specified
CNA Linux Linux affected 6af057ccdd8e7619960aca1f0428339f213b31cd git Not specified
CNA Linux Linux affected 6.9 Not specified
CNA Linux Linux unaffected 6.9 semver Not specified
CNA Linux Linux unaffected 5.10.219 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.161 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.93 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.33 6.6.* semver Not specified
CNA Linux Linux unaffected 6.9.4 6.9.* semver Not specified
CNA Linux Linux unaffected 6.10 * original_commit_for_fix Not specified
ADP Siemens RUGGEDCOM RST2428P affected V3.1 custom Not specified
ADP Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 Family unaffected * custom Not specified
ADP Siemens SCALANCE XCM-/XRM-/XCH-/XRH-300 Family affected V3.1 custom Not specified
ADP Siemens SIMATIC S7-1500 TM MFP - GNU/Linux Subsystem affected * custom Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/11e8ecc5b86037fec43d07b1c162e233e131b1d9 af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Mailing List, Patch
git.kernel.org/stable/c/98e948fb60d41447fd8d2d0c3b8637fc6b6dc26d af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Mailing List, Patch
git.kernel.org/stable/c/000a65bf1dc04fb2b65e2abf116f0bc0fc2ee7b1 af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Mailing List, Patch
cert-portal.siemens.com/productcert/html/ssa-265688.html 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e cert-portal.siemens.com
git.kernel.org/stable/c/b81e1c5a3c70398cf76631ede63a03616ed1ba3c af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Mailing List, Patch
git.kernel.org/stable/c/6693b172f008846811f48a099f33effc26068e1e af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Mailing List, Patch
cert-portal.siemens.com/productcert/html/ssa-613116.html 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e cert-portal.siemens.com
git.kernel.org/stable/c/29467edc23818dc5a33042ffb4920b49b090e63d af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Mailing List, Patch
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report