{"id":"CVE-2026-43333","aliases":["CVE-2026-43333"],"related":[],"kind":"vulnerability","state":"published","title":"bpf: reject direct access to nullable PTR_TO_BUF pointers","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: reject direct access to nullable PTR_TO_BUF pointers\n\ncheck_mem_access() matches PTR_TO_BUF via base_type() which strips\nPTR_MAYBE_NULL, allowing direct dereference without a null check.\n\nMap iterator ctx->key and ctx->value are PTR_TO_BUF | PTR_MAYBE_NULL.\nOn stop callbacks these are NULL, causing a kernel NULL dereference.\n\nAdd a type_may_be_null() guard to the PTR_TO_BUF branch, matching the\nexisting PTR_TO_BTF_ID pattern.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: reject direct access to nullable PTR_TO_BUF pointers\n\ncheck_mem_access() matches PTR_TO_BUF via base_type() which strips\nPTR_MAYBE_NULL, allowing direct dereference without a null check.\n\nMap iterator ctx->key and ctx->value are PTR_TO_BUF | PTR_MAYBE_NULL.\nOn stop callbacks these are NULL, causing a kernel NULL dereference.\n\nAdd a type_may_be_null() guard to the PTR_TO_BUF branch, matching the\nexisting PTR_TO_BTF_ID pattern.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nbpf: rechazar el acceso directo a punteros PTR_TO_BUF anulables\n\ncheck_mem_access() coincide con PTR_TO_BUF a través de base_type() que elimina PTR_MAYBE_NULL, permitiendo la desreferenciación directa sin una comprobación de nulos.\n\nEl iterador de mapa ctx  ->  key y ctx  ->  value son PTR_TO_BUF | PTR_MAYBE_NULL.\nEn las devoluciones de llamada de detención, estos son NULL, causando una desreferenciación NULL del kernel.\n\nAñadir una protección type_may_be_null() a la rama PTR_TO_BUF, que coincide con el patrón PTR_TO_BTF_ID existente.","source":"nvd"}],"published":"2026-05-08T13:31:20.107Z","modified":"2026-11-11T20:10:00.273Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"b453361384c2db1c703dacb806d5fd36aec4ceca","fixed":"10bc4a4dcded509c5d5c67d497900c3922c604cd","status":"affected"},{"type":"git","introduced":"20b2aff4bc15bda809f994761d5719827d66c0b4","fixed":"21a10c06ffae24cb01fd174a7ab7736001d2ea56","status":"affected"},{"type":"git","introduced":"20b2aff4bc15bda809f994761d5719827d66c0b4","fixed":"8755066f7bd0f4ac46a29d1708c7b20894539252","status":"affected"},{"type":"git","introduced":"20b2aff4bc15bda809f994761d5719827d66c0b4","fixed":"70abd9d118da2f56beb4ec22e3a29becae373535","status":"affected"},{"type":"git","introduced":"20b2aff4bc15bda809f994761d5719827d66c0b4","fixed":"63276547debc4d8a73eefb2c5273b2a905c961b0","status":"affected"},{"type":"git","introduced":"20b2aff4bc15bda809f994761d5719827d66c0b4","fixed":"4f6c99dc0420f1a3d671c1b8ab8a7ac84d9cba09","status":"affected"},{"type":"git","introduced":"20b2aff4bc15bda809f994761d5719827d66c0b4","fixed":"b0db1accbc7395657c2b79db59fa9fae0d6656f3","status":"affected"},{"type":"git","version":"e982070f8970bb62e69ed7c9cafff886ed200349","status":"affected"},{"type":"semver","introduced":"5.15.37","fixed":"5.15.203","status":"affected"},{"type":"semver","introduced":"5.16.11","fixed":"5.17","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.17","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.17","status":"unaffected"},{"type":"semver","introduced":"5.15.203","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.168","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.134","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.81","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.22","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.12","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","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.15.37","fixed":"5.15.203"},{"status":"affected","introduced":"5.16.11","fixed":"6.1.168"},{"status":"affected","introduced":"6.2","fixed":"6.6.134"},{"status":"affected","introduced":"6.7","fixed":"6.12.81"},{"status":"affected","introduced":"6.13","fixed":"6.18.22"},{"status":"affected","introduced":"6.19","fixed":"6.19.12"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/10bc4a4dcded509c5d5c67d497900c3922c604cd","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/21a10c06ffae24cb01fd174a7ab7736001d2ea56","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8755066f7bd0f4ac46a29d1708c7b20894539252","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/70abd9d118da2f56beb4ec22e3a29becae373535","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/63276547debc4d8a73eefb2c5273b2a905c961b0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4f6c99dc0420f1a3d671c1b8ab8a7ac84d9cba09","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b0db1accbc7395657c2b79db59fa9fae0d6656f3","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T15:35:58.323Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-43333","url":"https://www.cve.org/CVERecord?id=CVE-2026-43333","licence":"CVE Terms of Use","modified":"2026-11-06T15:42:49.460Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-43333","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43333","licence":"Public domain","modified":"2026-11-11T20:10:00.273Z"}],"updatedAt":"2026-11-25T22:59:20.999Z","epss":{"score":0.00123,"percentile":0.02237,"date":"2026-12-01T12:00:22.000Z"}}