CVE-2022-48879

efi: fix NULL-deref in init error path

State
Published
Severity
Not scored
Published
Aug 21, 2024
Updated
May 23, 2026
Reserved
Jul 16, 2024

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

efi: fix NULL-deref in init error path

In cases where runtime services are not supported or have been disabled, the runtime services workqueue will never have been allocated.

Do not try to destroy the workqueue unconditionally in the unlikely event that EFI initialisation fails to avoid dereferencing a NULL pointer.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 2ff3c97b47521d6700cc6485c7935908dcd2c27c to before 585a0b2b3ae7903c6abee3087d09c69e955a7794Affected
  • 5167f194da6947e19a3e970485ee3ccb44f7958d to before 5fcf75a8a4c3e7ee9122d143684083c9faf20452Affected
  • 98086df8b70c06234a8f4290c46064e44dafa0ed to before 4ca71bc0e1995d15486cd7b60845602a28399cb5Affected
  • 98086df8b70c06234a8f4290c46064e44dafa0ed to before e2ea55564229e4bea1474af15b111b3a3043b76fAffected
  • 98086df8b70c06234a8f4290c46064e44dafa0ed to before adc96d30f6503d30dc68670c013716f1d9fcc747Affected
  • 98086df8b70c06234a8f4290c46064e44dafa0ed to before 703c13fe3c9af557d312f5895ed6a5fda2711104Affected
  • f591a42b8f9a9d20e01d0462f4f55d2176ac52ecAffected
  • e6584124b9823151ef586d10dedf565ade50cea6Affected
  • 4.19.142 to before 4.19.270Affected
  • 5.4.61 to before 5.4.229Affected
  • 5.7.18 to before 5.8Affected
  • 5.8.4 to before 5.9Affected
LinuxLinux
  • 5.9Affected
  • before 5.9Not affected
  • 4.19.270 through 4.19.*Not affected
  • 5.4.229 through 5.4.*Not affected
  • 5.10.164 through 5.10.*Not affected
  • 5.15.89 through 5.15.*Not affected
  • 6.1.7 through 6.1.*Not affected
  • 6.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.