Files
linux-cryptodev-2.6/security/selinux
Paul Moore 9ab71d9204 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: syzbot+bc2c99c2929c3d219fb3@syzkaller.appspotmail.com
Tested-by: syzbot+bc2c99c2929c3d219fb3@syzkaller.appspotmail.com
Signed-off-by: Paul Moore <paul@paul-moore.com>
2025-06-19 17:24:57 -04:00
..
2025-02-03 16:47:20 -05:00
2023-05-08 16:44:01 -04:00
2023-09-13 13:46:57 -04:00
2025-04-11 16:32:07 -04:00
2025-04-11 18:58:10 -07:00
2024-03-27 18:25:18 -04:00