No description
  • C 98.2%
  • Assembly 1%
  • Makefile 0.3%
  • Shell 0.2%
  • Python 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Eric Biggers 57b0e31453 KEYS: fix parsing invalid pkey info string
We need to check the return value of match_token() for Opt_err before
doing anything with it.

[ Not only did the old "-1" value for Opt_err cause problems for the
  __test_and_set_bit(), as fixed in commit 94c13f66e1 ("security:
  don't use a negative Opt_err token index"), but accessing
  "args[0].from" is invalid for the Opt_err case, as pointed out by Eric
  later.  - Linus ]

Reported-by: syzbot+a22e0dc07567662c50bc@syzkaller.appspotmail.com
Fixes: 00d60fd3b9 ("KEYS: Provide keyctls to drive the new key type ops for asymmetric keys [ver #2]")
Signed-off-by: Eric Biggers <ebiggers@google.com>
Cc: stable@kernel.org # 4.20
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2019-01-01 13:13:19 -08:00
arch ARM: SoC defconfig updates 2018-12-31 17:40:14 -08:00
block Kconfig updates for v4.21 2018-12-29 13:03:29 -08:00
certs
crypto Kconfig updates for v4.21 2018-12-29 13:03:29 -08:00
Documentation ARM: Device-tree updates 2018-12-31 17:36:02 -08:00
drivers ARM: SoC driver updates 2018-12-31 17:32:35 -08:00
firmware firmware: refactor firmware/Makefile 2018-12-23 10:10:32 +09:00
fs dax fix 4.21 2018-12-31 09:46:39 -08:00
include ARM: Device-tree updates 2018-12-31 17:36:02 -08:00
init Merge tag 'devicetree-for-4.21' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux 2018-12-28 20:08:34 -08:00
ipc
kernel Tracing changes for v4.21: 2018-12-31 11:46:59 -08:00
lib Tracing changes for v4.21: 2018-12-31 11:46:59 -08:00
LICENSES
mm A fairly normal cycle for documentation stuff. We have a new 2018-12-29 11:21:49 -08:00
net Merge branch 'akpm' (patches from Andrew) 2018-12-28 16:55:46 -08:00
samples Kbuild updates for v4.21 2018-12-29 12:03:17 -08:00
scripts Tracing changes for v4.21: 2018-12-31 11:46:59 -08:00
security KEYS: fix parsing invalid pkey info string 2019-01-01 13:13:19 -08:00
sound xen: features and fixes for 4.21 2018-12-26 11:35:07 -08:00
tools Tracing changes for v4.21: 2018-12-31 11:46:59 -08:00
usr
virt mm/mmu_notifier: use structure for invalidate_range_start/end callback 2018-12-28 12:11:50 -08:00
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild kbuild: remove unused cmd_gentimeconst 2018-12-25 00:10:30 +09:00
Kconfig
MAINTAINERS ARM: Device-tree updates 2018-12-31 17:36:02 -08:00
Makefile Kbuild updates for v4.21 2018-12-29 12:03:17 -08:00
README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.