Bug 12365 - CONFIG_HARDENED_USERCOPY is disabled on armv5tel and aarch64
Summary: CONFIG_HARDENED_USERCOPY is disabled on armv5tel and aarch64
Status: CLOSED FIXED
Alias: None
Product: IPFire
Classification: Unclassified
Component: --- (show other bugs)
Version: 2
Hardware: unspecified All
: Will only affect a few users Security
Assignee: Peter Müller
QA Contact:
URL:
Keywords:
Depends on:
Blocks: KERNSEC
  Show dependency treegraph
 
Reported: 2020-04-14 15:21 UTC by Peter Müller
Modified: 2020-07-01 15:15 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Müller 2020-04-14 15:21:47 UTC
Quote from https://capsule8.com/blog/kernel-configuration-glossary/:

> Significance: Critical
> 
> This option checks for obviously wrong memory regions when copying memory
> to/from the kernel (via copy_to_user() and copy_from_user() functions) by 
> ejecting memory ranges that are larger than the specified heap object span
> multiple separately allocated pages are not on the process stack or are part of
> the kernel text. This kills entire classes of heap overflow exploits and
> similar kernel memory exposures.
Comment 1 Peter Müller 2020-06-07 16:37:42 UTC
https://patchwork.ipfire.org/patch/3160/