]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
linux-yocto: extract generic kernel CVE_STATUS
authorRoss Burton <ross.burton@arm.com>
Mon, 7 Aug 2023 14:45:17 +0000 (15:45 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 9 Aug 2023 20:46:37 +0000 (21:46 +0100)
Some of the CVE_STATUS assignments are not specific to the version, so
move them to an unversioned file and include it in the recipes.

For example: some CVEs are disputed, or are specific to other
distributions.

Signed-off-by: Ross Burton <ross.burton@arm.com>
meta/recipes-kernel/linux/cve-exclusion.inc [new file with mode: 0644]
meta/recipes-kernel/linux/linux-yocto_6.1.bb
meta/recipes-kernel/linux/linux-yocto_6.4.bb

diff --git a/meta/recipes-kernel/linux/cve-exclusion.inc b/meta/recipes-kernel/linux/cve-exclusion.inc
new file mode 100644 (file)
index 0000000..42f1c19
--- /dev/null
@@ -0,0 +1,10 @@
+CVE_STATUS[CVE-2018-6559] = "not-applicable-platform: Issue only affects Ubuntu"
+
+CVE_STATUS[CVE-2020-11935] = "not-applicable-config: Issue only affects aufs, which is not in linux-yocto"
+
+# Introduced in version v6.1 7b88bda3761b95856cf97822efe8281c8100067b
+# Patched in kernel since v6.2 4a625ceee8a0ab0273534cb6b432ce6b331db5ee
+# But, the CVE is disputed:
+CVE_STATUS[CVE-2023-23005] = "disputed: There are no realistic cases \
+in which a user can cause the alloc_memory_type error case to be reached. \
+See: https://bugzilla.suse.com/show_bug.cgi?id=1208844#c2"
index cf8728ca15468218d1774d482765c1eed2ac0c30..2f804d379d6e26a7fc6aeebba87294f9fd5b61b2 100644 (file)
@@ -3,6 +3,7 @@ KBRANCH ?= "v6.1/standard/base"
 require recipes-kernel/linux/linux-yocto.inc
 
 # CVE exclusions
+include recipes-kernel/linux/cve-exclusion.inc
 include recipes-kernel/linux/cve-exclusion_6.1.inc
 
 # board specific branches
index 4deb7bc537327e3471308cb3d187551abd238c2b..caa78b016357eead80529076c075af3a4d89d92f 100644 (file)
@@ -3,6 +3,7 @@ KBRANCH ?= "v6.4/standard/base"
 require recipes-kernel/linux/linux-yocto.inc
 
 # CVE exclusions
+include recipes-kernel/linux/cve-exclusion.inc
 include recipes-kernel/linux/cve-exclusion_6.4.inc
 
 # board specific branches