{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-38662","id":"CVE-2024-38662","title":"bpf: Allow delete from sockmap/sockhash only if update is allowed","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Allow delete from sockmap/sockhash only if update is allowed\n\nWe have seen an influx of syzkaller reports where a BPF program attached to\na tracepoint triggers a locking rule violation by performing a map_delete\non a sockmap/sockhash.\n\nWe don't intend to support this artificial use scenario. Extend the\nexisting verifier allo","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Allow delete from sockmap/sockhash only if update is allowed\n\nWe have seen an influx of syzkaller reports where a BPF program attached to\na tracepoint triggers a locking rule violation by performing a map_delete\non a sockmap/sockhash.\n\nWe don't intend to support this artificial use scenario. Extend the\nexisting verifier allowed-program-type check for updating sockmap/sockhash\nto also cover deleting from a map.\n\nFrom now on only BPF programs which were previously allowed to update\nsockmap/sockhash can delete from these map types.","published":"2024-06-21T11:15:12.202Z","updated":"2026-11-17T07:02:32.493127232Z","reserved":"2024-06-21T10:12:11.509Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"dd54b48db0c822ae7b520bc80751f0a0a173ef75","lessThan":"29467edc23818dc5a33042ffb4920b49b090e63d","status":"affected","versionType":"git"},{"version":"d1e73fb19a4c872d7a399ad3c66e8ca30e0875ec","lessThan":"11e8ecc5b86037fec43d07b1c162e233e131b1d9","status":"affected","versionType":"git"},{"version":"a44770fed86515eedb5a7c00b787f847ebb134a5","lessThan":"6693b172f008846811f48a099f33effc26068e1e","status":"affected","versionType":"git"},{"version":"668b3074aa14829e2ac2759799537a93b60fef86","lessThan":"000a65bf1dc04fb2b65e2abf116f0bc0fc2ee7b1","status":"affected","versionType":"git"},{"version":"ff91059932401894e6c86341915615c5eb0eca48","lessThan":"b81e1c5a3c70398cf76631ede63a03616ed1ba3c","status":"affected","versionType":"git"},{"version":"ff91059932401894e6c86341915615c5eb0eca48","lessThan":"98e948fb60d41447fd8d2d0c3b8637fc6b6dc26d","status":"affected","versionType":"git"},{"version":"f7990498b05ac41f7d6a190dc0418ef1d21bf058","status":"affected","versionType":"git"},{"version":"6af057ccdd8e7619960aca1f0428339f213b31cd","status":"affected","versionType":"git"},{"version":"5.10.215","lessThan":"5.10.219","status":"affected","versionType":"semver"},{"version":"5.15.154","lessThan":"5.15.161","status":"affected","versionType":"semver"},{"version":"6.1.85","lessThan":"6.1.93","status":"affected","versionType":"semver"},{"version":"6.6.26","lessThan":"6.6.33","status":"affected","versionType":"semver"},{"version":"5.4.274","lessThan":"5.5","status":"affected","versionType":"semver"},{"version":"6.8.5","lessThan":"6.9","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.9","status":"affected"},{"version":"0","lessThan":"6.9","status":"unaffected","versionType":"semver"},{"version":"5.10.219","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.161","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.93","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.33","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.9.4","lessThanOrEqual":"6.9.*","status":"unaffected","versionType":"semver"},{"version":"6.10","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/29467edc23818dc5a33042ffb4920b49b090e63d","tags":["x_transferred","Mailing List","Patch","web"]},{"url":"https://git.kernel.org/stable/c/11e8ecc5b86037fec43d07b1c162e233e131b1d9","tags":["x_transferred","Mailing List","Patch","web"]},{"url":"https://git.kernel.org/stable/c/6693b172f008846811f48a099f33effc26068e1e","tags":["x_transferred","Mailing List","Patch","web"]},{"url":"https://git.kernel.org/stable/c/000a65bf1dc04fb2b65e2abf116f0bc0fc2ee7b1","tags":["x_transferred","Mailing List","Patch","web"]},{"url":"https://git.kernel.org/stable/c/b81e1c5a3c70398cf76631ede63a03616ed1ba3c","tags":["x_transferred","Mailing List","Patch","web"]},{"url":"https://git.kernel.org/stable/c/98e948fb60d41447fd8d2d0c3b8637fc6b6dc26d","tags":["x_transferred","Mailing List","Patch","web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","tags":["web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-613116.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38662.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38662","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.0022,"epssPercentile":0.12636,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-38662","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38662","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-38662","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-38662","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}