blob: 31e9fe7a7e2037a9edf0d7236b4ee9338f3beabb [file] [log] [blame]
{
"containers": {
"cna": {
"providerMetadata": {
"orgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038"
},
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: fec: don't save PTP state if PTP is unsupported\n\nSome platforms (such as i.MX25 and i.MX27) do not support PTP, so on\nthese platforms fec_ptp_init() is not called and the related members\nin fep are not initialized. However, fec_ptp_save_state() is called\nunconditionally, which causes the kernel to panic. Therefore, add a\ncondition so that fec_ptp_save_state() is not called if PTP is not\nsupported."
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/net/ethernet/freescale/fec_main.c"
],
"versions": [
{
"version": "dc5fb264168c3aa8842b2db547c2b5c7df346454",
"lessThan": "7745e14f4c036ce94a5eb05d06e49b0d84b306f9",
"status": "affected",
"versionType": "git"
},
{
"version": "5763541f24d8ab2053d80fddb8479a2d0df8fd4f",
"lessThan": "3192e8d4a1ef9fc9bd7a59cdce51543367e5edd6",
"status": "affected",
"versionType": "git"
},
{
"version": "a1477dc87dc4996dcf65a4893d4e2c3a6b593002",
"lessThan": "6be063071a457767ee229db13f019c2ec03bfe44",
"status": "affected",
"versionType": "git"
},
{
"version": "cf53d7e76f1fb751b12ceda6a49942414d2f9ea9",
"status": "affected",
"versionType": "git"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/net/ethernet/freescale/fec_main.c"
],
"versions": [
{
"version": "6.6.55",
"lessThan": "6.6.57",
"status": "affected",
"versionType": "semver"
},
{
"version": "6.11.3",
"lessThan": "6.11.4",
"status": "affected",
"versionType": "semver"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.6.55",
"versionEndExcluding": "6.6.57"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.11.3",
"versionEndExcluding": "6.11.4"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.10.14"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/7745e14f4c036ce94a5eb05d06e49b0d84b306f9"
},
{
"url": "https://git.kernel.org/stable/c/3192e8d4a1ef9fc9bd7a59cdce51543367e5edd6"
},
{
"url": "https://git.kernel.org/stable/c/6be063071a457767ee229db13f019c2ec03bfe44"
}
],
"title": "net: fec: don't save PTP state if PTP is unsupported",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038",
"cveID": "CVE-2024-50097",
"requesterUserId": "gregkh@kernel.org",
"serial": "1",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.0"
}