CVE-2021-46985

ACPI: scan: Fix a memory leak in an error handling path

State
Published
Severity
Not scored
Published
Feb 28, 2024
Updated
May 23, 2026
Reserved
Feb 27, 2024

Read the record on cve.org

Description

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

ACPI: scan: Fix a memory leak in an error handling path

If 'acpi_device_set_name()' fails, we must free 'acpi_device_bus_id->bus_id' or there is a (potential) memory leak.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • e5cdbe419004e172f642e876a671a9ff1c52f8bb to before 6901a4f795e0e8d65ae779cb37fc22e0bf294712Affected
  • 717d9d88fbd956ab03fad97266f6ce63a036e7f8 to before 5ab9857dde7c3ea3faef6b128d718cf8ba98721bAffected
  • 7385e438e1f31af5b86f72fd19b0dcd2738502c9 to before 69cc821e89ce572884548ac54c4f80eec7a837a5Affected
  • bc0b1a2036dd8072106ec81a8685ecb901f72ed6 to before dafd4c0b5e835db020cff11c74b4af9493a58e72Affected
  • 4a5891992c680d69d7e490e4d0428d17779d8e85 to before e2381174daeae0ca35eddffef02dcc8de8c1ef8aAffected
  • 321dbe6c0b551f9f8030becc6900f77cf9bbb9ad to before c5c8f6ffc942cf42f990f22e35bcf4cbe9d8c2fbAffected
  • eb50aaf960e3bedfef79063411ffd670da94b84b to before a7e17a8d421ae23c920240625b4413c7b94d94a4Affected
  • eb50aaf960e3bedfef79063411ffd670da94b84b to before 0c8bd174f0fc131bc9dfab35cd8784f59045da87Affected
  • 4.9.264 to before 4.9.269Affected
  • 4.14.228 to before 4.14.233Affected
  • 4.19.184 to before 4.19.191Affected
  • 5.4.109 to before 5.4.120Affected
  • 5.10.27 to before 5.10.38Affected
  • 5.11.11 to before 5.11.22Affected
LinuxLinux
  • 5.12Affected
  • before 5.12Not affected
  • 4.9.269 through 4.9.*Not affected
  • 4.14.233 through 4.14.*Not affected
  • 4.19.191 through 4.19.*Not affected
  • 5.4.120 through 5.4.*Not affected
  • 5.10.38 through 5.10.*Not affected
  • 5.11.22 through 5.11.*Not affected
  • 5.12.5 through 5.12.*Not affected
  • 5.13 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.