CVE-2022-50043 Details
Description
In the Linux kernel, the following vulnerability has been resolved: net: fix potential refcount leak in ndisc_router_discovery() The issue happens on specific paths in the function. After both the object `rt` and `neigh` are grabbed successfully, when `lifetime` is nonzero but the metric needs change, the function just deletes the route and set `rt` to NULL. Then, it may try grabbing `rt` and `neigh` again if above conditions hold. The function simply overwrite `neigh` if succeeds or returns if fails, without decreasing the reference count of previous `neigh`. This may result in memory leaks. Fix it by decrementing the reference count of `neigh` in place.
A potential reference count leak vulnerability has been identified in the Linux kernel's Neighbor Discovery Router Discovery function. This issue arises when the function successfully acquires references to both the route and neighbor objects. If the neighbor's lifetime is non-zero but the metric requires adjustment, the function deletes the route and nullifies the route reference. It may then attempt to reacquire the route and neighbor references. However, the function overwrites the neighbor reference without decrementing the reference count of the previous neighbor, leading to a memory leak. The vulnerability has been addressed by ensuring the reference count of the neighbor is properly decremented before overwriting.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Nov 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/7396ba87f1edf549284869451665c7c4e74ecd4f | kernel.org | Patch |
| https://git.kernel.org/stable/c/7998043d31d000c3a93f46182e6569dd0eecda34 | kernel.org | Patch |
| https://git.kernel.org/stable/c/ffb15594433391fd7885eb88ce5a7f7bdeefbb15 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-Other | Weakness Not in a Standard CWE Category | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.12, < 5.15.63 >= 5.16, < 5.19.4 6.0 rc1 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 5, 2026 | CVE Modified | kernel.org |
| Nov 5, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 13, 2025 | Initial Analysis | [email protected] |
| Jun 18, 2025 | New CVE Received | kernel.org |