CVE-2024-50097

Source
https://cve.org/CVERecord?id=CVE-2024-50097
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-50097.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-50097
Downstream
Related
Published
2024-11-05T17:04:59.345Z
Modified
2026-04-02T12:21:16.875789Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
net: fec: don't save PTP state if PTP is unsupported
Details

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

net: fec: don't save PTP state if PTP is unsupported

Some platforms (such as i.MX25 and i.MX27) do not support PTP, so on these platforms fecptpinit() is not called and the related members in fep are not initialized. However, fecptpsavestate() is called unconditionally, which causes the kernel to panic. Therefore, add a condition so that fecptpsavestate() is not called if PTP is not supported.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50097.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
dc5fb264168c3aa8842b2db547c2b5c7df346454
Fixed
7745e14f4c036ce94a5eb05d06e49b0d84b306f9
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
5763541f24d8ab2053d80fddb8479a2d0df8fd4f
Fixed
3192e8d4a1ef9fc9bd7a59cdce51543367e5edd6
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a1477dc87dc4996dcf65a4893d4e2c3a6b593002
Fixed
6be063071a457767ee229db13f019c2ec03bfe44
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
cf53d7e76f1fb751b12ceda6a49942414d2f9ea9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-50097.json"