CVE-2026-46303 PUBLISHED

isofs: validate Rock Ridge CE continuation extent against volume size

Assigner: Linux
Reserved: 13.05.2026 Published: 08.06.2026 Updated: 14.06.2026

In the Linux kernel, the following vulnerability has been resolved:

isofs: validate Rock Ridge CE continuation extent against volume size

rock_continue() reads rs->cont_extent verbatim from the Rock Ridge CE record and passes it to sb_bread() without checking that the block number is within the mounted ISO 9660 volume. commit e595447e177b ("[PATCH] rock.c: handle corrupted directories") added cont_offset and cont_size rejection for the CE continuation but did not validate the extent block number itself. commit f54e18f1b831 ("isofs: Fix infinite looping over CE entries") later capped the CE chain length at RR_MAX_CE_ENTRIES = 32 but again left the block number unchecked.

With a crafted ISO mounted via udisks2 (desktop optical auto-mount) or via CAP_SYS_ADMIN mount, rs->cont_extent can therefore point at an out-of-range block or at blocks belonging to an adjacent filesystem on the same block device. sb_bread() on an out-of-range block returns NULL cleanly via the block layer EIO path, so there is no memory-safety violation. For in-range reads of adjacent- filesystem data, the CE buffer is parsed as Rock Ridge records and only the text of SL sub-records reaches userspace through readlink(), which makes the info-leak channel narrow and difficult to exploit; still, rejecting the malformed CE outright matches the rejection shape already present in the same function for cont_offset and cont_size.

Add an ISOFS_SB(sb)->s_nzones bounds check to rock_continue() next to the existing offset/size rejection, printing the same corrupted-directory-entry notice.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
CVSS Score: 8.2

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from f54e18f1b831c92f6512d2eedb224cd63d607d3d to 8356fb821016797f5677cbeee5ddc0d32a95b4be (excl.)
  • affected from f54e18f1b831c92f6512d2eedb224cd63d607d3d to d582e12378bc1637f337622feef762f53c43fd57 (excl.)
  • affected from f54e18f1b831c92f6512d2eedb224cd63d607d3d to bf1bc673c587f5ef7e9c09b94aea7c5a7847d4d9 (excl.)
  • affected from f54e18f1b831c92f6512d2eedb224cd63d607d3d to c9b37c8b73f6368e4750e5ccb0632c380b43c6e5 (excl.)
  • affected from f54e18f1b831c92f6512d2eedb224cd63d607d3d to 22b36fa081f38ab397c7697f9d539211b51a0cfc (excl.)
  • affected from f54e18f1b831c92f6512d2eedb224cd63d607d3d to e69da8eeab74b4f4505024c38a17bce060fe7df8 (excl.)
  • affected from f54e18f1b831c92f6512d2eedb224cd63d607d3d to ef048470c90bc8c1b8318bb2ce329da9ef64b9fe (excl.)
  • affected from f54e18f1b831c92f6512d2eedb224cd63d607d3d to a36d990f591320e9dd379ab30063ebfe91d47e1f (excl.)
  • Version 08313e26e06d4aa9ce1cbba1a8e359e9cab9ad56 is affected
  • Version 212c4d33ca83e2144064fe9c2911607fbed5386f is affected
  • Version 96e44adce250199ec9b2b928be66365779ff1b59 is affected
  • Version 1fe5620fcd6c2f0a4a927ee10c8e53196da392f3 is affected
  • Version fbce0d7dc8965c9fb8d411862040239d4a768c71 is affected
  • Version 8190393a88f2b0321263a54f2a9eb5a2aa43be7e is affected
  • Version 486aa789eadcf44ed87f972b209299c516454693 is affected
  • Version b6d20edb6e7cedb4eedb9e0193d20dd488ebae84 is affected
  • affected from 2.6.32.66 to 2.6.33 (excl.)
  • affected from 3.2.67 to 3.3 (excl.)
  • affected from 3.4.107 to 3.5 (excl.)
  • affected from 3.10.64 to 3.11 (excl.)
  • affected from 3.12.36 to 3.13 (excl.)
  • affected from 3.14.28 to 3.15 (excl.)
  • affected from 3.17.8 to 3.18 (excl.)
  • affected from 3.18.2 to 3.19 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 3.19 is affected
  • unaffected from 0 to 3.19 (excl.)
  • unaffected from 5.10.258 to 5.10.* (incl.)
  • unaffected from 5.15.209 to 5.15.* (incl.)
  • unaffected from 6.1.175 to 6.1.* (incl.)
  • unaffected from 6.6.140 to 6.6.* (incl.)
  • unaffected from 6.12.88 to 6.12.* (incl.)
  • unaffected from 6.18.30 to 6.18.* (incl.)
  • unaffected from 7.0.7 to 7.0.* (incl.)
  • unaffected from 7.1 to * (incl.)

References