CVE-2026-139196: ceph: don't keep a mon_addr string that failed to parse

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

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

cephparsemonaddr() stores the string in fsopt->monaddr before handing it to cephparsemonips(), and then returns that function's error. So after a monaddr= that does not parse, fsconfig() reports the failure but the mount context keeps the rejected string.

That matters because cephgettree() uses fsopt->monaddr as the "monitor addresses were supplied" test:

if (fsopt->newdevsyntax && !fsopt->monaddr) return invalfc(fc, "No monitor address");

Userspace is free to ignore the error from fsconfig(FSCONFIGSETSTRING) and go straight to FSCONFIGCMDCREATE. The check then passes on a value that was rejected, and the mount continues with cephoptions::nummon still 0 - which is how syzbot reached the BUGON() in picknewmon() fixed by the previous patch.

Parse first and commit only on success. A failed monaddr= now leaves any previously accepted value in place instead of replacing it with one that does not parse.

Affected Software

1 affected component
Linux Linux kernel

Event History

Nov 30, 2026
CVE Published
via MITRE·01:32 PM
Data Sourced
via MITRE·01:32 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203