summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/blktrace/blktrace_git.bb
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2018-08-24 15:21:27 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-08-28 10:27:15 +0100
commit6a7ed8b1db10abd38bdd20c77a8f27427d381156 (patch)
tree5af9adaa371ef74bb52f3a05558049d8779eead6 /meta/recipes-kernel/blktrace/blktrace_git.bb
parentd4eaf42f7708f8d3a31a04d958bd7420dd7dd6b9 (diff)
downloadopenembedded-core-contrib-6a7ed8b1db10abd38bdd20c77a8f27427d381156.tar.gz
blktrace: Security fix CVE-2018-10689
CVE-2018-10689: blktrace (aka Block IO Tracing) 1.2.0, as used with the Linux kernel and Android, has a buffer overflow in the dev_map_read function in btt/devmap.c because the device and devno arrays are too small, as demonstrated by an invalid free when using the btt program with a crafted file. References: https://nvd.nist.gov/vuln/detail/CVE-2018-10689 Patch from: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/blktrace.git/commit/?id=d61ff409cb4dda31386373d706ea0cfb1aaac5b7 Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/blktrace/blktrace_git.bb')
-rw-r--r--meta/recipes-kernel/blktrace/blktrace_git.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-kernel/blktrace/blktrace_git.bb b/meta/recipes-kernel/blktrace/blktrace_git.bb
index 663de2ed53..2605ff9167 100644
--- a/meta/recipes-kernel/blktrace/blktrace_git.bb
+++ b/meta/recipes-kernel/blktrace/blktrace_git.bb
@@ -11,6 +11,7 @@ PV = "1.2.0+git${SRCPV}"
SRC_URI = "git://git.kernel.dk/blktrace.git \
file://ldflags.patch \
+ file://CVE-2018-10689.patch \
"
S = "${WORKDIR}/git"