NFSv4.2: fix reference count leaks in _nfs42_proc_copy_notify()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 9b9feec97c1fc7dd9bb69f62c4905cddf1801599, Kernel b37f482ba9f0e6382c188e3fccf6c4b2fdc938eb, Kernel b7f114edd54326f730a754547e7cfb197b5bc132 and 2 more.
In the Linux kernel, the following vulnerability has been resolved: NFSv4.2: fix reference count leaks in _nfs42_proc_copy_notify() [You don't often get email from xiongx18@fudan.edu.cn. Learn why this is important at http://aka.ms/LearnAboutSenderIdentification.] The reference counting issue happens in two error paths in the function _nfs42_proc_copy_notify(). In both error paths, the function simply returns the error code and forgets to balance the refcount of object `ctx`, bumped by get_nfs_open_context() earlier, which may cause refcount leaks. Fix it by balancing refcount of the `ctx` object before the function returns in both error paths.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.5, >=0491567b51efeca807da1125a1a0d5193875e286 <9b9feec97c1fc7dd9bb69f62c4905cddf1801599, >=0491567b51efeca807da1125a1a0d5193875e286 <b37f482ba9f0e6382c188e3fccf6c4b2fdc938eb, >=0491567b51efeca807da1125a1a0d5193875e286 <b7f114edd54326f730a754547e7cfb197b5bc132, >=0491567b51efeca807da1125a1a0d5193875e286 <f46f632f9cfae4b2e3635fa58840a8ec584c42e3, >=0491567b51efeca807da1125a1a0d5193875e286 <fb73bf6305f4eb8f0cf9a61ee874d55f019d6dc4 | 9b9feec97c1fc7dd9bb69f62c4905cddf1801599, b37f482ba9f0e6382c188e3fccf6c4b2fdc938eb, b7f114edd54326f730a754547e7cfb197b5bc132, f46f632f9cfae4b2e3635fa58840a8ec584c42e3, fb73bf6305f4eb8f0cf9a61ee874d55f019d6dc4 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket