{"id":"CVE-2026-43408","aliases":["CVE-2026-43408"],"related":[],"kind":"vulnerability","state":"published","title":"ceph: add a bunch of missing ceph_path_info initializers","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nceph: add a bunch of missing ceph_path_info initializers\n\nceph_mdsc_build_path() must be called with a zero-initialized\nceph_path_info parameter, or else the following\nceph_mdsc_free_path_info() may crash.\n\nExample crash (on Linux 6.18.12):\n\n  virt_to_cache: Object is not a Slab page!\n  WARNING: CPU: 184 PID: 2871736 at mm/slub.c:6732 kmem_cache_free+0x316/0x400\n  [...]\n  Call Trace:\n   [...]\n   ceph_open+0x13d/0x3e0\n   do_dentry_open+0x134/0x480\n   vfs_open+0x2a/0xe0\n   path_openat+0x9a3/0x1160\n  [...]\n  cache_from_obj: Wrong slab cache. names_cache but object is from ceph_inode_info\n  WARNING: CPU: 184 PID: 2871736 at mm/slub.c:6746 kmem_cache_free+0x2dd/0x400\n  [...]\n  kernel BUG at mm/slub.c:634!\n  Oops: invalid opcode: 0000 [#1] SMP NOPTI\n  RIP: 0010:__slab_free+0x1a4/0x350\n\nSome of the ceph_mdsc_build_path() callers had initializers, but\nothers had not, even though they were all added by commit 15f519e9f883\n(\"ceph: fix race condition validating r_parent before applying state\").\nThe ones without initializer are suspectible to random crashes.  (I can\nimagine it could even be possible to exploit this bug to elevate\nprivileges.)\n\nUnfortunately, these Ceph functions are undocumented and its semantics\ncan only be derived from the code.  I see that ceph_mdsc_build_path()\ninitializes the structure only on success, but not on error.\n\nCalling ceph_mdsc_free_path_info() after a failed\nceph_mdsc_build_path() call does not even make sense, but that's what\nall callers do, and for it to be safe, the structure must be\nzero-initialized.  The least intrusive approach to fix this is\ntherefore to add initializers everywhere.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nceph: add a bunch of missing ceph_path_info initializers\n\nceph_mdsc_build_path() must be called with a zero-initialized\nceph_path_info parameter, or else the following\nceph_mdsc_free_path_info() may crash.\n\nExample crash (on Linux 6.18.12):\n\n  virt_to_cache: Object is not a Slab page!\n  WARNING: CPU: 184 PID: 2871736 at mm/slub.c:6732 kmem_cache_free+0x316/0x400\n  [...]\n  Call Trace:\n   [...]\n   ceph_open+0x13d/0x3e0\n   do_dentry_open+0x134/0x480\n   vfs_open+0x2a/0xe0\n   path_openat+0x9a3/0x1160\n  [...]\n  cache_from_obj: Wrong slab cache. names_cache but object is from ceph_inode_info\n  WARNING: CPU: 184 PID: 2871736 at mm/slub.c:6746 kmem_cache_free+0x2dd/0x400\n  [...]\n  kernel BUG at mm/slub.c:634!\n  Oops: invalid opcode: 0000 [#1] SMP NOPTI\n  RIP: 0010:__slab_free+0x1a4/0x350\n\nSome of the ceph_mdsc_build_path() callers had initializers, but\nothers had not, even though they were all added by commit 15f519e9f883\n(\"ceph: fix race condition validating r_parent before applying state\").\nThe ones without initializer are suspectible to random crashes.  (I can\nimagine it could even be possible to exploit this bug to elevate\nprivileges.)\n\nUnfortunately, these Ceph functions are undocumented and its semantics\ncan only be derived from the code.  I see that ceph_mdsc_build_path()\ninitializes the structure only on success, but not on error.\n\nCalling ceph_mdsc_free_path_info() after a failed\nceph_mdsc_build_path() call does not even make sense, but that's what\nall callers do, and for it to be safe, the structure must be\nzero-initialized.  The least intrusive approach to fix this is\ntherefore to add initializers everywhere.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nceph: añadir un montón de inicializadores ceph_path_info faltantes\n\nceph_mdsc_build_path() debe ser llamada con un parámetro ceph_path_info inicializado a cero, o de lo contrario la siguiente ceph_mdsc_free_path_info() podría fallar.\n\nEjemplo de fallo (en Linux 6.18.12):\n\n  virt_to_cache: ¡El objeto no es una página Slab!\n  WARNING: CPU: 184 PID: 2871736 at mm/slub.c:6732 kmem_cache_free+0x316/0x400\n  [...]\n  Traza de llamada:\n   [...]\n   ceph_open+0x13d/0x3e0\n   do_dentry_open+0x134/0x480\n   vfs_open+0x2a/0xe0\n   path_openat+0x9a3/0x 1160\n  [...]\n  cache_from_obj: Caché de slab incorrecta. names_cache pero el objeto es de ceph_inode_info\n  WARNING: CPU: 184 PID: 2871736 at mm/slub.c:6746 kmem_cache_free+0x2dd/0x400\n  [...]\n  ¡BUG del kernel en mm/slub.c:634!\n  Oops: código de operación inválido: 0000 [#1] SMP NOPTI\n  RIP: 0010:__slab_free+0x1a4/0x350\n\nAlgunos de los llamadores de ceph_mdsc_build_path() tenían inicializadores, pero otros no, a pesar de que todos fueron añadidos por el commit 15f519e9f883 (’ceph: corregir condición de carrera al validar r_parent antes de aplicar el estado’). Los que no tienen inicializador son susceptibles a fallos aleatorios. (Puedo imaginar que incluso podría ser posible exploit este error para elevar privilegios).\n\nDesafortunadamente, estas funciones de Ceph no están documentadas y su semántica solo puede derivarse del código. Veo que ceph_mdsc_build_path() inicializa la estructura solo en caso de éxito, pero no en caso de error.\n\nLlamar a ceph_mdsc_free_path_info() después de una llamada fallida a ceph_mdsc_build_path() ni siquiera tiene sentido, pero eso es lo que hacen todos los llamadores, y para que sea seguro, la estructura debe ser inicializada a cero. El enfoque menos intrusivo para solucionar esto es, por lo tanto, añadir inicializadores en todas partes.","source":"nvd"}],"published":"2026-05-08T14:21:47.579Z","modified":"2026-11-11T20:10:00.273Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-457","CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"db378e6f83ec705c6091c65d482d555edc2b0a72","fixed":"644b47f0574fd82aeb9d00317eca8d1f2a525c8c","status":"affected"},{"type":"git","introduced":"15f519e9f883b316d86e2bb6b767a023aafd9d83","fixed":"8be8911f590813e6f90bc6407ced1b23e50bc5da","status":"affected"},{"type":"git","introduced":"15f519e9f883b316d86e2bb6b767a023aafd9d83","fixed":"453df1f4535842bf17ff1885a225e153d7ee3374","status":"affected"},{"type":"git","introduced":"15f519e9f883b316d86e2bb6b767a023aafd9d83","fixed":"43323a5934b660afae687e8e4e95ac328615a5c4","status":"affected"},{"type":"git","version":"dc5aad078abc416dd3d555c50f5308c16ba918a7","status":"affected"},{"type":"git","version":"2bfe45987eb346e299d9f763f9cd05f77011519f","status":"affected"},{"type":"semver","introduced":"6.12.48","fixed":"6.12.78","status":"affected"},{"type":"semver","introduced":"6.6.160","fixed":"6.7","status":"affected"},{"type":"semver","introduced":"6.16.8","fixed":"6.17","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.17","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.17","status":"unaffected"},{"type":"semver","introduced":"6.12.78","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.19","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.9","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":"6.12.48","fixed":"6.12.78"},{"status":"affected","introduced":"6.16.8","fixed":"6.17"},{"status":"affected","introduced":"6.17.1","fixed":"6.18.19"},{"status":"affected","introduced":"6.19","fixed":"6.19.9"},{"status":"affected","version":"6.17"},{"status":"affected","version":"6.17"},{"status":"affected","version":"6.17"},{"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/644b47f0574fd82aeb9d00317eca8d1f2a525c8c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8be8911f590813e6f90bc6407ced1b23e50bc5da","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/453df1f4535842bf17ff1885a225e153d7ee3374","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/43323a5934b660afae687e8e4e95ac328615a5c4","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T15:17:15.370Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-43408","url":"https://www.cve.org/CVERecord?id=CVE-2026-43408","licence":"CVE Terms of Use","modified":"2026-10-21T12:40:44.899Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-43408","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43408","licence":"Public domain","modified":"2026-11-11T20:10:00.273Z"}],"updatedAt":"2026-11-25T22:59:21.053Z","epss":{"score":0.00163,"percentile":0.05756,"date":"2026-12-01T12:00:22.000Z"}}