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
BELL (1)
DEBIAN (1)
openSUSE (2)
UBUNTU (1)
Related
Published
2024-11-05T17:04:59Z
Modified
2026-10-20T10:31:15Z
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 fec_ptp_init() is not called and the related members in fep are not initialized. However, fec_ptp_save_state() is called unconditionally, which causes the kernel to panic. Therefore, add a condition so that fec_ptp_save_state() is not called if PTP is not supported.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50097.json"
}
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
6.10.14
Fixed
6.11
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
cf53d7e76f1fb751b12ceda6a49942414d2f9ea9

Affected versions

v6.*
v6.10.14
v6.11.3
v6.6.55
v6.6.56

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.6.55
Fixed
6.6.57
Type
ECOSYSTEM
Events
Introduced
6.11.3
Fixed
6.11.4

Database specific

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