Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
cc265089ce1b176dde963c74b53593446ee7f99a to < 3eec9d791968c177a4a8cda9af5c04f79dae09cbaffectedcc265089ce1b176dde963c74b53593446ee7f99a to < 9229d824b938f4fb0ea7a5dddade51735e6fe6f9affectedcc265089ce1b176dde963c74b53593446ee7f99a to < 2150305134889fb2fc25228d35353bd2f6f29500affectedcc265089ce1b176dde963c74b53593446ee7f99a to < d823bf9285cdf4514873b85ab5a888878dd4e8f4affectedcc265089ce1b176dde963c74b53593446ee7f99a to < 15ca3b64a69caa6194bed8f98a20ed90a11c11ddaffectedcc265089ce1b176dde963c74b53593446ee7f99a to < 533964d420d385e11b08dd4c56c66ef5dcccaf08affectedcc265089ce1b176dde963c74b53593446ee7f99a to < c4a409b86a92815181a8e9395c6bf1696ad19175affectedcc265089ce1b176dde963c74b53593446ee7f99a to < 4e475be769aa9f7a2c1ce55a2b8592cfccacddccaffected1cb57d81cf20fe24b9e2e1daf57bfbdc24b77cd8affected3.18.46 to < 3.19affected
Linux Linux
Default version status: affected
4.2affected0 to < 4.2unaffected5.10.270 to ≤ 5.10.*unaffected5.15.221 to ≤ 5.15.*unaffected6.1.188 to ≤ 6.1.*unaffected6.6.157 to ≤ 6.6.*unaffected6.12.109 to ≤ 6.12.*unaffected6.18.50 to ≤ 6.18.*unaffected7.2.4 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/3eec9d791968c177a4a8cda9af5c04f79dae09cb ↗
- https://git.kernel.org/stable/c/9229d824b938f4fb0ea7a5dddade51735e6fe6f9 ↗
- https://git.kernel.org/stable/c/2150305134889fb2fc25228d35353bd2f6f29500 ↗
- https://git.kernel.org/stable/c/d823bf9285cdf4514873b85ab5a888878dd4e8f4 ↗
- https://git.kernel.org/stable/c/15ca3b64a69caa6194bed8f98a20ed90a11c11dd ↗
- https://git.kernel.org/stable/c/533964d420d385e11b08dd4c56c66ef5dcccaf08 ↗
- https://git.kernel.org/stable/c/c4a409b86a92815181a8e9395c6bf1696ad19175 ↗
- https://git.kernel.org/stable/c/4e475be769aa9f7a2c1ce55a2b8592cfccacddcc ↗