CVE-2021-47514
published 2024-05-24CVE-2021-47514: In the Linux kernel, the following vulnerability has been resolved: devlink: fix netns refcount leak in devlink_nl_cmd_reload() While preparing my patch series…
PriorityP417medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.24%
14.6th percentile
In the Linux kernel, the following vulnerability has been resolved:
devlink: fix netns refcount leak in devlink_nl_cmd_reload()
While preparing my patch series adding netns refcount tracking,
I spotted bugs in devlink_nl_cmd_reload()
Some error paths forgot to release a refcount on a netns.
To fix this, we can reduce the scope of get_net()/put_net()
section around the call to devlink_reload().
Affected
12 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 5.15.15-1 (bookworm) | linux 5.15.15-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= ccdf07219da6bd1f43c6ddcde4c0e36993c7365a < 4b7e90672af8e0c78205db006f1b0a20ebd07f5f | 4b7e90672af8e0c78205db006f1b0a20ebd07f5f |
| linux | linux | >= ccdf07219da6bd1f43c6ddcde4c0e36993c7365a < fe30b70ca84da9c4aca85c03ad86e7a9b89c5ded | fe30b70ca84da9c4aca85c03ad86e7a9b89c5ded |
| linux | linux | >= ccdf07219da6bd1f43c6ddcde4c0e36993c7365a < 4dbb0dad8e63fcd0b5a117c2861d2abe7ff5f186 | 4dbb0dad8e63fcd0b5a117c2861d2abe7ff5f186 |
| linux | linux_kernel | — | — |
| linux | linux_kernel | >= 0 < 5.10.92-1 | 5.10.92-1 |
| linux | linux_kernel | >= 0 < 5.15.15-1 | 5.15.15-1 |
| linux | linux_kernel | >= 0 < 5.15.15-1 | 5.15.15-1 |
| linux | linux_kernel | >= 0 < 5.15.15-1 | 5.15.15-1 |
| linux | linux_kernel | >= 5.10 < 5.10.85 | 5.10.85 |
| linux | linux_kernel | >= 5.11 < 5.15.8 | 5.15.8 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
kernel: devlink: fix netns refcount leak in devlink_nl_cmd_reload()
vendor_redhat·2024-05-24·CVSS 5.5
CVE-2021-47514 [MEDIUM] CWE-911 kernel: devlink: fix netns refcount leak in devlink_nl_cmd_reload()
kernel: devlink: fix netns refcount leak in devlink_nl_cmd_reload()
In the Linux kernel, the following vulnerability has been resolved:
devlink: fix netns refcount leak in devlink_nl_cmd_reload()
While preparing my patch series adding netns refcount tracking,
I spotted bugs in devlink_nl_cmd_reload()
Some error paths forgot to release a refcount on a netns.
To fix this, we can reduce the scope of get_net()/put_net()
section around the call to devlink_reload().
Package: kernel (Red Hat Enterprise Linux 6) - Not affected
Package: kernel (Red Hat Enterprise Linux 7) - Out of support scope
Package: kernel-rt (Red Hat Enterprise Linux 7) - Out of support scope
Package: kernel (Red Hat Enterprise Linux 8) - Fix deferred
Package: kernel-rt (Red Hat Enterprise Linux 8) - Fix deferred
Packag
Debian
CVE-2021-47514: linux - In the Linux kernel, the following vulnerability has been resolved: devlink: fi...
vendor_debian·2021·CVSS 5.5
CVE-2021-47514 [MEDIUM] CVE-2021-47514: linux - In the Linux kernel, the following vulnerability has been resolved: devlink: fi...
In the Linux kernel, the following vulnerability has been resolved: devlink: fix netns refcount leak in devlink_nl_cmd_reload() While preparing my patch series adding netns refcount tracking, I spotted bugs in devlink_nl_cmd_reload() Some error paths forgot to release a refcount on a netns. To fix this, we can reduce the scope of get_net()/put_net() section around the call to devlink_reload().
Scope: local
bookworm: resolved (fixed in 5.15.15-1)
bullseye: resolved (fixed in 5.10.92-1)
forky: resolved (fixed in 5.15.15-1)
sid: resolved (fixed in 5.15.15-1)
trixie: resolved (fixed in 5.15.15-1)
OSV
CVE-2021-47514: In the Linux kernel, the following vulnerability has been resolved: devlink: fix netns refcount leak in devlink_nl_cmd_reload() While preparing my pat
osv·2024-05-24·CVSS 5.5
CVE-2021-47514 [MEDIUM] CVE-2021-47514: In the Linux kernel, the following vulnerability has been resolved: devlink: fix netns refcount leak in devlink_nl_cmd_reload() While preparing my pat
In the Linux kernel, the following vulnerability has been resolved: devlink: fix netns refcount leak in devlink_nl_cmd_reload() While preparing my patch series adding netns refcount tracking, I spotted bugs in devlink_nl_cmd_reload() Some error paths forgot to release a refcount on a netns. To fix this, we can reduce the scope of get_net()/put_net() section around the call to devlink_reload().
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/4b7e90672af8e0c78205db006f1b0a20ebd07f5fhttps://git.kernel.org/stable/c/4dbb0dad8e63fcd0b5a117c2861d2abe7ff5f186https://git.kernel.org/stable/c/fe30b70ca84da9c4aca85c03ad86e7a9b89c5dedhttps://git.kernel.org/stable/c/4b7e90672af8e0c78205db006f1b0a20ebd07f5fhttps://git.kernel.org/stable/c/4dbb0dad8e63fcd0b5a117c2861d2abe7ff5f186https://git.kernel.org/stable/c/fe30b70ca84da9c4aca85c03ad86e7a9b89c5ded
2024-05-24
Published