nfsd: add fh_want_write() for early-verified SETATTR in nfsd_proc_setattr()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel d823bf9285cdf4514873b85ab5a888878dd4e8f4, Kernel 3.19, Kernel 15ca3b64a69caa6194bed8f98a20ed90a11c11dd and 13 more.
In the Linux kernel, the following vulnerability has been resolved: nfsd: add fh_want_write() for early-verified SETATTR in nfsd_proc_setattr() The BOTH_TIME_SET branch calls fh_verify() early so setattr_prepare() can inspect the dentry. This causes nfsd_setattr() to skip fh_want_write(), so notify_change() runs without a mount write reference. Add the missing fh_want_write() call after the early fh_verify().
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=cc265089ce1b176dde963c74b53593446ee7f99a <d823bf9285cdf4514873b85ab5a888878dd4e8f4, >=3.18.46 <3.19, >=cc265089ce1b176dde963c74b53593446ee7f99a <15ca3b64a69caa6194bed8f98a20ed90a11c11dd, >=cc265089ce1b176dde963c74b53593446ee7f99a <2150305134889fb2fc25228d35353bd2f6f29500, >=cc265089ce1b176dde963c74b53593446ee7f99a <3eec9d791968c177a4a8cda9af5c04f79dae09cb, >=cc265089ce1b176dde963c74b53593446ee7f99a <4e475be769aa9f7a2c1ce55a2b8592cfccacddcc, >=cc265089ce1b176dde963c74b53593446ee7f99a <533964d420d385e11b08dd4c56c66ef5dcccaf08, >=cc265089ce1b176dde963c74b53593446ee7f99a <9229d824b938f4fb0ea7a5dddade51735e6fe6f9, >=cc265089ce1b176dde963c74b53593446ee7f99a <c4a409b86a92815181a8e9395c6bf1696ad19175, =1cb57d81cf20fe24b9e2e1daf57bfbdc24b77cd8, =4.2 | d823bf9285cdf4514873b85ab5a888878dd4e8f4, 3.19, 15ca3b64a69caa6194bed8f98a20ed90a11c11dd, 2150305134889fb2fc25228d35353bd2f6f29500, 3eec9d791968c177a4a8cda9af5c04f79dae09cb, 4e475be769aa9f7a2c1ce55a2b8592cfccacddcc, 533964d420d385e11b08dd4c56c66ef5dcccaf08, 9229d824b938f4fb0ea7a5dddade51735e6fe6f9, c4a409b86a92815181a8e9395c6bf1696ad19175 |
| linux-kernel: Kernel | >=4.2.0 <5.10.270, >=5.11.0 <5.15.221, >=5.16.0 <6.1.188, >=6.13.0 <6.18.50, >=6.19.0 <7.2.4, >=6.2.0 <6.6.157, >=6.7.0 <6.12.109, >=3.18.46 <3.19 | 5.10.270, 5.15.221, 6.1.188, 6.18.50, 7.2.4, 6.6.157, 6.12.109, 3.19 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket