{"id":"CVE-2026-139196","aliases":["CVE-2026-139196"],"related":[],"kind":"vulnerability","state":"published","title":"ceph: don't keep a mon_addr string that failed to parse","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nceph: don't keep a mon_addr string that failed to parse\n\nceph_parse_mon_addr() stores the string in fsopt->mon_addr before handing\nit to ceph_parse_mon_ips(), and then returns that function's error. So\nafter a mon_addr= that does not parse, fsconfig() reports the failure but\nthe mount context keeps the rejected string.\n\nThat matters because ceph_get_tree() uses fsopt->mon_addr as the \"monitor\naddresses were supplied\" test:\n\n\tif (fsopt->new_dev_syntax && !fsopt->mon_addr)\n\t\treturn invalfc(fc, \"No monitor address\");\n\nUserspace is free to ignore the error from fsconfig(FSCONFIG_SET_STRING)\nand go straight to FSCONFIG_CMD_CREATE. The check then passes on a value\nthat was rejected, and the mount continues with ceph_options::num_mon\nstill 0 - which is how syzbot reached the BUG_ON() in pick_new_mon()\nfixed by the previous patch.\n\nParse first and commit only on success. A failed mon_addr= now leaves any\npreviously accepted value in place instead of replacing it with one that\ndoes not parse.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nceph: don't keep a mon_addr string that failed to parse\n\nceph_parse_mon_addr() stores the string in fsopt->mon_addr before handing\nit to ceph_parse_mon_ips(), and then returns that function's error. So\nafter a mon_addr= that does not parse, fsconfig() reports the failure but\nthe mount context keeps the rejected string.\n\nThat matters because ceph_get_tree() uses fsopt->mon_addr as the \"monitor\naddresses were supplied\" test:\n\n\tif (fsopt->new_dev_syntax && !fsopt->mon_addr)\n\t\treturn invalfc(fc, \"No monitor address\");\n\nUserspace is free to ignore the error from fsconfig(FSCONFIG_SET_STRING)\nand go straight to FSCONFIG_CMD_CREATE. The check then passes on a value\nthat was rejected, and the mount continues with ceph_options::num_mon\nstill 0 - which is how syzbot reached the BUG_ON() in pick_new_mon()\nfixed by the previous patch.\n\nParse first and commit only on success. A failed mon_addr= now leaves any\npreviously accepted value in place instead of replacing it with one that\ndoes not parse.","source":"cvelist"}],"published":"2026-11-30T13:32:28.082Z","modified":"2026-11-30T14:18:39.150Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"7b19b4db5add8d9f50e854907a82a10ba4d27c42","fixed":"b3a3d7396a6da9ba394197447d3ac7a6d59f80f1","status":"affected"},{"type":"git","introduced":"7b19b4db5add8d9f50e854907a82a10ba4d27c42","fixed":"38095a75a5d5c5145c15be0428bdb58bccb80c2d","status":"affected"},{"type":"git","introduced":"7b19b4db5add8d9f50e854907a82a10ba4d27c42","fixed":"599ce8dc0267ec997e4935dc2c56edafcf0f0ec4","status":"affected"},{"type":"git","introduced":"7b19b4db5add8d9f50e854907a82a10ba4d27c42","fixed":"94d45bfc325a75e6727db833f712252bf759f411","status":"affected"},{"type":"git","introduced":"7b19b4db5add8d9f50e854907a82a10ba4d27c42","fixed":"09e91a5ef35d5fceea6732a71be39dccd0c9e3bb","status":"affected"},{"type":"git","introduced":"7b19b4db5add8d9f50e854907a82a10ba4d27c42","fixed":"6c82bff8561f4c20dc0113f81cb2f6e6e2b4cf70","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.17","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.17","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.119","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/b3a3d7396a6da9ba394197447d3ac7a6d59f80f1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/38095a75a5d5c5145c15be0428bdb58bccb80c2d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/599ce8dc0267ec997e4935dc2c56edafcf0f0ec4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/94d45bfc325a75e6727db833f712252bf759f411","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/09e91a5ef35d5fceea6732a71be39dccd0c9e3bb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6c82bff8561f4c20dc0113f81cb2f6e6e2b4cf70","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139196","url":"https://www.cve.org/CVERecord?id=CVE-2026-139196","licence":"CVE Terms of Use","modified":"2026-11-30T13:32:28.082Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139196","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139196","licence":"Public domain","modified":"2026-11-30T14:18:39.150Z"}],"updatedAt":"2026-11-30T14:32:52.131Z","epss":{"score":0.00215,"percentile":0.12596,"date":"2026-12-01T12:00:22.000Z"}}