PT-2024-5401
CVE-2024-36975
·
Published
2024-05-21
·
Updated
2026-10-21
Description by
CVSS 4.0
5.7
MediumMetricsAV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The issue is related to the incorrect handling of the return code of the
asn1 encode sequence() function in the Trusted Platform Module (TPM) subsystem of the Linux kernel. When asn1 encode sequence() fails, using WARN is not the correct solution because it is not an internal function, the location is known which makes the stack trace useless, and it results in a crash if panic on warn is set. The use of WARN is also undocumented and should be avoided unless there is a carefully considered rationale to use it. Instead, pr err should be used to print the return value, which is the only useful piece of information.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Found an issue in the description? Have something to add? Feel free to write us 👾