{"id":"CVE-2025-68355","aliases":["CVE-2025-68355"],"related":[],"kind":"vulnerability","state":"published","title":"bpf: Fix exclusive map memory leak","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Fix exclusive map memory leak\n\nWhen excl_prog_hash is 0 and excl_prog_hash_size is non-zero, the map also\nneeds to be freed. Otherwise, the map memory will not be reclaimed, just\nlike the memory leak problem reported by syzbot [1].\n\nsyzbot reported:\nBUG: memory leak\n  backtrace (crc 7b9fb9b4):\n    map_create+0x322/0x11e0 kernel/bpf/syscall.c:1512\n    __sys_bpf+0x3556/0x3610 kernel/bpf/syscall.c:6131","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Fix exclusive map memory leak\n\nWhen excl_prog_hash is 0 and excl_prog_hash_size is non-zero, the map also\nneeds to be freed. Otherwise, the map memory will not be reclaimed, just\nlike the memory leak problem reported by syzbot [1].\n\nsyzbot reported:\nBUG: memory leak\n  backtrace (crc 7b9fb9b4):\n    map_create+0x322/0x11e0 kernel/bpf/syscall.c:1512\n    __sys_bpf+0x3556/0x3610 kernel/bpf/syscall.c:6131","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nbpf: Corrección de la fuga de memoria de mapa exclusivo\n\nCuando excl_prog_hash es 0 y excl_prog_hash_size no es cero, el mapa también necesita ser liberado. De lo contrario, la memoria del mapa no será recuperada, al igual que el problema de fuga de memoria reportado por syzbot [1].\n\nsyzbot reportó:\nBUG: fuga de memoria\n  backtrace (crc 7b9fb9b4):\n    map_create+0x322/0x11e0 kernel/bpf/syscall.c:1512\n    __sys_bpf+0x3556/0x3610 kernel/bpf/syscall.c:6131","source":"nvd"}],"published":"2025-12-24T10:32:45.505Z","modified":"2026-10-13T11:10:00.203Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"baefdbdf6812e120c9fba9cfb101d3656f478026","fixed":"f0022551745d72fc0e7bc8601234d690dee2178d","status":"affected"},{"type":"git","introduced":"baefdbdf6812e120c9fba9cfb101d3656f478026","fixed":"688b745401ab16e2e1a3b504863f0a45fd345638","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.18","status":"unaffected"},{"type":"semver","introduced":"6.18.2","lastAffected":"6.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.19","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/f0022551745d72fc0e7bc8601234d690dee2178d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/688b745401ab16e2e1a3b504863f0a45fd345638","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-68355","url":"https://www.cve.org/CVERecord?id=CVE-2025-68355","licence":"CVE Terms of Use","modified":"2026-05-11T21:51:36.018Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-68355","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68355","licence":"Public domain","modified":"2026-10-13T11:10:00.203Z"}],"updatedAt":"2026-11-25T22:59:09.865Z","epss":{"score":0.00208,"percentile":0.11492,"date":"2026-12-01T12:00:22.000Z"}}