Skip to contentSkip to conversation

arm/optee-os: add CVE_PRODUCT tag

PATCH In review Ross Burton 2 participants 4 messages Nov 19, 2020 – Nov 24, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 arm/optee-os: add CVE_PRODUCT tag

There are known CVEs for optee-os, so set the CVE_PRODUCT to ensure that they are found.

Change-Id Ibe88c2193a8e33f603386beedc76fe60eac1b3ea
---
 meta-arm/recipes-security/optee/optee-os.inc | 2 ++
 1 file changed, 2 insertions(+)
meta-arm/recipes-security/optee/optee-os.inc +2 -0
index ea6c496..f8697cf 100644
@@ -8,6 +8,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c1f21c4f72f372ef38a5a4aee55ec173"
 inherit deploy python3native
 require optee.inc
 
+CVE_PRODUCT = "linaro:op-tee op-tee:op-tee_os"
+
 DEPENDS = "python3-pycryptodome-native python3-pycryptodomex-native python3-pyelftools-native"
 
 DEPENDS_append_toolchain-clang = " compiler-rt"
Signature · 1 line
2.25.1
#1 lore raw

PATCH 2/2 arm/trusted-firmware-a: add CVE_PRODUCT

trusted-firmware-a has gone by many names in the CVE database, so add them all.

Change-Id I51f64211d10245ffcae010e3a723657ff4114b9c
---
 .../recipes-bsp/trusted-firmware-a/trusted-firmware-a.inc    | 5 +++++
 1 file changed, 5 insertions(+)
meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a.inc +5 -0
index f7439c1..12392e5 100644
@@ -210,3 +210,8 @@ do_deploy() {
     cp -rf ${D}/firmware/* ${DEPLOYDIR}/
 }
 addtask deploy after do_install
+
+CVE_PRODUCT = "arm:arm-trusted-firmware \
+               arm:trusted_firmware-a \
+               arm:arm_trusted_firmware \
+               arm_trusted_firmware_project:arm_trusted_firmware"
Signature · 1 line
2.25.1
#2 lore raw
In reply to Ross Burton
Quoted 5 lines · Ross Burton

There are known CVEs for optee-os, so set the CVE_PRODUCT to ensure that they are found.

Change-Id Ibe88c2193a8e33f603386beedc76fe60eac1b3ea

Pulled in to master.

Should this be applied to dunfell and gatesgarth?

Thanks,
Jon

Quoted 24 lines
---
 meta-arm/recipes-security/optee/optee-os.inc | 2 ++
 1 file changed, 2 insertions(+)
meta-arm/recipes-security/optee/optee-os.inc +2 -0
index ea6c496..f8697cf 100644
@@ -8,6 +8,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c1f21c4f72f372ef38a5a4aee55ec173"
 inherit deploy python3native
 require optee.inc
 
+CVE_PRODUCT = "linaro:op-tee op-tee:op-tee_os"
+
 DEPENDS = "python3-pycryptodome-native python3-pycryptodomex-native python3-pyelftools-native"
 
 DEPENDS_append_toolchain-clang = " compiler-rt"
Signature · 1 line
2.25.1
#3 lore raw
Quoted 1 line · Jon Mason

Should this be applied to dunfell and gatesgarth?

Yes, please.

Ross