Tetsuo Handa
135122f174
smackfs: restrict bytes count in smk_set_cipso()
commit 49ec114a6e62d8d320037ce71c1aaf9650b3cafd upstream.
Oops, I failed to update subject line.
From 07571157c91b98ce1a4aa70967531e64b78e8346 Mon Sep 17 00:00:00 2001
From: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Date: Mon, 12 Apr 2021 22:25:06 +0900
Subject: smackfs: restrict bytes count in smk_set_cipso()
Commit 7ef4c19d245f3dc2 ("smackfs: restrict bytes count in smackfs write
functions") missed that count > SMK_CIPSOMAX check applies to only
format == SMK_FIXED24_FMT case.
Reported-by: syzbot <syzbot+77c53db50c9fff774e8e@syzkaller.appspotmail.com>
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
2021-07-19 08:53:18 +02:00 |
| .. |
|
apparmor
|
apparmor: ensure that dfa state tables have entries
|
2020-07-22 09:33:05 +02:00 |
|
integrity
|
evm: fix writing <securityfs>/evm overflow
|
2021-07-14 16:53:21 +02:00 |
|
keys
|
KEYS: trusted: Fix migratable=1 failing
|
2021-03-04 10:26:44 +01:00 |
|
loadpin
|
proc/sysctl: add shared variables for range check
|
2019-07-18 17:08:07 -07:00 |
|
lockdown
|
lockdown: Allow unprivileged users to see lockdown status
|
2020-06-22 09:30:53 +02:00 |
|
safesetid
|
LSM: SafeSetID: Stop releasing uninitialized ruleset
|
2019-09-17 11:27:05 -07:00 |
|
selinux
|
selinux: use __GFP_NOWARN with GFP_NOWAIT in the AVC
|
2021-07-19 08:53:10 +02:00 |
|
smack
|
smackfs: restrict bytes count in smk_set_cipso()
|
2021-07-19 08:53:18 +02:00 |
|
tomoyo
|
tomoyo: Use atomic_t for statistics counter
|
2020-02-05 21:22:41 +00:00 |
|
yama
|
proc/sysctl: add shared variables for range check
|
2019-07-18 17:08:07 -07:00 |
|
commoncap.c
|
security: commoncap: fix -Wstringop-overread warning
|
2021-05-11 14:04:16 +02:00 |
|
device_cgroup.c
|
device_cgroup: Fix RCU list debugging warning
|
2020-10-01 13:18:13 +02:00 |
|
inode.c
|
Merge branch 'work.mount0' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
|
2019-07-19 10:42:02 -07:00 |
|
Kconfig
|
Merge branch 'next-lockdown' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
|
2019-09-28 08:14:15 -07:00 |
|
Kconfig.hardening
|
meminit fix
|
2019-07-28 12:33:15 -07:00 |
|
lsm_audit.c
|
dump_common_audit_data(): fix racy accesses to ->d_name
|
2021-01-19 18:26:16 +01:00 |
|
Makefile
|
security: Add a static lockdown policy LSM
|
2019-08-19 21:54:15 -07:00 |
|
min_addr.c
|
|
|
|
security.c
|
Merge branch 'next-lockdown' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
|
2019-09-28 08:14:15 -07:00 |