netlabel: fix out-of-bounds memory accesses
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 446fda4f26822b2d42ab3396aafcedf38a9ff2b6 · < e3713abc4248aa6bcc11173d754c418b02a62cbb| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel has two out-of-bounds array accesses in netlabel functions. The input does not establish what an attacker could do with them or whether exploitation requires network access, local access, authentication, or user interaction.
Engineers running Linux kernels should check whether their kernel includes the netlabel fixes; affected versions are not specified.