CVE-2021-46908Published Feb 27, 2024 · Feb 27Updated Aug 5
bpf: Use correct permission flag for mixed signed bounds arithmetic
Linux
High7.1Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
5.10.325.11.165.12In the Linux kernel, the following vulnerability has been resolved:
bpf: Use correct permission flag for mixed signed bounds arithmetic
We forbid adding unknown scalars with mixed signed bounds due to the spectre v1 masking mitigation. Hence this also needs bypass_spec_v1 flag instead of allow_ptr_leaks.
From the CVE record · Linux
The Linux kernel BPF verifier uses the wrong permission flag when handling arithmetic involving unknown scalars with mixed signed bounds. This affects a restriction tied to Spectre v1 masking; the input does not specify an attacker outcome, required access, or user interaction.
Engineers running Linux kernels should check whether their version is affected; the input does not identify affected versions.