rxrpc: Fix rxrpc_local leak in rxrpc_lookup_peer()
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 1 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-401.
Summary
In the Linux kernel, the following vulnerability has been resolved: rxrpc: Fix rxrpc_local leak in rxrpc_lookup_peer() Need to call rxrpc_put_local() for peer candidate before kfree() as it holds a ref to rxrpc_local. [DH: v2: Changed to abstract the peer freeing code out into a function]
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 4.19.82 to before 4.19.220; 5.3.9 to before 5.4 | 4.19.220, 5.4 | Patch available | CNA |
| Linux | Linux | 5.4 and later | 4.19.220, 5.4.164, 5.10.84, 5.15.7, 5.16 | Patch available | CNA |
- Linux VendorLinux Affected 4.19.82 to before 4.19.220; 5.3.9 to before 5.4 Fixed in 4.19.220, 5.4 Patch available CNA
- Linux VendorLinux Affected 5.4 and later Fixed in 4.19.220, 5.4.164, 5.10.84, 5.15.7, 5.16 Patch available CNA
CPE configurations NVD · 10
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.19.82 to before 4.19.220; 5.3.9 to before 5.4; 5.4.1 to before 5.4.164; 5.5 to before 5.10.84; 5.11 to before 5.15.7 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.4:-:*:*:*:*:*:* | 5.4 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.4:rc4:*:*:*:*:*:* | 5.4 rc4 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.4:rc5:*:*:*:*:*:* | 5.4 rc5 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.4:rc6:*:*:*:*:*:* | 5.4 rc6 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.4:rc7:*:*:*:*:*:* | 5.4 rc7 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.4:rc8:*:*:*:*:*:* | 5.4 rc8 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.16:rc1:*:*:*:*:*:* | 5.16 rc1 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.16:rc2:*:*:*:*:*:* | 5.16 rc2 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.16:rc3:*:*:*:*:*:* | 5.16 rc3 | Vulnerable | Linux |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 4.19.82 to before 4.19.220; 5.3.9 to before 5.4; 5.4.1 to before 5.4.164; 5.5 to before 5.10.84; 5.11 to before 5.15.7 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.4:-:*:*:*:*:*:* Versions 5.4 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.4:rc4:*:*:*:*:*:* Versions 5.4 rc4 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.4:rc5:*:*:*:*:*:* Versions 5.4 rc5 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.4:rc6:*:*:*:*:*:* Versions 5.4 rc6 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.4:rc7:*:*:*:*:*:* Versions 5.4 rc7 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.4:rc8:*:*:*:*:*:* Versions 5.4 rc8 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.16:rc1:*:*:*:*:*:* Versions 5.16 rc1 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.16:rc2:*:*:*:*:*:* Versions 5.16 rc2 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.16:rc3:*:*:*:*:*:* Versions 5.16 rc3 Vulnerable ·Linux
Remediation
- Fix · CNA Linux (Linux) Fixed in 4.19.220, 5.4
- Fix · CNA Linux (Linux) Fixed in 4.19.220, 5.4.164, 5.10.84, 5.15.7, 5.16
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 9 | Affected | No fix yet |
Not affected: 3 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
Timeline
- 2026-10-02 Threatist record created from CVE-2021-47538
References
Patch 5
- https://git.kernel.org/stable/c/913c24af2d13a3fd304462916ee98e298d56bdce
- https://git.kernel.org/stable/c/3e70e3a72d80b16094faccbe438cd53761c3503a
- https://git.kernel.org/stable/c/60f0b9c42cb80833a03ca57c1c8b078d716e71d1
- https://git.kernel.org/stable/c/9469273e616ca8f1b6e3773c5019f21b4c8d828c
- https://git.kernel.org/stable/c/beacff50edbd6c9659a6f15fc7f6126909fade29
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
Sources
- CVE-2021-47538 · CVE Program
- CVE-2021-47538 · NVD
- FIRST EPSS
- CVE-2021-47538 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences