diff options
| author | Paul Moore <[email protected]> | 2025-06-18 16:17:33 +0000 |
|---|---|---|
| committer | Paul Moore <[email protected]> | 2025-06-19 21:24:57 +0000 |
| commit | 9ab71d9204c32a9814d38528d066fdf6fa128604 (patch) | |
| tree | 8d860b419c813ccfedd3a348e514c86b36d26cd4 /lib/crypto/mpi/mpi-cmp.c | |
| parent | selinux: optimize selinux_inode_getattr/permission() based on neveraudit|perm... (diff) | |
| download | kernel-9ab71d9204c32a9814d38528d066fdf6fa128604.tar.gz kernel-9ab71d9204c32a9814d38528d066fdf6fa128604.zip | |
selinux: add __GFP_NOWARN to hashtab_init() allocations
As reported by syzbot, hashtab_init() can be affected by abnormally
large policy loads which would cause the kernel's allocator to emit
a warning in some configurations. Since the SELinux hashtab_init()
code handles the case where the allocation fails, due to a large
request or some other reason, we can safely add the __GFP_NOWARN flag
to squelch these abnormally large allocation warnings.
Reported-by: [email protected]
Tested-by: [email protected]
Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions
