ceph: don't keep a mon_addr string that failed to parse

Summary

CVECVE-2026-139196
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-30 14:18:39 UTC
Updated2026-11-30 14:18:39 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: ceph: don't keep a mon_addr string that failed to parse ceph_parse_mon_addr() stores the string in fsopt->mon_addr before handing it to ceph_parse_mon_ips(), and then returns that function's error. So after a mon_addr= that does not parse, fsconfig() reports the failure but the mount context keeps the rejected string. That matters because ceph_get_tree() uses fsopt->mon_addr as the "monitor addresses were supplied" test: if (fsopt->new_dev_syntax && !fsopt->mon_addr) return invalfc(fc, "No monitor address"); Userspace is free to ignore the error from fsconfig(FSCONFIG_SET_STRING) and go straight to FSCONFIG_CMD_CREATE. The check then passes on a value that was rejected, and the mount continues with ceph_options::num_mon still 0 - which is how syzbot reached the BUG_ON() in pick_new_mon() fixed by the previous patch. Parse first and commit only on success. A failed mon_addr= now leaves any previously accepted value in place instead of replacing it with one that does not parse.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 7b19b4db5add8d9f50e854907a82a10ba4d27c42 b3a3d7396a6da9ba394197447d3ac7a6d59f80f1 git Not specified
CNA Linux Linux affected 7b19b4db5add8d9f50e854907a82a10ba4d27c42 38095a75a5d5c5145c15be0428bdb58bccb80c2d git Not specified
CNA Linux Linux affected 7b19b4db5add8d9f50e854907a82a10ba4d27c42 599ce8dc0267ec997e4935dc2c56edafcf0f0ec4 git Not specified
CNA Linux Linux affected 7b19b4db5add8d9f50e854907a82a10ba4d27c42 94d45bfc325a75e6727db833f712252bf759f411 git Not specified
CNA Linux Linux affected 7b19b4db5add8d9f50e854907a82a10ba4d27c42 09e91a5ef35d5fceea6732a71be39dccd0c9e3bb git Not specified
CNA Linux Linux affected 7b19b4db5add8d9f50e854907a82a10ba4d27c42 6c82bff8561f4c20dc0113f81cb2f6e6e2b4cf70 git Not specified
CNA Linux Linux affected 5.17 Not specified
CNA Linux Linux unaffected 5.17 semver Not specified
CNA Linux Linux unaffected 6.1.193 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.163 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.119 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.65 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.6 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/6c82bff8561f4c20dc0113f81cb2f6e6e2b4cf70 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/38095a75a5d5c5145c15be0428bdb58bccb80c2d 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/94d45bfc325a75e6727db833f712252bf759f411 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/599ce8dc0267ec997e4935dc2c56edafcf0f0ec4 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/09e91a5ef35d5fceea6732a71be39dccd0c9e3bb 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/b3a3d7396a6da9ba394197447d3ac7a6d59f80f1 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