{"id":"CVE-2026-46303","aliases":["CVE-2026-46303"],"related":[],"kind":"vulnerability","state":"published","title":"isofs: validate Rock Ridge CE continuation extent against volume size","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nisofs: validate Rock Ridge CE continuation extent against volume size\n\nrock_continue() reads rs->cont_extent verbatim from the Rock Ridge CE\nrecord and passes it to sb_bread() without checking that the block\nnumber is within the mounted ISO 9660 volume.  commit e595447e177b\n(\"[PATCH] rock.c: handle corrupted directories\") added cont_offset\nand cont_size rejection for the CE continuation but did not validate\nthe extent block number itself.  commit f54e18f1b831 (\"isofs: Fix\ninfinite looping over CE entries\") later capped the CE chain length\nat RR_MAX_CE_ENTRIES = 32 but again left the block number unchecked.\n\nWith a crafted ISO mounted via udisks2 (desktop optical auto-mount)\nor via CAP_SYS_ADMIN mount, rs->cont_extent can therefore point at\nan out-of-range block or at blocks belonging to an adjacent\nfilesystem on the same block device.  sb_bread() on an out-of-range\nblock returns NULL cleanly via the block layer EIO path, so there\nis no memory-safety violation.  For in-range reads of adjacent-\nfilesystem data, the CE buffer is parsed as Rock Ridge records and\nonly the text of SL sub-records reaches userspace through\nreadlink(), which makes the info-leak channel narrow and difficult\nto exploit; still, rejecting the malformed CE outright matches the\nrejection shape already present in the same function for\ncont_offset and cont_size.\n\nAdd an ISOFS_SB(sb)->s_nzones bounds check to rock_continue() next\nto the existing offset/size rejection, printing the same\ncorrupted-directory-entry notice.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nisofs: validate Rock Ridge CE continuation extent against volume size\n\nrock_continue() reads rs->cont_extent verbatim from the Rock Ridge CE\nrecord and passes it to sb_bread() without checking that the block\nnumber is within the mounted ISO 9660 volume.  commit e595447e177b\n(\"[PATCH] rock.c: handle corrupted directories\") added cont_offset\nand cont_size rejection for the CE continuation but did not validate\nthe extent block number itself.  commit f54e18f1b831 (\"isofs: Fix\ninfinite looping over CE entries\") later capped the CE chain length\nat RR_MAX_CE_ENTRIES = 32 but again left the block number unchecked.\n\nWith a crafted ISO mounted via udisks2 (desktop optical auto-mount)\nor via CAP_SYS_ADMIN mount, rs->cont_extent can therefore point at\nan out-of-range block or at blocks belonging to an adjacent\nfilesystem on the same block device.  sb_bread() on an out-of-range\nblock returns NULL cleanly via the block layer EIO path, so there\nis no memory-safety violation.  For in-range reads of adjacent-\nfilesystem data, the CE buffer is parsed as Rock Ridge records and\nonly the text of SL sub-records reaches userspace through\nreadlink(), which makes the info-leak channel narrow and difficult\nto exploit; still, rejecting the malformed CE outright matches the\nrejection shape already present in the same function for\ncont_offset and cont_size.\n\nAdd an ISOFS_SB(sb)->s_nzones bounds check to rock_continue() next\nto the existing offset/size rejection, printing the same\ncorrupted-directory-entry notice.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nisofs: validar la extensión de continuación Rock Ridge CE contra el tamaño del volumen\n\nrock_continue() lee rs->cont_extent textualmente del registro Rock Ridge CE y lo pasa a sb_bread() sin verificar que el número de bloque esté dentro del volumen ISO 9660 montado. El commit e595447e177b ('[PATCH] rock.c: handle corrupted directories') añadió el rechazo de cont_offset y cont_size para la continuación CE pero no validó el número de bloque de la extensión en sí. El commit f54e18f1b831 ('isofs: Fix infinite looping over CE entries') más tarde limitó la longitud de la cadena CE a RR_MAX_CE_ENTRIES = 32 pero de nuevo dejó el número de bloque sin verificar.\n\nCon un ISO manipulado montado vía udisks2 (montaje automático óptico de escritorio) o vía montaje CAP_SYS_ADMIN, rs->cont_extent puede, por lo tanto, apuntar a un bloque fuera de rango o a bloques pertenecientes a un sistema de archivos adyacente en el mismo dispositivo de bloques. sb_bread() en un bloque fuera de rango devuelve NULL limpiamente vía la ruta EIO de la capa de bloques, por lo que no hay violación de seguridad de memoria. Para lecturas dentro de rango de datos de sistemas de archivos adyacentes, el búfer CE se analiza como registros Rock Ridge y solo el texto de los subregistros SL llega al espacio de usuario a través de readlink(), lo que hace que el canal de fuga de información sea estrecho y difícil de exploit; aún así, rechazar el CE malformado directamente coincide con la forma de rechazo ya presente en la misma función para cont_offset y cont_size.\n\nAñadir una verificación de límites ISOFS_SB(sb)->s_nzones a rock_continue() junto al rechazo existente de offset/size, imprimiendo el mismo aviso de entrada de directorio corrupta.","source":"nvd"}],"published":"2026-06-08T15:46:30.642Z","modified":"2026-11-10T13:19:17.150Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","score":8.2,"rating":"HIGH"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"f54e18f1b831c92f6512d2eedb224cd63d607d3d","fixed":"8356fb821016797f5677cbeee5ddc0d32a95b4be","status":"affected"},{"type":"git","introduced":"f54e18f1b831c92f6512d2eedb224cd63d607d3d","fixed":"d582e12378bc1637f337622feef762f53c43fd57","status":"affected"},{"type":"git","introduced":"f54e18f1b831c92f6512d2eedb224cd63d607d3d","fixed":"bf1bc673c587f5ef7e9c09b94aea7c5a7847d4d9","status":"affected"},{"type":"git","introduced":"f54e18f1b831c92f6512d2eedb224cd63d607d3d","fixed":"c9b37c8b73f6368e4750e5ccb0632c380b43c6e5","status":"affected"},{"type":"git","introduced":"f54e18f1b831c92f6512d2eedb224cd63d607d3d","fixed":"22b36fa081f38ab397c7697f9d539211b51a0cfc","status":"affected"},{"type":"git","introduced":"f54e18f1b831c92f6512d2eedb224cd63d607d3d","fixed":"e69da8eeab74b4f4505024c38a17bce060fe7df8","status":"affected"},{"type":"git","introduced":"f54e18f1b831c92f6512d2eedb224cd63d607d3d","fixed":"ef048470c90bc8c1b8318bb2ce329da9ef64b9fe","status":"affected"},{"type":"git","introduced":"f54e18f1b831c92f6512d2eedb224cd63d607d3d","fixed":"a36d990f591320e9dd379ab30063ebfe91d47e1f","status":"affected"},{"type":"git","version":"08313e26e06d4aa9ce1cbba1a8e359e9cab9ad56","status":"affected"},{"type":"git","version":"212c4d33ca83e2144064fe9c2911607fbed5386f","status":"affected"},{"type":"git","version":"96e44adce250199ec9b2b928be66365779ff1b59","status":"affected"},{"type":"git","version":"1fe5620fcd6c2f0a4a927ee10c8e53196da392f3","status":"affected"},{"type":"git","version":"fbce0d7dc8965c9fb8d411862040239d4a768c71","status":"affected"},{"type":"git","version":"8190393a88f2b0321263a54f2a9eb5a2aa43be7e","status":"affected"},{"type":"git","version":"486aa789eadcf44ed87f972b209299c516454693","status":"affected"},{"type":"git","version":"b6d20edb6e7cedb4eedb9e0193d20dd488ebae84","status":"affected"},{"type":"semver","introduced":"2.6.32.66","fixed":"2.6.33","status":"affected"},{"type":"semver","introduced":"3.2.67","fixed":"3.3","status":"affected"},{"type":"semver","introduced":"3.4.107","fixed":"3.5","status":"affected"},{"type":"semver","introduced":"3.10.64","fixed":"3.11","status":"affected"},{"type":"semver","introduced":"3.12.36","fixed":"3.13","status":"affected"},{"type":"semver","introduced":"3.14.28","fixed":"3.15","status":"affected"},{"type":"semver","introduced":"3.17.8","fixed":"3.18","status":"affected"},{"type":"semver","introduced":"3.18.2","fixed":"3.19","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.19","status":"unaffected"},{"type":"semver","introduced":"5.10.258","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.209","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.175","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.140","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.88","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.30","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.0.7","lastAffected":"7.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.1","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":"2.6.32.66","fixed":"2.6.33"},{"status":"affected","introduced":"3.2.67","fixed":"3.3"},{"status":"affected","introduced":"3.4.107","fixed":"3.5"},{"status":"affected","introduced":"3.10.64","fixed":"3.11"},{"status":"affected","introduced":"3.12.36","fixed":"3.13"},{"status":"affected","introduced":"3.14.28","fixed":"3.15"},{"status":"affected","introduced":"3.17.8","fixed":"3.18"},{"status":"affected","introduced":"3.18.2","fixed":"5.10.258"},{"status":"affected","introduced":"5.11","fixed":"5.15.209"},{"status":"affected","introduced":"5.16","fixed":"6.1.175"},{"status":"affected","introduced":"6.2","fixed":"6.6.140"},{"status":"affected","introduced":"6.7","fixed":"6.12.88"},{"status":"affected","introduced":"6.13","fixed":"6.18.30"},{"status":"affected","introduced":"6.19","fixed":"7.0.7"},{"status":"affected","version":"7.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/8356fb821016797f5677cbeee5ddc0d32a95b4be","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d582e12378bc1637f337622feef762f53c43fd57","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bf1bc673c587f5ef7e9c09b94aea7c5a7847d4d9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c9b37c8b73f6368e4750e5ccb0632c380b43c6e5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/22b36fa081f38ab397c7697f9d539211b51a0cfc","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e69da8eeab74b4f4505024c38a17bce060fe7df8","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ef048470c90bc8c1b8318bb2ce329da9ef64b9fe","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a36d990f591320e9dd379ab30063ebfe91d47e1f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-784472.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-46303","url":"https://www.cve.org/CVERecord?id=CVE-2026-46303","licence":"CVE Terms of Use","modified":"2026-11-10T12:47:27.221Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-46303","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46303","licence":"Public domain","modified":"2026-11-10T13:19:17.150Z"}],"updatedAt":"2026-11-25T22:59:24.012Z","epss":{"score":0.0032,"percentile":0.26998,"date":"2026-12-01T12:00:22.000Z"}}