<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/recipes-core, branch hardknott-next</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=hardknott-next</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=hardknott-next'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2021-06-02T22:32:44+00:00</updated>
<entry>
<title>expat: set CVE_PRODUCT</title>
<updated>2021-06-02T22:32:44+00:00</updated>
<author>
<name>Steve Sakoman</name>
<email>steve@sakoman.com</email>
</author>
<published>2021-05-27T15:47:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=c625ab119ee22ccbe24ba8ed4a118c419738ced4'/>
<id>urn:sha1:c625ab119ee22ccbe24ba8ed4a118c419738ced4</id>
<content type='text'>
Upstream database uses both "expat" and "libexpat" to report CVEs

(From OE-Core rev: 30357a56df82d3ea11f7288a8c02dd2d201b498a)

Signed-off-by: Steve Sakoman &lt;steve@sakoman.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>libxml2: Fix CVE-2021-3541</title>
<updated>2021-05-30T07:19:35+00:00</updated>
<author>
<name>Tony Tascioglu</name>
<email>tony.tascioglu@windriver.com</email>
</author>
<published>2021-05-20T21:45:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=bc872bd77923210831de67cfdc50e753bfa9f1e5'/>
<id>urn:sha1:bc872bd77923210831de67cfdc50e753bfa9f1e5</id>
<content type='text'>
Upstream commit:
This is related to parameter entities expansion and following
the line of the billion laugh attack. Somehow in that path the
counting of parameters was missed and the normal algorithm based
on entities "density" was useless.

CVE: CVE-2021-3541
Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libxml2/-/commit/8598060bacada41a0eb09d95c97744ff4e428f8e]

(From OE-Core rev: e1e04de65e24d1596d800d7f8e85f98bb7f72632)

Signed-off-by: Tony Tascioglu &lt;tony.tascioglu@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>libxml2: Fix CVE-2021-3518</title>
<updated>2021-05-30T07:19:35+00:00</updated>
<author>
<name>Tony Tascioglu</name>
<email>tony.tascioglu@windriver.com</email>
</author>
<published>2021-05-20T21:45:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=ad30955575ccfcb07db11e7d42b5500c605aacbc'/>
<id>urn:sha1:ad30955575ccfcb07db11e7d42b5500c605aacbc</id>
<content type='text'>
This patch fixes CVE-2021-3518. The fix for the CVE is the
following 3 lines in 1098c30a:

   -                   (cur-&gt;children-&gt;type != XML_ENTITY_DECL) &amp;&amp;
   -                   (cur-&gt;children-&gt;type != XML_XINCLUDE_START) &amp;&amp;
   -                   (cur-&gt;children-&gt;type != XML_XINCLUDE_END)) {
   +                   ((cur-&gt;type == XML_DOCUMENT_NODE) ||
   +                    (cur-&gt;type == XML_ELEMENT_NODE))) {

This relies on an updated version of xinclude.c from upstream which
also adds several new tests. Those changes are brought in first so
that the CVE patch can be applied cleanly.

The first patch updates xinclude.c and adds the new tests from
upstream, and the second applies the fix for the CVE.

CVE: CVE-2021-3518
Upstream-Status: Backport
[https://gitlab.gnome.org/GNOME/libxml2/-/commit/1098c30a040e72a4654968547f415be4e4c40fe7]

(From OE-Core rev: 6c59d33ee158129d5c0cca3cce65824f9bc4e7e3)

Signed-off-by: Tony Tascioglu &lt;tony.tascioglu@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>libxml2: fix CVE-2021-3537</title>
<updated>2021-05-22T09:03:10+00:00</updated>
<author>
<name>Tony Tascioglu</name>
<email>tony.tascioglu@windriver.com</email>
</author>
<published>2021-05-14T13:14:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=fd33741e279702d8498fce47450cb1ea275e5e6b'/>
<id>urn:sha1:fd33741e279702d8498fce47450cb1ea275e5e6b</id>
<content type='text'>
Parsing specially crafted Mixed Content while parsing XML data may
lead to invalid data structure being created, as errors were not
propagated. This could lead to several NULL Pointer Dereference when
post-validating documents parsed in recovery mode.

CVE: CVE-2021-3537
Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libxml2/-/commit/babe75030c7f64a37826bb3342317134568bef61]

(From OE-Core rev: 6d69f7453f78dcb19f472dcea183e859648c5243)

Signed-off-by: Tony Tascioglu &lt;tony.tascioglu@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>libxml2: fix CVE-2021-3516</title>
<updated>2021-05-22T09:03:10+00:00</updated>
<author>
<name>Tony Tascioglu</name>
<email>tony.tascioglu@windriver.com</email>
</author>
<published>2021-05-14T13:14:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=cb3bc91a03fb6fbf3f849ad449274292270cb403'/>
<id>urn:sha1:cb3bc91a03fb6fbf3f849ad449274292270cb403</id>
<content type='text'>
Fixes use-after-free in xmlEncodeEntitiesInternal() in entities.c

CVE: CVE-2021-3516
Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libxml2/-/commit/1358d157d0bd83be1dfe356a69213df9fac0b539]

(From OE-Core rev: 490cddd7baf1aacb814128b611aabf82fda3e77b)

Signed-off-by: Tony Tascioglu &lt;tony.tascioglu@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>libxml2: fix CVE-2021-3517</title>
<updated>2021-05-22T09:03:10+00:00</updated>
<author>
<name>Tony Tascioglu</name>
<email>tony.tascioglu@windriver.com</email>
</author>
<published>2021-05-14T13:14:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=bbc1b0ebf719ca5352c2a8004d04a15954dea7cc'/>
<id>urn:sha1:bbc1b0ebf719ca5352c2a8004d04a15954dea7cc</id>
<content type='text'>
Fixes heap-based buffer overflow in xmlEncodeEntitiesInternal() in entities.c

CVE: CVE-2021-3517
Upstream-status: Backport [https://gitlab.gnome.org/GNOME/libxml2/-/commit/bf22713507fe1fc3a2c4b525cf0a88c2dc87a3a2]

(From OE-Core rev: 16ad173ba0e8f88b23c62aa8357b8afca36c2161)

Signed-off-by: Tony Tascioglu &lt;tony.tascioglu@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>glibc: Add 8GB VM usage cap for usermode test suite</title>
<updated>2021-05-22T09:03:10+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2021-05-19T11:43:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=ed3924ef841183f79a2a496578aef4189052b824'/>
<id>urn:sha1:ed3924ef841183f79a2a496578aef4189052b824</id>
<content type='text'>
We've noticed that:

MACHINE=qemuarm oe-selftest -r glibc.GlibcSelfTest.test_glibc

ends up with one process growing to about the size of system memory
and triggering the OOM killer. This has been taking out other builds
running on the system on the autobuilders and is one cause of our
intermittent failures.

This was tracked down to:

WORKDIR=XXX/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/glibc-testsuite/2.33-r0
BUILDDIR=$WORKDIR/build-arm-poky-linux-gnueabi QEMU_SYSROOT=$WORKDIR/recipe-sysroot
QEMU_OPTIONS="$WORKDIR/recipe-sysroot-native/usr/bin/qemu-arm -r 3.2.0" \
$WORKDIR/check-test-wrapper user env GCONV_PATH=$BUILDDIR/iconvdata LOCPATH=$BUILDDIR/localedata LC_ALL=C $BUILDDIR/elf/ld-linux-armhf.so.3 \
    --library-path $BUILDDIR:$BUILDDIR/math:$BUILDDIR/elf:$BUILDDIR/dlfcn:$BUILDDIR/nss:$BUILDDIR/nis:$BUILDDIR/rt:$BUILDDIR/resolv:$BUILDDIR/mathvec:$BUILDDIR/support:$BUILDDIR/nptl \
    $BUILDDIR/nptl/tst-pthread-timedlock-lockloop

although other glibc tests appear to use 16GB of memory before failing
anyway. By capping the VM size to 8GB, we see the same number of failures
but no OOM situations. There may be some issue in qemu or the test which
could be improved to avoid this entirely but this provides a necessary
and useful safeguard to other builds and doensn't appear to make the
situation worse.

On a loaded system OOM may not occur as the test timeout may be triggered
first. An experiment with a 5GB limit showed an additional 7 failures.

(From OE-Core rev: 0dfbc94bb61095138c3d3ff026b2981f0061c1ca)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>coreutils: Exclude CVE-2016-2781 from cve-check</title>
<updated>2021-05-22T09:01:03+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2021-05-12T22:41:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=074d7736e8a593afbd05dbbddf5429e41bcd82b7'/>
<id>urn:sha1:074d7736e8a593afbd05dbbddf5429e41bcd82b7</id>
<content type='text'>
http://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=v8.27-101-gf5d7c0842

"Given runcon is not really a sandbox command, the advice is to use
`runcon ... setsid ...` to avoid this particular issue.

(From OE-Core rev: c5d07dcba0762ccc000f8466b710a8ed8b7aa356)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>glibc: Document and whitelist CVE-2019-1010022-25</title>
<updated>2021-05-22T09:01:02+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2021-05-10T10:56:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=2d9ac28cdf29c2ca51d6a3ac1a33ff4c3cf9517e'/>
<id>urn:sha1:2d9ac28cdf29c2ca51d6a3ac1a33ff4c3cf9517e</id>
<content type='text'>
These CVEs are disputed by upstream and there is no plan to fix/address them. No
other distros are carrying patches for them. There is a patch for 1010025
however it isn't merged upstream and probably carries more risk of other bugs
than not having it.

(From OE-Core rev: e764a689844f19230cbf5f9741635f42f677e333)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>build-appliance-image: Update to hardknott head revision</title>
<updated>2021-05-17T08:42:25+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2021-05-17T08:41:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=11e25e2fec2ceb3d1fce19736964b25fd2a54f11'/>
<id>urn:sha1:11e25e2fec2ceb3d1fce19736964b25fd2a54f11</id>
<content type='text'>
(From OE-Core rev: efce6334bf122a64f63d46c1c04e3dbffe298c51)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
