Linux
efivarfs: fix error propagation in efivar_entry_get()
In the Linux kernel, the following vulnerability has been resolved: efivarfs: fix error propagation in efivar_entry_get() efivar_entry_get() always returns success even if the underlying __efivar_entry_get() fails, masking errors. This may result in uninitialized heap memory being copied to userspace in the efivarfs_file_read() path. Fix it by returning the error from __efivar_entry_get().
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 2d82e6227ea189c0589e7383a36616ac2a2d248c, < 3960f1754664661a970dc9ebbab44ff93a0b4c42
- >= 2d82e6227ea189c0589e7383a36616ac2a2d248c, < 510a16f1c5c1690b33504052bc13fbc2772c23f8
- >= 2d82e6227ea189c0589e7383a36616ac2a2d248c, < 89b8ca709eeeabcc11ebba64806677873a2787a8
- >= 2d82e6227ea189c0589e7383a36616ac2a2d248c, < e4e15a0a4403c96d9898d8398f0640421df9cb16
- >= 2d82e6227ea189c0589e7383a36616ac2a2d248c, < 4b22ec1685ce1fc0d862dcda3225d852fb107995
Fixed in 3960f1754664661a970dc9ebbab44ff93a0b4c42, 510a16f1c5c1690b33504052bc13fbc2772c23f8, 89b8ca709eeeabcc11ebba64806677873a2787a8, e4e15a0a4403c96d9898d8398f0640421df9cb16, 4b22ec1685ce1fc0d862dcda3225d852fb107995
- 6.0
Fixed in 0, 6.1.162, 6.6.123, 6.12.69, 6.18.9, 6.19
Mitigation
Upgrade Linux to 3960f1754664661a970dc9ebbab44ff93a0b4c42 or 510a16f1c5c1690b33504052bc13fbc2772c23f8 or 89b8ca709eeeabcc11ebba64806677873a2787a8 or e4e15a0a4403c96d9898d8398f0640421df9cb16 or 4b22ec1685ce1fc0d862dcda3225d852fb107995 or later.
Upgrade Linux to 0 or 6.1.162 or 6.6.123 or 6.12.69 or 6.18.9 or 6.19 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.