isofs: validate Rock Ridge CE continuation extent against volume size

Summary

CVECVE-2026-46303
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-06-08 17:16:48 UTC
Updated2026-06-08 17:16:48 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected f54e18f1b831c92f6512d2eedb224cd63d607d3d 8356fb821016797f5677cbeee5ddc0d32a95b4be git Not specified
CNA Linux Linux affected f54e18f1b831c92f6512d2eedb224cd63d607d3d d582e12378bc1637f337622feef762f53c43fd57 git Not specified
CNA Linux Linux affected f54e18f1b831c92f6512d2eedb224cd63d607d3d bf1bc673c587f5ef7e9c09b94aea7c5a7847d4d9 git Not specified
CNA Linux Linux affected f54e18f1b831c92f6512d2eedb224cd63d607d3d c9b37c8b73f6368e4750e5ccb0632c380b43c6e5 git Not specified
CNA Linux Linux affected f54e18f1b831c92f6512d2eedb224cd63d607d3d 22b36fa081f38ab397c7697f9d539211b51a0cfc git Not specified
CNA Linux Linux affected f54e18f1b831c92f6512d2eedb224cd63d607d3d e69da8eeab74b4f4505024c38a17bce060fe7df8 git Not specified
CNA Linux Linux affected f54e18f1b831c92f6512d2eedb224cd63d607d3d ef048470c90bc8c1b8318bb2ce329da9ef64b9fe git Not specified
CNA Linux Linux affected f54e18f1b831c92f6512d2eedb224cd63d607d3d a36d990f591320e9dd379ab30063ebfe91d47e1f git Not specified
CNA Linux Linux affected 08313e26e06d4aa9ce1cbba1a8e359e9cab9ad56 git Not specified
CNA Linux Linux affected 212c4d33ca83e2144064fe9c2911607fbed5386f git Not specified
CNA Linux Linux affected 96e44adce250199ec9b2b928be66365779ff1b59 git Not specified
CNA Linux Linux affected 1fe5620fcd6c2f0a4a927ee10c8e53196da392f3 git Not specified
CNA Linux Linux affected fbce0d7dc8965c9fb8d411862040239d4a768c71 git Not specified
CNA Linux Linux affected 8190393a88f2b0321263a54f2a9eb5a2aa43be7e git Not specified
CNA Linux Linux affected 486aa789eadcf44ed87f972b209299c516454693 git Not specified
CNA Linux Linux affected b6d20edb6e7cedb4eedb9e0193d20dd488ebae84 git Not specified
CNA Linux Linux affected 2.6.32.66 2.6.33 semver Not specified
CNA Linux Linux affected 3.2.67 3.3 semver Not specified
CNA Linux Linux affected 3.4.107 3.5 semver Not specified
CNA Linux Linux affected 3.10.64 3.11 semver Not specified
CNA Linux Linux affected 3.12.36 3.13 semver Not specified
CNA Linux Linux affected 3.14.28 3.15 semver Not specified
CNA Linux Linux affected 3.17.8 3.18 semver Not specified
CNA Linux Linux affected 3.18.2 3.19 semver Not specified
CNA Linux Linux affected 3.19 Not specified
CNA Linux Linux unaffected 3.19 semver Not specified
CNA Linux Linux unaffected 5.10.258 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.209 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.175 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.140 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.88 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.30 6.18.* semver Not specified
CNA Linux Linux unaffected 7.0.7 7.0.* semver Not specified
CNA Linux Linux unaffected 7.1-rc2 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/8356fb821016797f5677cbeee5ddc0d32a95b4be 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/e69da8eeab74b4f4505024c38a17bce060fe7df8 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/22b36fa081f38ab397c7697f9d539211b51a0cfc 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/d582e12378bc1637f337622feef762f53c43fd57 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/a36d990f591320e9dd379ab30063ebfe91d47e1f 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/c9b37c8b73f6368e4750e5ccb0632c380b43c6e5 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/ef048470c90bc8c1b8318bb2ce329da9ef64b9fe 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/bf1bc673c587f5ef7e9c09b94aea7c5a7847d4d9 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report