Bug 2348327 (CVE-2022-49103) - CVE-2022-49103 kernel: NFSv4.2: fix reference count leaks in _nfs42_proc_copy_notify()
Summary: CVE-2022-49103 kernel: NFSv4.2: fix reference count leaks in _nfs42_proc_copy...
Keywords:
Status: NEW
Alias: CVE-2022-49103
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-02-26 03:25 UTC by OSIDB Bzimport
Modified: 2025-02-26 10:44 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-02-26 03:25:35 UTC
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.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.

Comment 1 Avinash Hanwate 2025-02-26 10:37:50 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022600-CVE-2022-49103-751e@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.