{"id":"CVE-2026-142923","summary":"NFS: use TCP for MOUNT when xprtsec= selects TLS","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nNFS: use TCP for MOUNT when xprtsec= selects TLS\n\nAn NFSv2 or NFSv3 text mount that specifies xprtsec= but no\nmountproto= crashes in nfs_init_timeout_values():\n\n  RIP: 0010:nfs_init_timeout_values+0x10a/0x110 [nfs]\n  Call Trace:\n   nfs_mount+0x1c3/0x330 [nfs]\n   nfs_try_get_tree+0x1e5/0x460 [nfs]\n   nfs_get_tree+0x64d/0x6d0 [nfs]\n   vfs_get_tree+0x2b/0xe0\n   vfs_cmd_create+0x5f/0xd0\n   vfs_fsconfig_locked+0x50/0x130\n   __se_sys_fsconfig+0x2f9/0x3a0\n\nnfs_validate_transport_protocol() sets nfs_server.protocol to\nXPRT_TRANSPORT_TCP_TLS when xprtsec= is present, but the switch in\nnfs_set_mount_transport_protocol() has no case for that value.\nmount_server.protocol stays zero, and nfs_init_timeout_values()\ncalls BUG() on a transport it does not recognize.\n\nmount.nfs always appends mountproto= after probing the server's\nrpcbind, so only a caller that bypasses it, such as \"mount -i\" or a\nprogram that drives fsconfig() directly, reaches the crash.\n\nSelect TCP for MOUNT when the NFS transport is XPRT_TRANSPORT_TCP_TLS.\nnfs_mount() requests no transport security, so MOUNT already runs\nover plain TCP whenever mount.nfs supplies mountproto=tcp.","modified":"2026-12-03T05:01:18.406326985Z","published":"2026-12-03T03:26:01.089Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142923.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5f3e822925b4ef55753bc5eda0bc0745caad66b7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6bfa7e3b2a0f553ce0a8194ca9460236508361a0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/72233aabc78cd0415c850641bc2a6e4fea23173f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/75b2e8d57555d23c1ee34d00582f54b1acc26a5b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b3488a172a7647b9610644866818ca4cf101a0c5"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142923.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142923"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"c8407f2e560c53c4c73e77cb5604c8a408dbe7f7"},{"fixed":"6bfa7e3b2a0f553ce0a8194ca9460236508361a0"},{"fixed":"75b2e8d57555d23c1ee34d00582f54b1acc26a5b"},{"fixed":"5f3e822925b4ef55753bc5eda0bc0745caad66b7"},{"fixed":"b3488a172a7647b9610644866818ca4cf101a0c5"},{"fixed":"72233aabc78cd0415c850641bc2a6e4fea23173f"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142923.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.5.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.119"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.65"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142923.json"}}],"schema_version":"1.9.2"}