Bug 2266407 (CVE-2021-46908) - CVE-2021-46908 kernel: unknown scalars with mixed signed bounds masking mitigation
Summary: CVE-2021-46908 kernel: unknown scalars with mixed signed bounds masking mitig...
Keywords:
Status: NEW
Alias: CVE-2021-46908
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2266410
Blocks: 2266369
TreeView+ depends on / blocked
 
Reported: 2024-02-27 18:53 UTC by Rohit Keshri
Modified: 2024-03-26 18:31 UTC (History)
49 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the Linux Kernel. Adding unknown scalars with mixed signed bounds are forbidden due to the spectre v1 masking mitigation. Therefore, this needs the bypass_spec_v1 flag instead of allow_ptr_leaks.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Rohit Keshri 2024-02-27 18:53:57 UTC
In 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.

https://git.kernel.org/stable/c/4ccdc6c6cae38b91c871293fb0ed8c6845a61b51
https://git.kernel.org/stable/c/4f3ff11204eac0ee23acf64deecb3bad7b0db0c6
https://git.kernel.org/stable/c/9601148392520e2e134936e76788fc2a6371e7be

Comment 1 Rohit Keshri 2024-02-27 18:57:30 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2266410]

Comment 3 Justin M. Forbes 2024-02-27 23:11:11 UTC
This was fixed for Fedora with the 5.11.16 stable kernel updates.


Note You need to log in before you can comment on or make changes to this bug.