{"id":"CVE-2026-99378","state":"PUBLISHED","title":"pnfs/blocklayout: Complete a device upcall when the pipe is closed","description":"In the Linux kernel, the following vulnerability has been resolved:\n\npnfs/blocklayout: Complete a device upcall when the pipe is closed\n\nOnce blkmapd has read a whole upcall, rpc_pipe_read() unlinks the\nmessage from every pipe list, so the purges in rpc_pipe_release()\nand rpc_close_pipes() no longer reach it. bl_upcall_ops supplies no\n.release_pipe callback, and bl_pipe_destroy_msg() returns without\ncompleting the upcall because a downcall is expected to follow. A\ndaemon that exits between the read and the write therefore strands\nits waiter: bl_resolve_deviceid() sleeps in wait_for_completion()\nand never returns, and it holds nn->bl_mutex across that wait, so\nevery later device resolution in the net namespace blocks behind\nit.\n\nAdd a .release_pipe that completes an upcall blkmapd has consumed\nand left unanswered. Completing an upcall retires it, so a message\nthe framework has already purged is no longer in flight and is not\ncompleted a second time here.","publishedAt":"2026-11-19T14:23:18.405Z","updatedAt":"2026-11-19T14:38:16.971Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"fe0a9b740881d181e3c96c1f6f6043e252692ffe","status":"affected","lessThan":"e4db79581b42ced776b726587571969aac162c74","versionType":"git"},{"version":"fe0a9b740881d181e3c96c1f6f6043e252692ffe","status":"affected","lessThan":"9b89bd161183277fe08077f7877b495ec53a2440","versionType":"git"},{"version":"fe0a9b740881d181e3c96c1f6f6043e252692ffe","status":"affected","lessThan":"1c46038a0117c4495783edc8a7532dbda7828e49","versionType":"git"},{"version":"fe0a9b740881d181e3c96c1f6f6043e252692ffe","status":"affected","lessThan":"2a25cc8e984610828a526086313b8a7aeefe507d","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/nfs/blocklayout/rpc_pipefs.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.1","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.1","versionType":"semver"},{"version":"6.12.117","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.61","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.2","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/nfs/blocklayout/rpc_pipefs.c"]}],"references":["https://git.kernel.org/stable/c/e4db79581b42ced776b726587571969aac162c74","https://git.kernel.org/stable/c/9b89bd161183277fe08077f7877b495ec53a2440","https://git.kernel.org/stable/c/1c46038a0117c4495783edc8a7532dbda7828e49","https://git.kernel.org/stable/c/2a25cc8e984610828a526086313b8a7aeefe507d"],"weaknesses":[],"ingestedAt":"2026-11-19T14:42:06.048Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/99xxx/CVE-2026-99378.json","commit":"ac44738435f10e6dbe2f4dd504cf13737f9cf963","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99378","state":"PUBLISHED","datePublished":"2026-11-19T14:23:18.405Z","dateUpdated":"2026-11-19T14:38:16.971Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.411Z"},"containers":{"cna":{"title":"pnfs/blocklayout: Complete a device upcall when the pipe is closed","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\npnfs/blocklayout: Complete a device upcall when the pipe is closed\n\nOnce blkmapd has read a whole upcall, rpc_pipe_read() unlinks the\nmessage from every pipe list, so the purges in rpc_pipe_release()\nand rpc_close_pipes() no longer reach it. bl_upcall_ops supplies no\n.release_pipe callback, and bl_pipe_destroy_msg() returns without\ncompleting the upcall because a downcall is expected to follow. A\ndaemon that exits between the read and the write therefore strands\nits waiter: bl_resolve_deviceid() sleeps in wait_for_completion()\nand never returns, and it holds nn->bl_mutex across that wait, so\nevery later device resolution in the net namespace blocks behind\nit.\n\nAdd a .release_pipe that completes an upcall blkmapd has consumed\nand left unanswered. Completing an upcall retires it, so a message\nthe framework has already purged is no longer in flight and is not\ncompleted a second time here."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"fe0a9b740881d181e3c96c1f6f6043e252692ffe","status":"affected","lessThan":"e4db79581b42ced776b726587571969aac162c74","versionType":"git"},{"version":"fe0a9b740881d181e3c96c1f6f6043e252692ffe","status":"affected","lessThan":"9b89bd161183277fe08077f7877b495ec53a2440","versionType":"git"},{"version":"fe0a9b740881d181e3c96c1f6f6043e252692ffe","status":"affected","lessThan":"1c46038a0117c4495783edc8a7532dbda7828e49","versionType":"git"},{"version":"fe0a9b740881d181e3c96c1f6f6043e252692ffe","status":"affected","lessThan":"2a25cc8e984610828a526086313b8a7aeefe507d","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/nfs/blocklayout/rpc_pipefs.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.1","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.1","versionType":"semver"},{"version":"6.12.117","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.61","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.2","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/nfs/blocklayout/rpc_pipefs.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/e4db79581b42ced776b726587571969aac162c74"},{"url":"https://git.kernel.org/stable/c/9b89bd161183277fe08077f7877b495ec53a2440"},{"url":"https://git.kernel.org/stable/c/1c46038a0117c4495783edc8a7532dbda7828e49"},{"url":"https://git.kernel.org/stable/c/2a25cc8e984610828a526086313b8a7aeefe507d"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-19T14:38:16.971Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.1","versionEndExcluding":"6.12.117"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.1","versionEndExcluding":"6.18.61"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.1","versionEndExcluding":"7.3.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.1","versionEndExcluding":"7.4-rc1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}