https://github.com/torvalds/linux
Revision 6e3ee990c90494561921c756481d0e2125d8b895 authored by Gaosheng Cui on 16 October 2021, 07:23:50 UTC, committed by Paul Moore on 18 October 2021, 22:27:47 UTC
Fix  possible null-pointer dereference in audit_filter_rules.

audit_filter_rules() error: we previously assumed 'ctx' could be null

Cc: stable@vger.kernel.org
Fixes: bf361231c295 ("audit: add saddr_fam filter field")
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
1 parent 67d69e9
Raw File
Tip revision: 6e3ee990c90494561921c756481d0e2125d8b895 authored by Gaosheng Cui on 16 October 2021, 07:23:50 UTC
audit: fix possible null-pointer dereference in audit_filter_rules
Tip revision: 6e3ee99
COPYING
The Linux Kernel is provided under:

	SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note

Being under the terms of the GNU General Public License version 2 only,
according with:

	LICENSES/preferred/GPL-2.0

With an explicit syscall exception, as stated at:

	LICENSES/exceptions/Linux-syscall-note

In addition, other licenses may also apply. Please see:

	Documentation/process/license-rules.rst

for more details.

All contributions to the Linux Kernel are subject to this COPYING file.
back to top