Skip to content

Commit

Permalink
polkit: fix overlapping changes in recent CVE patches
Browse files Browse the repository at this point in the history
Source: meta-openembedded
MR: 118244
Type: Integration
Disposition: Merged from meta-openembedded
ChangeID: aa316ee
Description:

Commit 17e931e ("polkit: fix CVE-2021-3560") contains
- upstream commit a04d13affe0fa53ff618e07aa8f57f4c0e3b9b81

Commit 67ec3e0 ("polkit: Fix for CVE-2021-4115") contains both:
- upstream commit a04d13affe0fa53ff618e07aa8f57f4c0e3b9b81 (CVE-2021-3560)
- upstream commit 41cb093f554da8772362654a128a84dd8a5542a7 (CVE-2021-4115)

Thus the fix for CVE-2021-3560 is applied twice, resulting in warnings
during do_patch. Curiously it neither fails nor complains about patch
already applied. Also devtool silently discards the duplicate patch.

Drop the duplicate patch, to resolve following warnings:

WARNING: polkit-0.116-r0 do_patch: Fuzz detected:

Applying patch 0001-GHSL-2021-074-authentication-bypass-vulnerability-in.patch
patching file src/polkit/polkitsystembusname.c
Hunk openembedded#1 succeeded at 438 with fuzz 2 (offset 3 lines).

Applying patch CVE-2021-4115.patch
patching file src/polkit/polkitsystembusname.c
Hunk openembedded#4 succeeded at 439 with fuzz 2.

Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
  • Loading branch information
rfs613 authored and jpuhlman committed Jun 3, 2022
1 parent 9c87dd3 commit 30b3c5a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 33 deletions.

This file was deleted.

1 change: 0 additions & 1 deletion meta-oe/recipes-extended/polkit/polkit_0.116.bb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ SRC_URI = "http://www.freedesktop.org/software/polkit/releases/polkit-${PV}.tar.
file://CVE-2021-3560.patch \
file://CVE-2021-4034.patch \
file://0001-CVE-2021-3560.patch \
file://0001-GHSL-2021-074-authentication-bypass-vulnerability-in.patch \
file://CVE-2021-4115.patch \
"
SRC_URI[md5sum] = "4b37258583393e83069a0e2e89c0162a"
Expand Down

0 comments on commit 30b3c5a

Please sign in to comment.