Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-45004— KEYS: trusted: dcp: fix leak of blob encryption key

EPSS 0.02% · P5
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2024-45004

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
KEYS: trusted: dcp: fix leak of blob encryption key
Source: NVD (National Vulnerability Database)
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: KEYS: trusted: dcp: fix leak of blob encryption key Trusted keys unseal the key blob on load, but keep the sealed payload in the blob field so that every subsequent read (export) will simply convert this field to hex and send it to userspace. With DCP-based trusted keys, we decrypt the blob encryption key (BEK) in the Kernel due hardware limitations and then decrypt the blob payload. BEK decryption is done in-place which means that the trusted key blob field is modified and it consequently holds the BEK in plain text. Every subsequent read of that key thus send the plain text BEK instead of the encrypted BEK to userspace. This issue only occurs when importing a trusted DCP-based key and then exporting it again. This should rarely happen as the common use cases are to either create a new trusted key and export it, or import a key blob and then just use it without exporting it again. Fix this by performing BEK decryption and encryption in a dedicated buffer. Further always wipe the plain text BEK buffer to prevent leaking the key via uninitialized memory.
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于KEYS: trusted: dcp组件存在加密密钥泄露漏洞。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
LinuxLinux 2e8a0f40a39cc253002f21c54e1b5b995e5ec510 ~ 9e3b266afcfe4294e84496f50f006f029d3100db -
LinuxLinux 6.10 -

II. Public POCs for CVE-2024-45004

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-45004

登录查看更多情报信息。

Same Patch Batch · Linux · 2024-09-04 · 58 CVEs total

CVE-2024-44989bonding: fix xfrm real_dev null pointer dereference
CVE-2024-45001net: mana: Fix RX buf alloc_size alignment and atomic op panic
CVE-2024-45006xhci: Fix Panther point NULL pointer deref at full-speed re-enumeration
CVE-2024-45003vfs: Don't evict inode under the inode lru traversing context
CVE-2024-45002rtla/osnoise: Prevent NULL dereference in error handling
CVE-2024-45005KVM: s390: fix validity interception issue when gisa is switched off
CVE-2024-44993drm/v3d: Fix out-of-bounds read in `v3d_csd_job_run()`
CVE-2024-44992smb/client: avoid possible NULL dereference in cifs_free_subrequest()
CVE-2024-44990bonding: fix null pointer deref in bond_ipsec_offload_ok
CVE-2024-44991tcp: prevent concurrent execution of tcp_sk_exit_batch
CVE-2024-44994iommu: Restore lost return in iommu_report_device_fault()
CVE-2024-44988net: dsa: mv88e6xxx: Fix out-of-bound access
CVE-2024-44987ipv6: prevent UAF in ip6_send_skb()
CVE-2024-44986ipv6: fix possible UAF in ip6_finish_output2()
CVE-2024-44985ipv6: prevent possible UAF in ip6_xmit()
CVE-2024-44983netfilter: flowtable: validate vlan header
CVE-2024-44984bnxt_en: Fix double DMA unmapping for XDP_REDIRECT
CVE-2024-44982drm/msm/dpu: cleanup FB if dpu_format_populate_layout fails
CVE-2024-44981workqueue: Fix UBSAN 'subtraction overflow' error in shift_and_mask()
CVE-2024-44980drm/xe: Fix opregion leak

Showing top 20 of 58 CVEs. View all on vendor page → →

IV. Related Vulnerabilities

V. Comments for CVE-2024-45004

No comments yet


Leave a comment