{"id":"CVE-2022-48714","aliases":["CVE-2022-48714"],"related":[],"kind":"vulnerability","state":"published","title":"bpf: Use VM_MAP instead of VM_ALLOC for ringbuf","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Use VM_MAP instead of VM_ALLOC for ringbuf\n\nAfter commit 2fd3fb0be1d1 (\"kasan, vmalloc: unpoison VM_ALLOC pages\nafter mapping\"), non-VM_ALLOC mappings will be marked as accessible\nin __get_vm_area_node() when KASAN is enabled. But now the flag for\nringbuf area is VM_ALLOC, so KASAN will complain out-of-bound access\nafter vmap() returns. Because the ringbuf area is created by mapping\nallocated pages, so use VM_MAP instead.\n\nAfter the change, info in /proc/vmallocinfo also changes from\n  [start]-[end]   24576 ringbuf_map_alloc+0x171/0x290 vmalloc user\nto\n  [start]-[end]   24576 ringbuf_map_alloc+0x171/0x290 vmap user","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Use VM_MAP instead of VM_ALLOC for ringbuf\n\nAfter commit 2fd3fb0be1d1 (\"kasan, vmalloc: unpoison VM_ALLOC pages\nafter mapping\"), non-VM_ALLOC mappings will be marked as accessible\nin __get_vm_area_node() when KASAN is enabled. But now the flag for\nringbuf area is VM_ALLOC, so KASAN will complain out-of-bound access\nafter vmap() returns. Because the ringbuf area is created by mapping\nallocated pages, so use VM_MAP instead.\n\nAfter the change, info in /proc/vmallocinfo also changes from\n  [start]-[end]   24576 ringbuf_map_alloc+0x171/0x290 vmalloc user\nto\n  [start]-[end]   24576 ringbuf_map_alloc+0x171/0x290 vmap user","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: bpf: use VM_MAP en lugar de VM_ALLOC para ringbuf Después del commit 2fd3fb0be1d1 (\"kasan, vmalloc: despoisone las páginas VM_ALLOC después del mapeo\"), los mapeos que no sean VM_ALLOC se marcarán como accesibles en __get_vm_area_node( ) cuando KASAN está habilitado. Pero ahora el indicador para el área ringbuf es VM_ALLOC, por lo que KASAN se quejará del acceso fuera de los límites después de que regrese vmap(). Debido a que el área ringbuf se crea asignando páginas asignadas, use VM_MAP en su lugar. Después del cambio, la información en /proc/vmallocinfo también cambia de [inicio]-[fin] 24576 ringbuf_map_alloc+0x171/0x290 usuario vmalloc a [inicio]-[fin] 24576 ringbuf_map_alloc+0x171/0x290 usuario vmap","source":"nvd"}],"published":"2024-06-20T11:13:08.007Z","modified":"2026-06-17T05:15:59.800Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"git","introduced":"457f44363a8894135c85b7a9afd2bd8196db24ab","fixed":"6304a613a97d6dcd49b93fbad31e9f39d1e138d6","status":"affected"},{"type":"git","introduced":"457f44363a8894135c85b7a9afd2bd8196db24ab","fixed":"5e457aeab52a5947619e1f18047f4d2f3212b3eb","status":"affected"},{"type":"git","introduced":"457f44363a8894135c85b7a9afd2bd8196db24ab","fixed":"d578933f6226d5419af9306746efa1c693cbaf9c","status":"affected"},{"type":"git","introduced":"457f44363a8894135c85b7a9afd2bd8196db24ab","fixed":"b293dcc473d22a62dc6d78de2b15e4f49515db56","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.8","status":"unaffected"},{"type":"semver","introduced":"5.10.99","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.22","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.16.8","lastAffected":"5.16.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.17","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.8","fixed":"5.10.99"},{"status":"affected","introduced":"5.11","fixed":"5.15.22"},{"status":"affected","introduced":"5.16","fixed":"5.16.8"},{"status":"affected","version":"5.17"},{"status":"affected","version":"5.17"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/6304a613a97d6dcd49b93fbad31e9f39d1e138d6","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5e457aeab52a5947619e1f18047f4d2f3212b3eb","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d578933f6226d5419af9306746efa1c693cbaf9c","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b293dcc473d22a62dc6d78de2b15e4f49515db56","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T17:11:29.204Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-48714","url":"https://www.cve.org/CVERecord?id=CVE-2022-48714","licence":"CVE Terms of Use","modified":"2026-05-11T18:45:32.260Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-48714","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48714","licence":"Public domain","modified":"2026-06-17T05:15:59.800Z"}],"updatedAt":"2026-11-25T22:58:19.831Z","epss":{"score":0.00238,"percentile":0.15908,"date":"2026-12-01T12:00:22.000Z"}}