CVE-2026-139196

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

Published Nov 30, 2026 CVSS 3.1 · 4.4 Medium EPSS n/a KEV · Not listed
Description
In 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.

Analysis

AI-generated

Technical impact

Internally, the Linux kernel ceph subsystem stored a monitor address string even when parsing failed. This flawed behaviour allowed the filesystem configuration logic to believe a valid monitor address existed, bypassing critical checks. When the mount process later attempted to select a monitor with zero entries, a BUG_ON was triggered, causing a kernel panic and effectively taking the system offline.

Affected Systems

The flaw affects any Linux kernel that implements Ceph mounts prior to the application of the fix. Based on the description, it is inferred that Ceph is widely used in enterprise storage clusters and many distributions ship a Ceph‑enabled kernel, so a broad range of systems could be vulnerable. With no specific affected‑version details provided, organizations should review kernel release notes or apply the latest kernel that includes this patch.

Risk and Exploitability

An attacker with local or privileged access—such as a user able to issue fsconfig calls or mount a Ceph filesystem—can trigger the vulnerability by supplying a malformed monitor address. The result is a kernel panic rather than an information disclosure or code execution, so the primary risk is denial of service. The lack of a published CVSS score and absence from the CISA KEV catalog suggest the flaw has not yet been publicly exploited, but the potential for a local crash suggests that prompt remediation is advisable.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the kernel to a version that incorporates the ceph mon_addr parsing fix.
  • Verify that Ceph mounts use valid, properly parsed monitor addresses; avoid using fsconfig to set an invalid string.
  • Monitor system logs for ceph‑related BUG_ON or panic messages and apply subsequent kernel updates as they become available.
  • If an immediate kernel upgrade is not possible, enforce strong input validation on any tools that construct Ceph mon_addr strings and block malformed values from reaching fsconfig.

Generated by OpenCVE AI on December 1, 2026 at 09:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-617
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.4, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-665
Type Values Removed Values Added
Description In 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.
Title ceph: don't keep a mon_addr string that failed to parse
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:32 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:18 PM
Modified
Nov 30, 2026, 2:18 PM
Severity
Moderate
Public date
Nov 30, 2026, 1:32 PM