{"api_version":"1","generated_at":"2026-12-01T14:01:15+00:00","cve":"CVE-2026-139196","urls":{"html":"https://cve.report/CVE-2026-139196","api":"https://cve.report/api/cve/CVE-2026-139196.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139196","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139196"},"summary":{"title":"ceph: don't keep a mon_addr string that failed to parse","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:18:39","updated_at":"2026-11-30 14:18:39"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/6c82bff8561f4c20dc0113f81cb2f6e6e2b4cf70","name":"https://git.kernel.org/stable/c/6c82bff8561f4c20dc0113f81cb2f6e6e2b4cf70","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/38095a75a5d5c5145c15be0428bdb58bccb80c2d","name":"https://git.kernel.org/stable/c/38095a75a5d5c5145c15be0428bdb58bccb80c2d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/94d45bfc325a75e6727db833f712252bf759f411","name":"https://git.kernel.org/stable/c/94d45bfc325a75e6727db833f712252bf759f411","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/599ce8dc0267ec997e4935dc2c56edafcf0f0ec4","name":"https://git.kernel.org/stable/c/599ce8dc0267ec997e4935dc2c56edafcf0f0ec4","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/09e91a5ef35d5fceea6732a71be39dccd0c9e3bb","name":"https://git.kernel.org/stable/c/09e91a5ef35d5fceea6732a71be39dccd0c9e3bb","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b3a3d7396a6da9ba394197447d3ac7a6d59f80f1","name":"https://git.kernel.org/stable/c/b3a3d7396a6da9ba394197447d3ac7a6d59f80f1","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139196","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139196","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7b19b4db5add8d9f50e854907a82a10ba4d27c42 b3a3d7396a6da9ba394197447d3ac7a6d59f80f1 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7b19b4db5add8d9f50e854907a82a10ba4d27c42 38095a75a5d5c5145c15be0428bdb58bccb80c2d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7b19b4db5add8d9f50e854907a82a10ba4d27c42 599ce8dc0267ec997e4935dc2c56edafcf0f0ec4 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7b19b4db5add8d9f50e854907a82a10ba4d27c42 94d45bfc325a75e6727db833f712252bf759f411 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7b19b4db5add8d9f50e854907a82a10ba4d27c42 09e91a5ef35d5fceea6732a71be39dccd0c9e3bb git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7b19b4db5add8d9f50e854907a82a10ba4d27c42 6c82bff8561f4c20dc0113f81cb2f6e6e2b4cf70 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.17","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.17 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.119 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.65 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["fs/ceph/super.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"b3a3d7396a6da9ba394197447d3ac7a6d59f80f1","status":"affected","version":"7b19b4db5add8d9f50e854907a82a10ba4d27c42","versionType":"git"},{"lessThan":"38095a75a5d5c5145c15be0428bdb58bccb80c2d","status":"affected","version":"7b19b4db5add8d9f50e854907a82a10ba4d27c42","versionType":"git"},{"lessThan":"599ce8dc0267ec997e4935dc2c56edafcf0f0ec4","status":"affected","version":"7b19b4db5add8d9f50e854907a82a10ba4d27c42","versionType":"git"},{"lessThan":"94d45bfc325a75e6727db833f712252bf759f411","status":"affected","version":"7b19b4db5add8d9f50e854907a82a10ba4d27c42","versionType":"git"},{"lessThan":"09e91a5ef35d5fceea6732a71be39dccd0c9e3bb","status":"affected","version":"7b19b4db5add8d9f50e854907a82a10ba4d27c42","versionType":"git"},{"lessThan":"6c82bff8561f4c20dc0113f81cb2f6e6e2b4cf70","status":"affected","version":"7b19b4db5add8d9f50e854907a82a10ba4d27c42","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["fs/ceph/super.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.17"},{"lessThan":"5.17","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.119","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.65","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"5.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"5.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.119","versionStartIncluding":"5.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"5.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"5.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"5.17","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:32:28.082Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/b3a3d7396a6da9ba394197447d3ac7a6d59f80f1"},{"url":"https://git.kernel.org/stable/c/38095a75a5d5c5145c15be0428bdb58bccb80c2d"},{"url":"https://git.kernel.org/stable/c/599ce8dc0267ec997e4935dc2c56edafcf0f0ec4"},{"url":"https://git.kernel.org/stable/c/94d45bfc325a75e6727db833f712252bf759f411"},{"url":"https://git.kernel.org/stable/c/09e91a5ef35d5fceea6732a71be39dccd0c9e3bb"},{"url":"https://git.kernel.org/stable/c/6c82bff8561f4c20dc0113f81cb2f6e6e2b4cf70"}],"title":"ceph: don't keep a mon_addr string that failed to parse","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139196","datePublished":"2026-11-30T13:32:28.082Z","dateReserved":"2026-11-30T13:22:15.919Z","dateUpdated":"2026-11-30T13:32:28.082Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:18:39","lastModifiedDate":"2026-11-30 14:18:39","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139196","Ordinal":"1","Title":"ceph: don't keep a mon_addr string that failed to parse","CVE":"CVE-2026-139196","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139196","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"ceph: don't keep a mon_addr string that failed to parse"}]}}}