CVE-2022-50043
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
18/06/2025
Last modified:
13/11/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
net: fix potential refcount leak in ndisc_router_discovery()<br />
<br />
The issue happens on specific paths in the function. After both the<br />
object `rt` and `neigh` are grabbed successfully, when `lifetime` is<br />
nonzero but the metric needs change, the function just deletes the<br />
route and set `rt` to NULL. Then, it may try grabbing `rt` and `neigh`<br />
again if above conditions hold. The function simply overwrite `neigh`<br />
if succeeds or returns if fails, without decreasing the reference<br />
count of previous `neigh`. This may result in memory leaks.<br />
<br />
Fix it by decrementing the reference count of `neigh` in place.
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.12 (including) | 5.15.63 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.16 (including) | 5.19.4 (excluding) |
| cpe:2.3:o:linux:linux_kernel:6.0:rc1:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page



