{"id":"CVE-2024-35891","state":"PUBLISHED","title":"net: phy: micrel: Fix potential null pointer dereference","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: phy: micrel: Fix potential null pointer dereference\n\nIn lan8814_get_sig_rx() and lan8814_get_sig_tx() ptp_parse_header() may\nreturn NULL as ptp_header due to abnormal packet type or corrupted packet.\nFix this bug by adding ptp_header check.\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE.","publishedAt":"2024-05-19T08:34:46.998Z","updatedAt":"2026-08-05T11:30:45.568Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ece19502834d84ece2e056db28257ca2aa6e4d48","status":"affected","lessThan":"10608161696c2768f53426642f78a42bcaaa53e8","versionType":"git"},{"version":"ece19502834d84ece2e056db28257ca2aa6e4d48","status":"affected","lessThan":"95c1016a2d92c4c28a9d1b6d09859c00b19c0ea4","versionType":"git"},{"version":"ece19502834d84ece2e056db28257ca2aa6e4d48","status":"affected","lessThan":"49767b0df276f12e3e7184601e09ee7430e252dc","versionType":"git"},{"version":"ece19502834d84ece2e056db28257ca2aa6e4d48","status":"affected","lessThan":"96c155943a703f0655c0c4cab540f67055960e91","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/phy/micrel.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.18","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.18","versionType":"semver"},{"version":"6.1.85","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.26","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.8.5","status":"unaffected","lessThanOrEqual":"6.8.*","versionType":"semver"},{"version":"6.9","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/phy/micrel.c"]}],"references":["https://git.kernel.org/stable/c/10608161696c2768f53426642f78a42bcaaa53e8","https://git.kernel.org/stable/c/95c1016a2d92c4c28a9d1b6d09859c00b19c0ea4","https://git.kernel.org/stable/c/49767b0df276f12e3e7184601e09ee7430e252dc","https://git.kernel.org/stable/c/96c155943a703f0655c0c4cab540f67055960e91"],"weaknesses":[],"ingestedAt":"2026-10-29T20:07:30.303Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/35xxx/CVE-2024-35891.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-35891","state":"PUBLISHED","datePublished":"2024-05-19T08:34:46.998Z","dateUpdated":"2026-08-05T11:30:45.568Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-05-17T13:50:33.113Z"},"containers":{"cna":{"title":"net: phy: micrel: Fix potential null pointer dereference","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: phy: micrel: Fix potential null pointer dereference\n\nIn lan8814_get_sig_rx() and lan8814_get_sig_tx() ptp_parse_header() may\nreturn NULL as ptp_header due to abnormal packet type or corrupted packet.\nFix this bug by adding ptp_header check.\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ece19502834d84ece2e056db28257ca2aa6e4d48","status":"affected","lessThan":"10608161696c2768f53426642f78a42bcaaa53e8","versionType":"git"},{"version":"ece19502834d84ece2e056db28257ca2aa6e4d48","status":"affected","lessThan":"95c1016a2d92c4c28a9d1b6d09859c00b19c0ea4","versionType":"git"},{"version":"ece19502834d84ece2e056db28257ca2aa6e4d48","status":"affected","lessThan":"49767b0df276f12e3e7184601e09ee7430e252dc","versionType":"git"},{"version":"ece19502834d84ece2e056db28257ca2aa6e4d48","status":"affected","lessThan":"96c155943a703f0655c0c4cab540f67055960e91","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/phy/micrel.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.18","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.18","versionType":"semver"},{"version":"6.1.85","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.26","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.8.5","status":"unaffected","lessThanOrEqual":"6.8.*","versionType":"semver"},{"version":"6.9","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/phy/micrel.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/10608161696c2768f53426642f78a42bcaaa53e8"},{"url":"https://git.kernel.org/stable/c/95c1016a2d92c4c28a9d1b6d09859c00b19c0ea4"},{"url":"https://git.kernel.org/stable/c/49767b0df276f12e3e7184601e09ee7430e252dc"},{"url":"https://git.kernel.org/stable/c/96c155943a703f0655c0c4cab540f67055960e91"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:N - The crash is triggered by a received packet in the NAPI softirq path before any IP/UDP demux — a routable, non-fragmented IPv4/IPv6 UDP datagram to port 319 with fewer than 34 payload bytes suffices, so the attacker need not be on the local segment.\nAC:L - A single deterministic, fully attacker-crafted packet triggers it; there is no race, no timing window, and no dependency on memory layout or victim state.\nPR:N - No credentials, no socket, and no local account are needed — the PTP classifier hook runs on every received frame before any port/permission check.\nUI:N - The vulnerable path executes automatically during packet receive processing with no action from any local user.\nS:U - The fault occurs and is contained within the kernel's own security authority; no VM, IOMMU, or sandbox boundary is crossed.\nC:N - The bug is a read of a fixed low address (NULL+30) whose value is only used as a sequence-ID comparison key; no kernel memory contents are disclosed to the attacker.\nI:N - Nothing is written and no adjacent structure is corrupted — the dereference faults before any state is modified.\nA:H - A NULL dereference in NET_RX softirq context produces an oops in interrupt context, panicking the machine, and it can be re-triggered at will with a single unauthenticated packet."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T11:30:45.568Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"6.1.85"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"6.6.26"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"6.8.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"6.9"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-06-17T17:38:45.513318Z","id":"CVE-2024-35891","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-17T17:41:32.553Z"}},{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/10608161696c2768f53426642f78a42bcaaa53e8","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/95c1016a2d92c4c28a9d1b6d09859c00b19c0ea4","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/49767b0df276f12e3e7184601e09ee7430e252dc","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/96c155943a703f0655c0c4cab540f67055960e91","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T03:21:48.811Z"}}]}}}