pnfs/blocklayout: Complete a device upcall when the pipe is closed
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel e4db79581b42ced776b726587571969aac162c74, Kernel 1c46038a0117c4495783edc8a7532dbda7828e49, Kernel 2a25cc8e984610828a526086313b8a7aeefe507d and 12 more.
In the Linux kernel, the following vulnerability has been resolved: pnfs/blocklayout: Complete a device upcall when the pipe is closed Once blkmapd has read a whole upcall, rpc_pipe_read() unlinks the message from every pipe list, so the purges in rpc_pipe_release() and rpc_close_pipes() no longer reach it. bl_upcall_ops supplies no .release_pipe callback, and bl_pipe_destroy_msg() returns without completing the upcall because a downcall is expected to follow. A daemon that exits between the read and the write therefore strands its waiter: bl_resolve_deviceid() sleeps in wait_for_completion() and never returns, and it holds nn->bl_mutex across that wait, so every later device resolution in the net namespace blocks behind it. Add a .release_pipe that completes an upcall blkmapd has consumed and left unanswered. Completing an upcall retires it, so a message the framework has already purged is no longer in flight and is not completed a second time here.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=fe0a9b740881d181e3c96c1f6f6043e252692ffe <e4db79581b42ced776b726587571969aac162c74, >=fe0a9b740881d181e3c96c1f6f6043e252692ffe <1c46038a0117c4495783edc8a7532dbda7828e49, >=fe0a9b740881d181e3c96c1f6f6043e252692ffe <2a25cc8e984610828a526086313b8a7aeefe507d, >=fe0a9b740881d181e3c96c1f6f6043e252692ffe <828c73249ca40c86307326202f123f672892128a, >=fe0a9b740881d181e3c96c1f6f6043e252692ffe <8ae8e20e8114979b7e4ad2c489450d1ad7c36def, >=fe0a9b740881d181e3c96c1f6f6043e252692ffe <9b89bd161183277fe08077f7877b495ec53a2440, >=fe0a9b740881d181e3c96c1f6f6043e252692ffe <a8daef6eb70993690441dbf749d5c96685b6efcc, >=fe0a9b740881d181e3c96c1f6f6043e252692ffe <ca46d7173b4d8cf2e5de3720e79208dad3008293, =3.1 | e4db79581b42ced776b726587571969aac162c74, 1c46038a0117c4495783edc8a7532dbda7828e49, 2a25cc8e984610828a526086313b8a7aeefe507d, 828c73249ca40c86307326202f123f672892128a, 8ae8e20e8114979b7e4ad2c489450d1ad7c36def, 9b89bd161183277fe08077f7877b495ec53a2440, a8daef6eb70993690441dbf749d5c96685b6efcc, ca46d7173b4d8cf2e5de3720e79208dad3008293 |
| linux-kernel: Kernel | >=5.11.0 <5.15.226, >=5.16.0 <6.1.193, >=6.13.0 <6.18.61, >=6.19.0 <7.3.2, >=6.2.0 <6.6.163, >=6.7.0 <6.12.117, >=3.1.0 <5.10.275 | 5.15.226, 6.1.193, 6.18.61, 7.3.2, 6.6.163, 6.12.117, 5.10.275 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket