netlabel: fix out-of-bounds memory accesses
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · None · High
- Fix status
- Partial Red Hat: 2 fixed, 2 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.
Summary
In the Linux kernel, the following vulnerability has been resolved: netlabel: fix out-of-bounds memory accesses There are two array out-of-bounds memory accesses, one in cipso_v4_map_lvl_valid(), the other in netlbl_bitmap_walk(). Both errors are embarassingly simple, and the fixes are straightforward. As a FYI for anyone backporting this patch to kernels prior to v4.8, you'll want to apply the netlbl_bitmap_walk() patch to cipso_v4_bitmap_walk() as netlbl_bitmap_walk() doesn't exist before Linux v4.8.
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 | 2.6.19 and later | 3.16.66, 3.18.137, 4.4.177, 4.9.163, 4.14.106, 4.19.28, 4.20.15, 5.0 | Patch available | CNA |
- Linux VendorLinux Affected 2.6.19 and later Fixed in 3.16.66, 3.18.137, 4.4.177, 4.9.163, 4.14.106, 4.19.28, 4.20.15, 5.0 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 2.6.19 to before 3.16.66; 3.17.0 to before 3.18.137; 3.19.0 to before 4.4.177; 4.5.0 to before 4.9.163; 4.10.0 to before 4.14.106; 4.15.0 to before 4.19.28; 4.20.0 to before 4.20.15 | Vulnerable | Linux |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 2.6.19 to before 3.16.66; 3.17.0 to before 3.18.137; 3.19.0 to before 4.4.177; 4.5.0 to before 4.9.163; 4.10.0 to before 4.14.106; 4.15.0 to before 4.19.28; 4.20.0 to before 4.20.15 Vulnerable ·Linux
Remediation
- Fix · CNA Linux (Linux) Fixed in 3.16.66, 3.18.137, 4.4.177, 4.9.163, 4.14.106, 4.19.28, 4.20.15, 5.0
Red Hat 1 advisory
- RHSA-2019:3517 Released 2019-11-05 · Red Hat rating Importantkernel security, bug fix, and enhancement update
- Red Hat CodeReady Linux Builder (v. 8) kernel-tools-libs-devel-4.18.0-147.el8
- Red Hat Enterprise Linux BaseOS (v. 8) bpftool-4.18.0-147.el8, kernel-4.18.0-147.el8, kernel-abi-whitelists-4.18.0-147.el8 +19
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 8 | Affected | No fix yet |
| Red Hat CodeReady Linux Builder (v. 8) | Fixed | RHSA-2019:3517 |
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2019:3517 |
Not affected: 2 products
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2019-25160
- 2026-10-03 Alias added: GHSA-gj7p-vqfr-xgjw
References
Patch 8
- https://git.kernel.org/stable/c/97bc3683c24999ee621d847c9348c75d2fe86272
- https://git.kernel.org/stable/c/c61d01faa5550e06794dcf86125ccd325bfad950
- https://git.kernel.org/stable/c/dc18101f95fa6e815f426316b8b9a5cee28a334e
- https://git.kernel.org/stable/c/1c973f9c7cc2b3caae93192fdc8ecb3f0b4ac000
- https://git.kernel.org/stable/c/fcfe700acdc1c72eab231300e82b962bac2b2b2c
- https://git.kernel.org/stable/c/e3713abc4248aa6bcc11173d754c418b02a62cbb
- https://git.kernel.org/stable/c/fbf9578919d6c91100ec63acf2cba641383f6c78
- https://git.kernel.org/stable/c/5578de4834fe0f2a34fedc7374be691443396d1f
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-2019-25160 · CVE Program
- CVE-2019-25160 · NVD
- FIRST EPSS
- GHSA-gj7p-vqfr-xgjw · GitHub Advisory Database · CC BY 4.0
- CVE-2019-25160 · 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